From: | Andrew Sullivan <ajs(at)commandprompt(dot)com> |
---|---|
To: | pgsql-www(at)postgresql(dot)org |
Subject: | Re: Spam filtering on the mailing lists |
Date: | 2008-07-17 12:45:46 |
Message-ID: | 20080717124546.GA6732@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
On Thu, Jul 17, 2008 at 12:01:08AM -0300, Marc G. Fournier wrote:
> Does anyone know if there is some 'rule' that return mail about 'Undeliverable'
> has to be in English?
Nope, there isn't. The bounce message is intended for human
consumption, and therefore localisation is approproate.
Note, however, that many of the messages should have a Content-Type:
multipart/report; report-type=delivery-status; header. See RFC 3462,
which obsoletes RFC 1892.
RFC 3462 requires a machine-parsable delivery report, and one such
report is defined in RFC 3464. Many mail systems (most?) conform to
this these days, so just detecting thatt here is a delivery-status
header, then parsing the second body-part for "^Action: failed" oughta
work. The message/delivery-status content-type MUST be 7 bit, so you
can be relatively certain it's not going to be anything but ASCII.
(AFAIK, there are no machines left on the Internet that leak 7-bit
charsets that are not ASCII).
A
--
Andrew Sullivan
ajs(at)commandprompt(dot)com
+1 503 667 4564 x104
http://www.commandprompt.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2008-07-17 12:46:53 | Re: Spam filtering on the mailing lists |
Previous Message | Marc G. Fournier | 2008-07-17 03:01:08 | Re: Spam filtering on the mailing lists |