[SOLVED] I need help from a postfix guru

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Mike Scholes
Outstanding Member
Outstanding Member
Posts: 201
Joined: Fri Sep 12, 2014 11:14 pm

[SOLVED] I need help from a postfix guru

Postby Mike Scholes » Mon Jan 07, 2008 5:25 pm

I've already posted this question but have not received an answer so sorry for posting again, we are desperate.
We really need to have exim and postfix running on the same machine. We have configured postfix/zimbra mta to run on port 26, exim on port 25. Exim receives on port 25 and sends mail out to port 26 where postfix picks it up and delivers it successfully to the zimbra store. Zimbra sends mail to other zimbra users fine. But when we try to send mail from zimbra to an external domain we get "mail loops back to myself" error. Our outgoing mail server settings in zimbra can be either 127.0.0.1:25, 10.0.0.1:25 (the servers main IP address) or any IP alias we create but postfix always refuses to deliver even though we are delivering to another port (25).
Is there anyway we can configure postfix to send mail back to our own machine and stop the looping error message?
Many thanks.


bdial
Elite member
Elite member
Posts: 1633
Joined: Fri Sep 12, 2014 10:39 pm

[SOLVED] I need help from a postfix guru

Postby bdial » Mon Jan 07, 2008 7:04 pm

would it be feasible to have 2 ips on the machine, run postfix on one and exim on the other. that would solve your problem i imagine with hte mx record only pointing toward the exim ip
Mike Scholes
Outstanding Member
Outstanding Member
Posts: 201
Joined: Fri Sep 12, 2014 11:14 pm

[SOLVED] I need help from a postfix guru

Postby Mike Scholes » Tue Jan 08, 2008 3:52 pm

I thought I had done that, the machine has two "real" interfaces 127.0.0.1 and 10.0.0.1. I added an IP alias 10.0.0.3. My master.cf file has;
10.0.0.1:26 inet n - n - - smtpd

127.0.0.1:26 inet n - n - - smtpd
at the top. When I nmap 127.0.0.1 port 26 shows as open, the same with 10.0.0.1. With 10.0.0.3 port 26 is not shown so postfix is only listening on the two main interfaces. Postfix knows however that 10.0.0.3 belongs to this machine even though it is not listening on that interface. It's this behaviour that I want to stop. I don't know postfix well enough to know if I can force it to ignore 10.0.0.3. it should be able to do so, it's not common but I don't think it's unreasonable to want to send mail back to the same machine. exim has "self = send" to allow this to happen and it's how I get exim to send to postfix on the same machine but on port 26. The exim people have thought of this so surely the postfix people have. I am at a loss on this one.
Mike Scholes
Outstanding Member
Outstanding Member
Posts: 201
Joined: Fri Sep 12, 2014 11:14 pm

[SOLVED] I need help from a postfix guru

Postby Mike Scholes » Thu Jan 10, 2008 5:26 am


Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 22 guests