Looping mail going into quarrantine

Report bugs and workarounds
Post Reply
sem
Posts: 14
Joined: 07 Nov 2012 11:26

Looping mail going into quarrantine

Post by sem »

Hi.

Not sure if this is a bug but set up EFA yesterday - other than the initial install configuration, I only configured a test system via the Baruwa interface. I found email being delivered to an SMTP host on the network but all delivered mail was also had a copy in quarantine. So there were loads of duplicates.

sem
User avatar
darky83
Site Admin
Posts: 541
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Looping mail going into quarrantine

Post by darky83 »

Did these messages also really get delivered as duplicates?

I noticed now 2 times during testing that sometimes the Baruwa interface shows all emails multiple times but this only seems to be in the interface. Mails are not send out multiple times.
After a restart from baruwa this was gone.

Maybe you are seeing the same thing? (I still have no clue why it happened on my test systems)
Version eFa 5.x now available!
sem
Posts: 14
Joined: 07 Nov 2012 11:26

Re: Looping mail going into quarrantine

Post by sem »

Hi.

Well, the test system suffered a couple of flaws. I have a zimbra box acting as a mail gateway from an external MTA. This then routes all mail for @mydomain.com to an exchange box. The exchange sends all outbound mail through zimbra. My goal is to replace the zimbra box with EFA.

The test yesterday was to turn off zimbra (during quiet time) and for a test EFA build to assume it's IP. Here's what I did and you'll probably see the problems:

1. Added the outbound MTA to postix config.
2. Added softbounce=yes to postfix config. I did both of these so that EFA behaved just like zimbra (also postfix based) as we've had problems with the receiving Exchange server becoming unavailable - we don't want to loose mail.
3. Changed the IP of the EFA build and switched off Zimbra
4. I had exchange.mydomain.com :25 in the Baruwa config. Problem is (and we all forgot this) the exchange box had non-authenticated port 25 connections disabled. So we recently set up a new Exchange receiver listening on port 26.
5. Changed the port correctly but no mail was delivered to the exchange box. Also removed the softbounce and external MTA in main.cf. Restarted postfix. Did a test (in the Baruwa interface) and it came back that the server was listening and accepting mail. However, the log on EFA showed that mail delivery was failing because connection was being lost during initial HELO with the exchange box. (After reverting back to zimbra, I wondered whether it was because the time showing on EFA was BST rather that GMT - so there was an hour's difference and the exchange box may not have liked this.)
6. CHanged the smtp for mydomain.com to be the zimbra box. Reverted the EFA test back to original IP. Mail was being delivered but showing up mulitple times in the messages list. I forced a release of all mail and went through zimbra's postfix log to make sure each message had been delivered then deleted them from the test EFA system.
Post Reply