Configuring Postfix with Exchange 2003
I have a Nagios box set up on the corporate LAN. I'm trying to get it to send emails to both internal Exchange addresses as well as doing a direct delivery to internet domains.
I have looked at a few logs and it appears that Postfix is not doing proper DNS lookups on the internal servers. It keeps trying to connect to the domain controllers. I have an MX record specified. Any ideas? Thanks. Sam |
Can you please post the postfix logs? That may give us a clue.
|
1 Attachment(s)
Here is an excerpt from the maillog:
Code:
Jul 6 17:16:30 nagios postfix/local[22799]: 6B528A16E5: to=<wynenss@kidsheart.com>, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "wynenss") Near as I can tell, the smtp service is trying to find the user on the local machine and not querying DNS to find the MX record. resolv.conf Code:
[root@nagios ~]# cat /etc/resolv.conf Code:
[root@nagios ~]# cat /etc/hosts |
Hi Indy1979
From your Nagios box, does the "mail.kidsheart.com" is resolved and point to your mail server address? Uncomment the "mydomain = kidsheart.com" line and restart post fix (/etc/init.d/postfix restart) Send a notification. Check your log and tell me how it goes. Best regards, Angel. |
HI ,
i ve checked your main.cf file...... "relayhost = mail.kidsheart.com" This may be creating the issue ... If you use relayhost then your mails will relay through this server ie "mail.kidsheart.com" and not thorough nameserver 10.200.94.27 nameserver 10.200.94.12 Resolution: uncoment this line "#relayhost....." restart postfix generate logs while sending mails. THanx & regds Saiju |
All times are GMT -5. The time now is 07:06 PM. |