Catchalls not working -- infinite loop >> badmail

Discussions on webmail and the Professional version.
Post Reply
michaely
Posts: 33
Joined: Sun Jul 14, 2002 9:56 pm

Catchalls not working -- infinite loop >> badmail

Post by michaely » Thu Dec 01, 2005 7:17 pm

Hi!

I'm having a weird problem with catchalls and was hoping someone could help me decipher the logs below. It's quite odd.

My scenario is that incoming emails from the dirty web come through a barracuda spam firewall and are then passed to my ME box through a router. I'm running ME Pro 1.7

I do not have catchalls enabled in any domains I'm hosing. Additionally, I have checked off the "Disable all catchalls" in the SMTP > Security settings.

Any email I send to an account that doesn't exist ends up in badmail instead of bouncing back to the sender. I've tried with with serveral domains and they all act the same.

I've tried two different scenarios. First one was sending to the account externally (though gmail). My message log says this:

Code: Select all

2005-12-01 11:49:25 127.0.0.1 SMTP-OU sendtodomain.ca  768 CONN    0 96 
2005-12-01 11:49:25 127.0.0.1 SMTP-OU sendtodomain.ca  768 EHLO  220+PIGEON.mydomain.com+ESMTP+MailEnable+Service,+Version:+0-1.7-+ready+at+12/01/05+11:49:25  28 127 
2005-12-01 11:49:25 127.0.0.1 SMTP-IN  127.0.0.1 472 EHLO EHLO+PIGEON.mydomain.com 250-mydomain.com+[127.0.0.1],+this+server+offers+4+extensions PIGEON 127 28 
2005-12-01 11:49:25 127.0.0.1 SMTP-IN  127.0.0.1 472 MAIL MAIL+FROM:<me@gmail.com>+SIZE=2377 250+Requested+mail+action+okay,+completed PIGEON 43 43 
2005-12-01 11:49:25 127.0.0.1 SMTP-OU sendtodomain.ca  768 MAIL EHLO+PIGEON.mydomain.com 250-mydomain.com+[127.0.0.1],+this+server+offers+4+extensions  43 43 
2005-12-01 11:49:25 127.0.0.1 SMTP-IN  127.0.0.1 472 RCPT RCPT+TO:<blahblah@sendtodomain.ca> 250+Requested+mail+action+okay,+completed PIGEON 43 31 
2005-12-01 11:49:25 127.0.0.1 SMTP-OU sendtodomain.ca  768 RCPT MAIL+FROM:<me@gmail.com>+SIZE=2377 250+Requested+mail+action+okay,+completed  31 43 
2005-12-01 11:49:25 127.0.0.1 SMTP-IN  127.0.0.1 472 DATA DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF> PIGEON 46 6 
2005-12-01 11:49:25 127.0.0.1 SMTP-OU sendtodomain.ca  768 DATA RCPT+TO:<blahblah@sendtodomain.ca> 250+Requested+mail+action+okay,+completed  6 46 
2005-12-01 11:49:25 127.0.0.1 SMTP-IN  127.0.0.1 472 DATA DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF> PIGEON 43 2382 
2005-12-01 11:49:25 127.0.0.1 SMTP-OU sendtodomain.ca  768 DATE DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF>  2388 43 
2005-12-01 11:49:25 127.0.0.1 SMTP-IN  127.0.0.1 472 QUIT QUIT 221+Service+closing+transmission+channel PIGEON 42 6 
2005-12-01 11:49:25 127.0.0.1 SMTP-OU sendtodomain.ca  768 QUIT  250+Requested+mail+action+okay,+completed  6 42 
And the message that ends up in badmail looks like this:

