[db-wg] Changes for abuse
- Previous message (by thread): [db-wg] Changes for abuse
- Next message (by thread): [db-wg] Changes for abuse
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Shane Kerr
shane at ripe.net
Fri Apr 29 10:05:56 CEST 2005
Marco d'Itri wrote: >On Apr 29, Niall O'Reilly <niall.oreilly at ucd.ie> wrote: > > > >>Yet, I get the following in response to my update request. >> >> abuse-mailbox: Contact for SPAM <abuse at ucd.ie> >> ***Error: Syntax error in "Contact for SPAM <abuse at ucd.ie>" >> abuse-mailbox: Contact for other abuse <security at ucd.ie> >> ***Error: Syntax error in "Contact for other abuse <security at ucd.ie>" >> >> > >I suppose that the parser only accepts an addr-spec and not complete >addresses with comments. I really really hope that this will not be >changed, because the purpose of abuse-mailbox is to help stupid people >who write simple-minded autocomplaints scripts, and asking them to >implement a full RFC 2822 parser is a recipe for troubles. > > > That is exactly right. It is possible to use comments to indicate which mailboxes are for which type of abuse, by using the "remarks:" attribute: remarks: Contact for SPAM abuse-mailbox: abuse at ucd.ie remarks: Contact for other abuse abuse-mailbox: security at ucd.ie Alternately, using the end-of-line comments: abuse-mailbox: abuse at ucd.ie # contact for SPAM reports abuse-mailbox: security at ucd.ie # contact for other abuse As a side issue, we don't really implement a full RFC 2822 parser. E-mail can look like: some.&#$%~.?+mess at example.com "pretty much anything except chr(34) or chr(64)"@ripe.net We require two names in the part after the '@', because AFAIK there are no TLD's that accept e-mail. The actual rules allow only up to 80 characters, and match this regular expression: ^((([A-Z0-9~#$%&'*+=?^_`{|}~/-]+\.)*[A-Z0-9~#$%&'*+=?^_`{|}~/-]+)|("[^"@\\]+"))@([A-Z0-9-]+(\.[A-Z0-9-]+)+)$ -- Shane -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.ripe.net/ripe/mail/archives/db-wg/attachments/20050429/648eb41d/attachment.html>
- Previous message (by thread): [db-wg] Changes for abuse
- Next message (by thread): [db-wg] Changes for abuse
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ db-wg Archives ]