Hi, I know I've brought this up before (see http://www.mail-archive.com/dovecot at dovecot.org/msg20974.html), and I've since upgraded to 1.2.6, but our vacation messages are still being rejected because of Bad_MIME. We are using Dovecot Sieve 0.1.12, the auto reply message contains ^M characters at the end of a few lines, they are only visable through vi, example: Received: from mail.domain.com (HELO alejandro.domain.com) (123.123.123.123) by mail.domain.com.au with SMTP; 7 Oct 2009 17:48:13 -0600 Received: (qmail 3531 invoked from network); 8 Oct 2009 10:48:18 +1100 Received: from unknown (HELO mail.domain.com.au) (192.168.200.10) by alejandro.domain.com with SMTP; 8 Oct 2009 10:48:18 +1100 Received: (qmail 16185 invoked by uid 1007); 8 Oct 2009 10:48:17 +1100 X-Sieve: Dovecot Sieve 0.1.12^M Message-ID: <dovecot-sieve-1254959297-930199-0 at max>^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: <clair at max.team.domain.com> To: <admin at domain.com.au> Subject: Out of office reply^M Auto-Submitted: auto-replied (vacation)^M Precedence: bulk^M MIME-Version: 1.0^M Content-Type: text/plain; charset=utf-8^M Content-Transfer-Encoding: 8bit^M Is there someway to fix this? Pretty much every mail server is rejecting the vacation email's. -- Best Regards, Stephen
Anyone?? Timo are you there? :) On Thu, Oct 8, 2009 at 10:57 AM, Stephen Vaughan <stephenvaughan at gmail.com>wrote:> Hi, > > I know I've brought this up before (see > http://www.mail-archive.com/dovecot at dovecot.org/msg20974.html), and I've > since upgraded to 1.2.6, but our vacation messages are still being rejected > because of Bad_MIME. > > We are using Dovecot Sieve 0.1.12, the auto reply message contains ^M > characters at the end of a few lines, they are only visable through vi, > example: > > Received: from mail.domain.com (HELO alejandro.domain.com) > (123.123.123.123) > by mail.domain.com.au with SMTP; 7 Oct 2009 17:48:13 -0600 > Received: (qmail 3531 invoked from network); 8 Oct 2009 10:48:18 +1100 > Received: from unknown (HELO mail.domain.com.au) (192.168.200.10) > by alejandro.domain.com with SMTP; 8 Oct 2009 10:48:18 +1100 > Received: (qmail 16185 invoked by uid 1007); 8 Oct 2009 10:48:17 +1100 > X-Sieve: Dovecot Sieve 0.1.12^M > Message-ID: <dovecot-sieve-1254959297-930199-0 at max>^M > Date: Thu, 08 Oct 2009 10:48:17 +1100^M > From: <clair at max.team.domain.com> > To: <admin at domain.com.au> > Subject: Out of office reply^M > Auto-Submitted: auto-replied (vacation)^M > Precedence: bulk^M > MIME-Version: 1.0^M > Content-Type: text/plain; charset=utf-8^M > Content-Transfer-Encoding: 8bit^M > > Is there someway to fix this? Pretty much every mail server is rejecting > the vacation email's. > > -- > Best Regards, > Stephen >-- Best Regards, Stephen Sent from Sydney, Nsw, Australia
On 10/08/2009 01:57 AM Stephen Vaughan wrote:> Hi, > > I know I've brought this up before (see > http://www.mail-archive.com/dovecot at dovecot.org/msg20974.html), and I've > since upgraded to 1.2.6, but our vacation messages are still being rejected > because of Bad_MIME. > > We are using Dovecot Sieve 0.1.12, the auto reply message contains ^M > characters at the end of a few lines, they are only visable through vi, > example: > > Received: from mail.domain.com (HELO alejandro.domain.com) (123.123.123.123) > by mail.domain.com.au with SMTP; 7 Oct 2009 17:48:13 -0600 > Received: (qmail 3531 invoked from network); 8 Oct 2009 10:48:18 +1100 > Received: from unknown (HELO mail.domain.com.au) (192.168.200.10) > by alejandro.domain.com with SMTP; 8 Oct 2009 10:48:18 +1100 > Received: (qmail 16185 invoked by uid 1007); 8 Oct 2009 10:48:17 +1100 > X-Sieve: Dovecot Sieve 0.1.12^M > Message-ID: <dovecot-sieve-1254959297-930199-0 at max>^M > Date: Thu, 08 Oct 2009 10:48:17 +1100^M > From: <clair at max.team.domain.com> > To: <admin at domain.com.au> > Subject: Out of office reply^M > Auto-Submitted: auto-replied (vacation)^M > Precedence: bulk^M > MIME-Version: 1.0^M > Content-Type: text/plain; charset=utf-8^M > Content-Transfer-Encoding: 8bit^M > > Is there someway to fix this? Pretty much every mail server is rejecting the > vacation email's.Hi, sounds interesting, but I can't reproduce it. When you send an email to: dovecot_test + vacation-test @ localdomain . org you will get an auto reply, without CRLFs in the mail header. Maybe qmail is converting the LFs to CRLFs in the mail header. Regards, Pascal -- The trapper recommends today: c01dcofe.0928213 at localdomain.org
On 10/7/2009, Stephen Vaughan (stephenvaughan at gmail.com) wrote:> We are using Dovecot Sieve 0.1.12, the auto reply message contains ^M > characters at the end of a few lines, they are only visable through vi, > example:So, the solution is to find out what is breaking the headers (adding the ^M characters). You keep assuming it is a dovecot problem, but I don't think it is. You've never posted your vacation or sieve scripts or dovecot -n output (that I can see), so that would be a good place to start. My best guess is its either a bad sieve script or something weird qmail is doing. -- Best regards, Charles