[Mailman-Users] How do I get the from address?

J C Lawrence claw at kanga.nu
Sat Jan 13 18:34:39 CET 2001

On Sat, 13 Jan 2001 21:33:57 +0530 (IST) 
Satya  <satyap at satya.virtualave.net> wrote:

> Com-pli-cated. I'm in no mood to make sense of RFC 822 right now,
> and Python still eludes me.


> $pa_addr=~s/(.*)(<|\s)(.*?\@.*?)(>|\s)(.*)/$3/;

Which is broken, and yes, I'll let you read the RFC to find out
why.  If you want to do it right, with low effort, make the call-out
to formail.

J C Lawrence                                       claw at kanga.nu
---------(*)                          http://www.kanga.nu/~claw/
--=| A man is as sane as he is dangerous to his environment |=--

More information about the Mailman-Users mailing list