[Dovecot] Bad_MIME on vacation messages
Hi,
I know I've brought this up before (see http://www.mail-archive.com/dovecot@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@max^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: clair@max.team.domain.com To: admin@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@gmail.comwrote:
Hi,
I know I've brought this up before (see http://www.mail-archive.com/dovecot@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@max^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: clair@max.team.domain.com To: admin@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
Patience! I'm lagged.
On Oct 8, 2009, at 10:19 PM, Stephen Vaughan wrote:
Anyone??
Timo are you there? :)
On Thu, Oct 8, 2009 at 10:57 AM, Stephen Vaughan stephenvaughan@gmail.comwrote:
Hi,
I know I've brought this up before (see http://www.mail-archive.com/dovecot@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@max^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: clair@max.team.domain.com To: admin@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^MIs 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@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@max^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: clair@max.team.domain.com To: admin@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@localdomain.org
Yep, if I sent an email locally to the account, the vacation doesn't contain CRLF's, it's only when the emails are sent externally that they have them. I have a message sitting in the qmail queue which is destined for an external email address, and it has CRLF's.
On Fri, Oct 9, 2009 at 11:14 PM, Pascal Volk < user+dovecot@localhost.localdomain.orguser%2Bdovecot@localhost.localdomain.org
wrote:
Hi,
I know I've brought this up before (see http://www.mail-archive.com/dovecot@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@max^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: clair@max.team.domain.com To: admin@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
On 10/08/2009 01:57 AM Stephen Vaughan wrote: 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@localdomain.org
-- Best Regards, Stephen Sent from Sydney, Nsw, Australia
Hi Stephen,
More of a reason to abandon qmail, also if your not aware, a number of qmail server are deferring mail lately because of the size header limit, with more and more sites singing their zones, it's becoming more apparent, it's not DNSSEC's fault either, qmail has long done this with other DNS requests, for more enlightenment, see https://lists.dns-oarc.net/mailman/listinfo/dns-operations, the thread is "DNSSEC and qmail" (the last active thread)
I think it's time you learnt postfix :)
Cheers
On Mon, 2009-10-12 at 13:18 +1100, Stephen Vaughan wrote:
Yep, if I sent an email locally to the account, the vacation doesn't contain CRLF's, it's only when the emails are sent externally that they have them. I have a message sitting in the qmail queue which is destined for an external email address, and it has CRLF's.
On Fri, Oct 9, 2009 at 11:14 PM, Pascal Volk < user+dovecot@localhost.localdomain.orguser%2Bdovecot@localhost.localdomain.org
wrote:
Hi,
I know I've brought this up before (see http://www.mail-archive.com/dovecot@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@max^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: clair@max.team.domain.com To: admin@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
On 10/08/2009 01:57 AM Stephen Vaughan wrote: 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@localdomain.org
-- Kind Regards, Noel Butler L.C.P #251002 (http://counter.li.org)
This Email, including any attachments, may contain legally privileged information, therefor remains strictly confidential and is protected under Australian Laws and international treaties. You may not disseminate or reveal any part to anyone without the authors express written authority to do so. If you are not the intended recipient, please notify the sender and delete all relevance of this message including attachments immediately. Confidentiality and legal privilege are not waived or lost by reason of the mistaken delivery of this message. Only PDF or ODF documents are accepted, do not send Microsoft proprietary formatted documents - see http://www.gnu.org/philosophy/no-word-attachments.html
Interesting topic.. I'm sure there will be a patch for it some time down the track, I'm loyal to qmail, but in this instance (for the sake of ease), I'd rather install postfix.
On Mon, Oct 12, 2009 at 2:07 PM, Noel Butler noel.butler@ausics.net wrote:
Hi Stephen,
More of a reason to abandon qmail, also if your not aware, a number of qmail server are deferring mail lately because of the size header limit, with more and more sites singing their zones, it's becoming more apparent, it's not DNSSEC's fault either, qmail has long done this with other DNS requests, for more enlightenment, see https://lists.dns-oarc.net/mailman/listinfo/dns-operations, the thread is "DNSSEC and qmail" (the last active thread)
I think it's time you learnt postfix :)
Cheers
On Mon, 2009-10-12 at 13:18 +1100, Stephen Vaughan wrote:
Yep, if I sent an email locally to the account, the vacation doesn't contain CRLF's, it's only when the emails are sent externally that they have them. I have a message sitting in the qmail queue which is destined for an external email address, and it has CRLF's.
On Fri, Oct 9, 2009 at 11:14 PM, Pascal Volk < user+dovecot@localhost.localdomain.orguser%2Bdovecot@localhost.localdomain.org
wrote:
Hi,
I know I've brought this up before (see http://www.mail-archive.com/dovecot@dovecot.org/msg20974.html) http://www.mail-archive.com/dovecot@dovecot.org/msg20974.html%29, 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@max^M Date: Thu, 08 Oct 2009 10:48:17 +1100^M From: clair@max.team.domain.com To: admin@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
On 10/08/2009 01:57 AM Stephen Vaughan wrote: 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@localdomain.org
-- *Kind Regards,* *Noel Butler* *L.C.P #251002 (http://counter.li.org**)*
*This Email, including any attachments, may contain legally privileged information, therefor remains strictly confidential and is protected under Australian Laws and international treaties. You may not disseminate or reveal any part to anyone without the authors express written authority to do so. If you are not the intended recipient, please notify the sender and delete all relevance of this message including attachments immediately. Confidentiality and legal privilege are not waived or lost by reason of the mistaken delivery of this message. Only PDF or ODF documents are accepted, do not send Microsoft proprietary formatted documents - see http://www.gnu.org/philosophy/no-word-attachments.html *
-- Best Regards, Stephen
On 10/7/2009, Stephen Vaughan (stephenvaughan@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
My .dovecot.sieve is just one that I've coped straight off the dovecot wiki, it has to be qmail doing some weird things. I'm tempted to just install postfix and see if that will fix it.
On Sat, Oct 10, 2009 at 1:30 AM, Charles Marcus CMarcus@media-brokers.comwrote:
On 10/7/2009, Stephen Vaughan (stephenvaughan@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
-- Best Regards, Stephen Sent from Sydney, Nsw, Australia
Installed postfix and problem solved.. so something screwy with the qmail install
On Mon, Oct 12, 2009 at 1:19 PM, Stephen Vaughan stephenvaughan@gmail.comwrote:
My .dovecot.sieve is just one that I've coped straight off the dovecot wiki, it has to be qmail doing some weird things. I'm tempted to just install postfix and see if that will fix it.
On Sat, Oct 10, 2009 at 1:30 AM, Charles Marcus
wrote:
On 10/7/2009, Stephen Vaughan (stephenvaughan@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
-- Best Regards, Stephen Sent from Sydney, Nsw, Australia
-- Best Regards, Stephen Sent from Sydney, Nsw, Australia
participants (5)
-
Charles Marcus
-
Noel Butler
-
Pascal Volk
-
Stephen Vaughan
-
Timo Sirainen