Problem sending mail to 2nd SMTP server inside network
I've setup Postfix under Fedora Core 4 using ISPConfig and the "Perfect setup Guide" from this website.
This box is connected directly to the Internet on IP address 184.108.40.206. The mx server information is mail.knifecenter.com at 220.127.116.11.
On my internal network, there is a LISTSERV server. It has an internal IP address of 10.10.1.131. It has an MX record of store.knifecenter.com at 18.104.22.168 (This IP address of 22.214.171.124 is routed to the 10.10.1.131 using NAT routing).
When an e-mail goes to firstname.lastname@example.org, it is routed perfectly. The listserv works flawlessly, both receiving and sending messages.
However, when a message is sent to email@example.com from WITHIN our network, the following error message occurs:
Feb 28 12:10:18 mail postfix/smtpd: connect from unknown[10.1.10.19]
Feb 28 12:10:18 mail postfix/smtpd: D2B963578A3: client=unknown[10.1.10.19]
Feb 28 12:10:18 mail postfix/cleanup: D2B963578A3: message-id=<C029EE25.1625Cfirstname.lastname@example.org>
Feb 28 12:10:18 mail postfix/qmgr: D2B963578A3: from=<email@example.com>, size=541, nrcpt=1 (queue active)
Feb 28 12:10:18 mail postfix/smtp: connect to store.knifecenter.com[126.96.36.199]: Connection refused (port 25)
Feb 28 12:10:18 mail postfix/smtp: D2B963578A3: to=<firstname.lastname@example.org>, relay=none, delay=0, status=deferred (connect to store.knifecenter.com[188.8.131.52]: Connection refused)
Feb 28 12:10:18 mail postfix/smtpd: disconnect from unknown[10.1.10.19]
Is there a setting/conf file that I need to change so that the messages from WITHIN our network are routed properly and not refused by the LISTSERV?
I'm pretty sure it has something to do with how Postfix sends the message to the LISTSERV, but I can't seem to find out how to do this properly.
Is it maybe a problem with your router not allowing loopbacks into your network?
Or maybe a firewall setting?
I found the solution! It's a simple one, but I guess noone knew exactly what I was talking about.
Basically, I needed to NIC cards: one to communicated directly within the network and a second one to connect directly to the internet. With this solution, I still maintain connectivity with the internal network (file sharing, etc.) and also avoid the problem of not being able to send internet mail from within the network.
|All times are GMT +2. The time now is 19:58.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.