[Mimedefang] filter feedback desired
David F. Skoll
dfs at roaringpenguin.com
Tue Dec 30 21:52:50 EST 2003
On Tue, 30 Dec 2003, Isaiah wrote:
> Given the information you provided, it seems it would be much easier
> to do:
> if (open(HDRS, "<./HEADERS")) {
> while(<HDRS>) {
> if (/^From.*email\@address/i) {
No, that's something different.
$Sender does not necessarily equal the contents of the From: header.
If you want to use a regular expression, use:
if ($Sender =~ /^<?email\@address\.net>?$/i) {
# blah...
}
Regards,
David.
More information about the MIMEDefang
mailing list