Sendmail \ Ubuntu \ Windows Exchange
I have an Ubuntu server set up for wordpress and sendmail.
I also have a Windows Exchange server. On my windows exchange server, i set up a rule to allow incoming mail from a specific IP (Ubuntu machine). Sendmail from the Ubuntu Box sends to gmail and yahoo fine, when i try to use sendmail to send to the exchange server, i see that i am getting a reject because the mail is coming from 127.0.0.1 i need it to come from 192.168.0.16 say. How do i do this? Is there something in the mc file that i need to change? or is it simply a network configuration issue. please help! -------------------------------SOLVED------------------------------------- Okay, so after some more reading here was the solution if anyone else is interested... 1 - clean install of sendmail. 2 - create a text file in /etc/mail called mailertable 3 - in this file add line. Code:
domain.name relay:[ip.address.of.exchange] 4 - save and exit 5 - run Code:
makemap -v hash mailertable < mailertable Code:
FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl 7 - reconfig sendmail by running Code:
/usr/sbin/sendmailconfig Dogdaynoon! |
Hi,
Thank you for sharing your solution and marking the thread as solved. Off the Zero Reply List. Kind regards, Eric |
All times are GMT -5. The time now is 09:52 AM. |