Postfix : mail for domain.com loops back to myself
Hello,
I have an postfix with 5 IP and only one domain "domain.com" When i try to send an email to user@domain.com, i have this error : Code:
This is the mail system at host domain.com. Code:
command_directory = /usr/sbin Code:
@ IN SOA dns104.ovh.net. tech.ovh.net. (2013051603 86400 3600 3600000 300) Thanks in advance for anyone who has any insight one this. |
Hello,
Do you have any log from file "/var/log/maillog" that could help troubleshoot this problem? Sire Maxus |
sorry, i forgot it :
Code:
May 16 17:17:00 server1 postfix-rotate5/smtp[28332]: 2BF18240152A: to=<user@domain.com>, relay=none, delay=1.1, delays=0.64/0.01/0.42/0, dsn=5.4.6, status=bounced (mail for domain.com loops back to myself) |
Hi,
Thanks, while you were posting the logs I checked and missed the "inet_interfaces" field, did you configure that? how? That line should be like: inet_interfaces=all Good Luck Sire Maxus |
Thank you for your help.
I have added "inet_interfaces=all" in main.cf and restart postfix but i have exactly the same error :( |
Hi,
If "domain.com" is your domain, what do you have when you do this: #dig -t mx domain.com then try again to send an email, but post a longer extract from maillog, one that shows the initial connection and the steps taken after that point. Sire Maxus |
Code:
dig -t mx domain.com Code:
May 16 20:09:09 server1 postfix/smtpd[30089]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled |
Hi,
It seems that the DNS query through dig does not have enough information, I can't check properly because I can't your server. Besides, your dig query asks the server 8.8.8.8 and not any of your DNS server 198.X.X.Y. maybe that's what is causing your problems Compare the output from this commands: #dig -t mx domain.com and #dig -t mx yahoo.com Good Luck, Sire Maxus |
Hi yobogs,
The problem is with your randomizer script. You have to skip your domainname in the script. Best Nitin B. |
nbhadauria, It's not working
|
Can you share the script you are using..
Quote:
|
Yes of course :
Code:
#!/usr/bin/perl -w |
Just another information.
When i delete this line in main.cf i have any error, but ip rotation not working : transport_maps = tcp:[127.0.0.1]:2527 127.0.0.1:2527_time_limit = 3600s |
yes the problem is in the script, edit it here to send mails to local:
if (/^get\s(.+)$/i) { print "200 $array[$random_smtp]\n"; syslog("info","Using: %s Transport Service", $random_smtp); next; } Quote:
|
I'm sorry, I'm not sure I understood what I should do...
|
All times are GMT -5. The time now is 07:09 PM. |