procmail
[Top] [All Lists]

Re: parsing email addresses

2002-11-22 05:55:55
MindFuq <mindfuq(_at_)comcast(_dot_)net> writes:
* Eric Smith <eric(_at_)fruitcom(_dot_)com> [2002-11-16 13:21]:
Has anyone written a procmailish approach to extracting each email-address /
 comment
pair in a header?

No.  What annoys me is that mailing lists accept so many variants of
ways to address a message to a list.  Just when I think I have all my
bases covered for filtering, someone comes along and sends an email
such that the To field reads something like To:
"to:procmail"@Lists.RWTH-Aachen.DE so that my scripts need more
maintenance.

Why would a mailing list accept messages where the address actually
has double quotes embedded in the address part of the field?  And why
do mailing lists accept messages when someone BCC's the list?

Why should it check for the list address in the To: or Cc: field?
The message got to the list software, so the envelope included the list's
address, why does it matter what the user put in the header?  Indeed,
the user may have addressed the message to a local alias or list exploder
which then forwarded it on to the 'real' list.  I can understand checks on
the envelope and/or header *sender* address, if the list only accepts post
from subscribers, but what gain is there to checking the recipient fields?


I guess I have yet to see cases of people using the strange
23.22.52.33!procmail type notation.  Has it been considered to somehow
make procmail more tolerant to strange varients of addresses?

It doesn't parse addresses now, so how could it be made more tolerant?


Philip Guenther

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail