LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   zimbra mailserver - mail for 192.168.0.1 loops back to myself (https://www.linuxquestions.org/questions/linux-server-73/zimbra-mailserver-mail-for-192-168-0-1-loops-back-to-myself-4175549711/)

linom 08-03-2015 08:24 AM

zimbra mailserver - mail for 192.168.0.1 loops back to myself
 
A Zimbra mailserver is installed on a system with IP address local ip address 192.168.0.1 and its SMTP port is 26. Another, System Postfix is running on the same ip address but using port 25 for SMTP. I have set the "Relay MTA for external Delivery" in the Zimbra Admin Web Console the IP address as 192.168.0.1 and port 25. On doing so, Zimbra logs

Quote:

to=<foo@external-domain.com>, relay=none, delay=550, delays=550/0.04/0/0, dsn=4.3.5, status=deferred (mail for 192.168.0.1 loops back to myself)
Is there a way, relaying wherein we can relay to the same ip but on different port?

fenice 08-03-2015 09:32 AM

What is the point of having two MTAs on the same server? You're making your life more complicated than it needs to be, Zimbra will deliver the mail directly, why aren't you doing that? BTW, the reason you're having a problem is most likely the fact you have a DNS A & MX record pointing back to your LAN IP address. ;)

linom 08-03-2015 09:36 AM

Thank you for your reply!

Quote:

Originally Posted by fenice (Post 5400186)
What is the point of having two MTAs on the same server? You're making your life more complicated than it needs to be, Zimbra will deliver the mail directly, why aren't you doing that?

There are some third party modules I would be using, like AV scanning and other security modules, before the mails being delivered to Zimbra. Basically, these modules would be at the Gateway level port i.e. the default SMTP port 25 for accepting email.


Quote:

Originally Posted by fenice (Post 5400186)
BTW, the reason you're having a problem is most likely the fact you have a DNS A & MX record pointing back to your LAN IP address. ;)

That's correct. Tried to change the "inet_interface" to a specific ip address, but that caused problems in zimbra's other service.

fenice 08-03-2015 09:44 AM

Zimbra already has good a/v scanning, I've never seen any problems with it in the 10 years I've used it. In any case, if you want to run a gateway server for your mail the I'd suggest you use an additional server such as Email Filter Applianceor one of the many (free) gateway appliances and run it on a completely different server and obviously with a different IP..

linom 08-06-2015 08:16 AM

Please do bear with me for the delay in my reply, cuz was buzy with some other assignement.
I would Thank all our Members for their replies and valuable suggestions.

Basically, nothing to worry as mine is a Test environment. Its better not to touch ..:) agreeing to one of our member who emailed me.


All times are GMT -5. The time now is 05:54 AM.