Re: Spam filtering on the mailing lists
От | Andrew Sullivan |
---|---|
Тема | Re: Spam filtering on the mailing lists |
Дата | |
Msg-id | 20080717124546.GA6732@commandprompt.com обсуждение исходный текст |
Ответ на | Re: Spam filtering on the mailing lists ("Marc G. Fournier" <scrappy@hub.org>) |
Список | 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@commandprompt.com +1 503 667 4564 x104 http://www.commandprompt.com/
В списке pgsql-www по дате отправления: