[Mimedefang] Matching question
David F. Skoll
dfs at roaringpenguin.com
Mon Feb 25 20:08:20 EST 2002
On Mon, 25 Feb 2002, Ashley M. Kirchner wrote:
> extracting $Sender for a while now, and everything I get is in the form of:
> #ZDNet: <Online#3.6184.ff-wC7ol8i3fyro.1.b at newsletter.online.com>
> #Yahoo: <reminders at yahoo-inc.com>
> #Me: "Ashley M. Kirchner" <ashley at pcraft.com>
Really?? You get "Ashley M. Kirchner" included? $Sender comes from
the SMTP "MAIL FROM:" command, which can have only an e-mail address
and not any comment text.
> And if I'm only matching part of that, ( =~ /newsletter\.online\.com/ or =~
> /reminders\@/ or =~ /\@pcraft\.com/ ), it should work without complaining.
It will work fine, but I like the tests to be as tight as possible.
Regards,
David.
More information about the MIMEDefang
mailing list