Hello Folks,
I have what I believe is a basic problem. I'm sure the problem is related to my incorrect understanding of the terms used by the postfix main.cf file.
I have two mail servers. 192.168.1.110 (msrecycle.com) and 192.168.1.111 (sportbikebody.com). Now what I am trying to do is have any mail for sportbikebody.com forwarded from 192.168.1.110 (msrecycle.com which is server that gets all pop3 smtp imap etc traffic from the router) to 192.168.1.111. I would love to simply forward the ports to two IPs but cannot do that with my router.
FYI HTTP is working correctly and accesses the correct server for each domain.
I know I am close because I see the log on the .111 address receiving the mail but it appears to try any resolve the sportbikebody DNS and does so which gives it the external address and therefore I get a too many hops message. I hope this is clear. Let me know what you guys want to see.
Here is tail of the log from .111 (sportbikebody.com)
Jun 7 09:45:29 www postfix/smtpd[2766]: connect from unknown[192.168.1.110]
Jun 7 09:45:29 www postfix/smtpd[2766]: 176DB5B3F: client=unknown[192.168.1.110]
Jun 7 09:45:29 www postfix/cleanup[2770]: 176DB5B3F: message-id=<033501ce6385$3b811ac0$b2835040$@com>
Jun 7 09:45:29 www postfix/qmgr[1787]: 176DB5B3F: from=<chris@msrecycle.com>, size=28211, nrcpt=1 (queue active)
Jun 7 09:45:29 www postfix/smtpd[2766]: disconnect from unknown[192.168.1.110]
Jun 7 09:45:29 www postfix/smtp[2771]: 176DB5B3F: to=<chris@sportbikebody.com>, relay=sportbikebody.com[207.172.196.140]:25, delay=0.13, delays=0.04/0/0.07/0.02, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32BF16C014B)
Jun 7 09:45:29 www postfix/qmgr[1787]: 176DB5B3F: removed
Jun 7 09:45:29 www postfix/smtpd[2766]: connect from unknown[192.168.1.110]
Jun 7 09:45:29 www postfix/smtpd[2766]: 38E615B3F: client=unknown[192.168.1.110]
Jun 7 09:45:29 www postfix/smtpd[2766]: disconnect from unknown[192.168.1.110]
Here is the error message
<
chris@sportbikebody.com>: host 192.168.1.111[192.168.1.111] said: 554 5.4.0
Error: too many hops (in reply to end of DATA command)
I am actually a body guy - I am the painter for both these domains so if you own a sportbike (or just a plain old motorcycle) and you can help me work out a few issues I am having I'll be happy to remember it when / if you need repairs.