3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: reject Mails with wro...
FromSent OnAttachments
Ruprecht HelmsMar 14, 2002 7:50 am 
Sam VarshavchikMar 14, 2002 3:01 pm 
Ruprecht HelmsMar 15, 2002 2:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: reject Mails with wrong or no charsetActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 14, 2002 3:01:42 pm
List:net.sourceforge.lists.courier-maildrop

Ruprecht Helms writes:

Hi,

I get much emails with incorrect charset - result the old egypt signs (hyroglyphs). This results because these senders havn't set a charset or so wrong that xfmail wasn't able to encode these mails.

How can I filter them out / it should not be delivered.

You COULD require that all your mail have the "Content-Type: text/plain; charset=us-ascii" or "Content-Type: text/plain; charset=iso-8859-1", but this won't always work. For starters, this is not going to work for mail with attachments, since its top level MIME content type is going to be multipart/mixed. Furthermore, you'll have plenty of mail without any MIME headers whatsoever, but containing valid us-ascii text.

Courier has an option to bounce all mail that does not have proper MIME encoding. That's a far better solution - in nearly every case the improper character coding is due to missing or invalid MIME headers.