Code: Select all

Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:56 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:52 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:47 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:43 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:39 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:34 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:29 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:25 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:20 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:15 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:10 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:50:04 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:58 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:53 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:48 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:43 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:39 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:35 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:30 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:25 -0700
Received: from porky.mydomain.com ([xxx.yyy.109.79]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:49:20 -0700
.. message text follows ...
Meanwhile, if I try to send from an account on the same server, I get 20 copies of this in the mail log:

Code: Select all

2005-12-01 11:57:32 127.0.0.1 SMTP-OU mydomain.com  1076 CONN    0 96 
2005-12-01 11:57:32 127.0.0.1 SMTP-OU mydomain.com  1076 EHLO  220+PIGEON.mydomain.com+ESMTP+MailEnable+Service,+Version:+0-1.7-+ready+at+12/01/05+11:57:32  28 127 
2005-12-01 11:57:32 127.0.0.1 SMTP-IN  127.0.0.1 1032 EHLO EHLO+PIGEON.mydomain.com 250-mydomain.com+[127.0.0.1],+this+server+offers+4+extensions PIGEON 127 28 
2005-12-01 11:57:32 127.0.0.1 SMTP-OU mydomain.com  1076 MAIL EHLO+PIGEON.mydomain.com 250-mydomain.com+[127.0.0.1],+this+server+offers+4+extensions  42 43 
2005-12-01 11:57:32 127.0.0.1 SMTP-IN  127.0.0.1 1032 MAIL MAIL+FROM:<info@mydomain.com>+SIZE=518 250+Requested+mail+action+okay,+completed PIGEON 43 42 
2005-12-01 11:57:32 127.0.0.1 SMTP-OU mydomain.com  1076 RCPT MAIL+FROM:<info@mydomain.com>+SIZE=518 250+Requested+mail+action+okay,+completed  31 43 
2005-12-01 11:57:32 127.0.0.1 SMTP-IN  127.0.0.1 1032 RCPT RCPT+TO:<blahblah@sendtodomain.ca> 250+Requested+mail+action+okay,+completed PIGEON 43 31 
2005-12-01 11:57:32 127.0.0.1 SMTP-OU mydomain.com  1076 DATA RCPT+TO:<blahblah@sendtodomain.ca> 250+Requested+mail+action+okay,+completed  6 46 
2005-12-01 11:57:32 127.0.0.1 SMTP-IN  127.0.0.1 1032 DATA DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF> PIGEON 46 6 
2005-12-01 11:57:32 127.0.0.1 SMTP-OU mydomain.com  1076 DATE DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF>  529 43 
2005-12-01 11:57:32 127.0.0.1 SMTP-IN  127.0.0.1 1032 DATA DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF> PIGEON 43 523 
2005-12-01 11:57:32 127.0.0.1 SMTP-OU mydomain.com  1076 QUIT  250+Requested+mail+action+okay,+completed  6 42 
2005-12-01 11:57:32 127.0.0.1 SMTP-IN  127.0.0.1 1032 QUIT QUIT 221+Service+closing+transmission+channel PIGEON 42 6 
2005-12-01 11:57:33 127.0.0.1 SMTP-OU sendtodomain.ca  932 CONN    0 96 
and this is the message I get in bad mail:

Code: Select all

Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:55 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:54 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:52 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:51 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:50 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:48 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:46 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:45 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:44 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:42 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:41 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:40 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:39 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:38 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:37 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:36 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:35 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:34 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:33 -0700
Received: from PIGEON.mydomain.com ([127.0.0.1]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:32 -0700
Received: from [192.168.1.104] ([192.168.1.104]) by mydomain.com with MailEnable ESMTP; Thu, 01 Dec 2005 11:57:30 -0700
Message-ID: <438F4767.6050405@mydomain.com>
Date: Thu, 01 Dec 2005 11:56:39 -0700
From: <info@mydomain.com>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  blahblah@sendtodomain.ca
Subject: Test 4
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


Error (MTA-1010): Message (4860ED6D3DA449B9A014D466C434ACDC.MAI) from (SMTP) could not be delivered as an infinite message loop was detected.

See www.mailenable.com/kb for more information.

Test4

In neither case do I get a message stating that the recipient is not at this address. Does anyone have any suggestions?

I'd appreciate any help that someone can offer.

Michael

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Fri Dec 02, 2005 5:28 am

Hi,
It looks as though an address map exists for the mailbox you are sending to as if the mailbox did not exist then the SMTP would not accept the message. You should check this in the address-map.tab file found in the MailEnable\Config directory.

The looping looks like there is a smarthost on the domain as the message comes in and then immediately goes back out, could this be the case?

If the above does not help you then please post the MTA log extract for the times of the message delivery/loop below.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

michaely
Posts: 33
Joined: Sun Jul 14, 2002 9:56 pm

Post by michaely » Fri Dec 02, 2005 7:31 am

The only thing in the address-map.tab file for the domain are the addresses in there that should be there for the domain. Besides, I know I didn't create a blahblah@ account at any time.

I don't have smarthost enabled in my smtp settings. There is an ip in there of 127.0.0.1, but it's disabled since the "enabled" checkbox is not selected.

Code: Select all

12/01/05 11:49:21	[D4CFF7D2D42E451EBB027E61D7F8E238.MAI] from (SMTP) [SMTP:blahblah@sendtodomain.ca]->[SMTP:blahblah@sendtodomain.ca] System Default Route Applied.
12/01/05 11:49:26	[7582C93240A842449C0BE1D7B296BF43.MAI] from (SMTP) [SMTP:blahblah@sendtodomain.ca]->[SMTP:blahblah@sendtodomain.ca] System Default Route Applied.
Nothing in the debug log for blahblah.

The only "non-standard" thing I've done to my setup is apply the "Ignore Local Addresses" fix as per my thread http://forum.mailenable.com/viewtopic.php?t=8324

Michael

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg » Fri Dec 02, 2005 8:33 am

In the smart host part, enable it and remove the loopback IP.. then disable it again.

michaely
Posts: 33
Joined: Sun Jul 14, 2002 9:56 pm

Post by michaely » Fri Dec 02, 2005 4:20 pm

In the smart host part, enable it and remove the loopback IP.. then disable it again.
Thanks for the suggestion -- I tried this and I get the same behaviour as described earlier.

bozak
Posts: 50
Joined: Fri Jun 20, 2003 9:36 pm

you got plesk

Post by bozak » Fri Dec 02, 2005 6:04 pm

if you have plesk/dr. web then your problem is with Dr. Web.
I just had a similar problem which was caused by this.

michaely
Posts: 33
Joined: Sun Jul 14, 2002 9:56 pm

Post by michaely » Fri Dec 02, 2005 6:17 pm

Nope... the only thing running on this box is ME and F-Prot (not the real-time monitor). It's a Windows 2000 Server.

Thanks for the suggestion, though! :)

MailEnable
Site Admin
Posts: 4441
Joined: Tue Jun 25, 2002 3:03 am
Location: Melbourne, Victoria Australia

Post by MailEnable » Sat Dec 03, 2005 1:13 am

The problem is caused by a combination of not running catch-alls and the custom setting you are using.
The only "non-standard" thing I've done to my setup is apply the "Ignore Local Addresses" fix as per my thread http://forum.mailenable.com/viewtopic.php?t=8324
A side effect of that setting will mean that MailEnable's SMTP connector will not check whether the target address is a valid/defined address on your system. (it assumes that since all connections must be authenticated, that the target address is correct/valid).

Your only solution is to create catch-alls for your if you choose to use that setting. Short of that, you could raise it as a suggestion support ticket.. since thats probably the easiest way to initiate a change to have the product look up the address map with this setting enabled.
Regards, Andrew

michaely
Posts: 33
Joined: Sun Jul 14, 2002 9:56 pm

Post by michaely » Sat Dec 03, 2005 5:23 pm

Andrew:

I've submitted a suggestion ticket which states either to check for valid recipients when the "Ignore Local Addresses" feature is enabled OR to implement an IP filter on incoming SMTP connections so that I can disable the "Ignore Local Addresses" feature.

Thanks to all for looking into this!

Michael

Post Reply