Manvendra Bhangui wrote:
On Thu, 2009-04-23 at 17:41 +0530, Koustubha Kale wrote:
Now we can receive all mail from outside world ok, but any mail delivered to the central server with
maildirsmtp from the branches bounces with "mail is looping" error. This must be because of the
Delivered-To: header present in the message which was inserted by the branch server qmail while
delivering the message to alias for onward delivery to the central server by means of maildirsmtp.
What I would like to know is what changed between 5.4.9 to 5.4.27 to cause this. And how can I get
this working in 5.4.27?
Can you show the full headers from one mail from the Maildir on the
central server.
maildirsmtp removes the Delivered-To header from the mail before sending
it to the destination host by SMTP.
By any chance are there two Delivered-To: headers in your mail?
here it is. I have obfuscated user, domain names & IP's.
----- Original Message ----- From: <mailer-dae...@hub.domain1.com>
To: <sen...@branch1.domain2.com>
Sent: Wednesday, April 22, 2009 10:42 AM
Subject: failure notice
> Hi. This is the qmail-send program at hub.domain1.com.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <rc...@branch2.domain1.com>:
> mail is looping
>
> --- Below this line is a copy of the message.
>
> Return-Path: <sen...@branch1.domain2.com>
> Received: (qmail 25030 invoked by uid 511); 22 Apr 2009 10:42:33 +0530
> Received: from (branch1 ip) by hub.domain1.com (envelope-from <sen...@branch1.domain2.com>, uid
502) with qmail-scanner-1.25-st-qms
> (spamassassin: 3.2.5. perlscan: 1.25-st-qms.
> Clear:RC:0(59.163.33.110):SA:0(3.2/6.2):.
> Processed in 5.374153 secs); 22 Apr 2009 05:12:33 -0000
> X-Spam-Status: No, hits=3.2 required=6.2
> X-Spam-Level: +++
> X-Spam-Report: SA TESTS
> 1.0 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry
> 0.0 HTML_MESSAGE BODY: HTML included in message
> 0.0 T_TVD_FW_GRAPHIC_ID1 BODY: T_TVD_FW_GRAPHIC_ID1
> 0.8 HTML_TITLE_SUBJ_DIFF HTML_TITLE_SUBJ_DIFF
> 1.3 MISSING_SUBJECT Missing Subject: header
> 0.1 RDNS_NONE Delivered to trusted network by a host with no
rDNS
> X-Antivirus-MYDOMAIN-Mail-From: sen...@branch1.domain2.com via hub.domain1.com
> X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(59.163.33.110):SA:0(3.2/6.2):. Processed in
5.374153 secs Process 24978)
> Received: from unknown (HELO branch1.domain2.com) ((branch1 ip))
> by hub.domain1.com with SMTP; 22 Apr 2009 10:42:28 +0530
> Received-SPF: none (hub.domain1.com: domain at branch1.domain2.com does not designate permitted
sender hosts)
> Received: (qmail 13562 invoked by alias); 22 Apr 2009 10:39:01 +0530
> Delivered-To: rc...@branch2.domain1.com
> Received: (qmail 13558 invoked by uid 507); 22 Apr 2009 10:39:01 +0530
> Received: from unknown (HELO DESKTOP-11) (192.168.4.158)
> by branch1.domain2.com with SMTP; 22 Apr 2009 10:39:01 +0530
> Message-ID: <00df01c9c308$5b102830$9e04a...@skyworldair.com>
> From: "sender" <sen...@branch1.domain2.com>
> To: "rcpt1" <rc...@branch2.domain1.com>,
> <rc...@branch2.domain1.com>
> Subject:
> Date: Wed, 22 Apr 2009 10:38:21 +0530
> MIME-Version: 1.0
> Content-Type: multipart/related;
> boundary="----=_NextPart_000_00DB_01C9C336.74B55160";
> type="multipart/alternative"
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2900.2180
> Disposition-Notification-To: "sender" <sen...@branch1.domain2.com>
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_00DB_01C9C336.74B55160
> Content-Type: multipart/alternative;
> boundary="----=_NextPart_001_00DC_01C9C336.74B55160"
>
>
> ------=_NextPart_001_00DC_01C9C336.74B55160
> Content-Type: text/plain;
> charset="Windows-1252"
> Content-Transfer-Encoding: quoted-printable
>
> Nature
<----snip--->
!DSPAM:49f1546132687830311231!