LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-03-2015, 08:24 AM   #1
linom
Member
 
Registered: May 2015
Location: India
Distribution: Debian, CentOS,Redhat, Fedora, Ubuntu
Posts: 91

Rep: Reputation: 13
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?
 
Old 08-03-2015, 09:32 AM   #2
fenice
Member
 
Registered: Apr 2006
Distribution: CentOS openSUSE
Posts: 55

Rep: Reputation: 9
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.

Last edited by fenice; 08-03-2015 at 09:33 AM.
 
Old 08-03-2015, 09:36 AM   #3
linom
Member
 
Registered: May 2015
Location: India
Distribution: Debian, CentOS,Redhat, Fedora, Ubuntu
Posts: 91

Original Poster
Rep: Reputation: 13
Thank you for your reply!

Quote:
Originally Posted by fenice View Post
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 View Post
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.

Last edited by linom; 08-03-2015 at 09:41 AM.
 
Old 08-03-2015, 09:44 AM   #4
fenice
Member
 
Registered: Apr 2006
Distribution: CentOS openSUSE
Posts: 55

Rep: Reputation: 9
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..
 
Old 08-06-2015, 08:16 AM   #5
linom
Member
 
Registered: May 2015
Location: India
Distribution: Debian, CentOS,Redhat, Fedora, Ubuntu
Posts: 91

Original Poster
Rep: Reputation: 13
Thumbs up

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.

Last edited by linom; 08-06-2015 at 08:21 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] nslookup 192.168.143.10 ( server can't find 10.143.168.192.in-addr.arpa.: NXDOMAIN) mferozbaig Linux - Server 2 05-11-2014 06:08 AM
[SOLVED] iptables 192.168.1.x server, can't ping by 192.168.0.x momok Linux - Security 2 06-02-2011 01:32 AM
[root@wlxxb ~]# telnet 192.168.192.12 25 Trying 192.168.192.12... telnet problem cnhawk386 Linux - Networking 1 10-10-2007 02:50 PM
What route to access daisy chained 2d router 192.168.1.1 after 192.168.0.1 (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 01:47 AM
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration