On Fri, Oct 19, 2001 at 09:56:34AM -0400, Kenneth E. Lussier wrote:
If a message contains 8-bit content, but not the required MIME headers,
courier will reject it. Mail from amanda is probably 7-bit, and so a
missing MIME header is ok.
There is no configuration to turn off this behaviour. One solution is to
patch the source code with the following patch and recompile:
diff -rc courier-0.32.0.orig/courier/submit2.C courier-0.32.0/courier/submit2.C
*** courier-0.32.0.orig/courier/submit2.C Tue Dec 5 14:14:51 2000
--- courier-0.32.0/courier/submit2.C Wed Feb 28 17:25:30 2001
***************
*** 536,541 ****
--- 536,544 ----
return (1);
}
+ /* the next 2 tests commented out to avoid bouncing email
+ that lacks the correct MIME headers or has 8-bit content
+
if (rwrfcptr->rfcviolation & RFC2045_ERR8BITHEADER)
{
cout <<
***************
*** 554,559 ****
--- 557,564 ----
"550 for more information.\n";
return (1);
}
+
+ End of comment-out */
if (rwrfcptr->rfcviolation & RFC2045_ERR2COMPLEX)
{
All,
I'm sure that this has come up before, but I haven't been able to find
the answer. I have seen the following error a few times in my logs, and
I can't quite figure out why:
Oct 18 01:31:20 postal courieresmtpd:
error,relay=::ffff:from=<ama...@zuken.com>: 550-This message has 8-bit
content, but does not have the required MIME headers. Sorry, this mail
server does not accept mail without the required MIME headers. See
<URL:ftp://ftp.isi.edu/in-notes/rfc2045.txt> for more information.
Now, it's obvious that the MIME header is bad, thus the error. However,
I have been getting mail from amanda (the backup system) for the last
two days (see below). Is there any reason that this could suddenly
happen? And now for the question that I hate to ask: Is there any way to
make Courier accept badly formatted mail headers?