On 13-Mar-2009, at 12:58, Linda Walsh wrote:
I get many emails addressed to internal sendmail <id>'s.
123...@mydomain
1abd56.ef7...@mydomain


(seem to fit a basic pattern but don't know how to specify the
pattern (or I don't have it right):
<(start of an email-address)>[0-9][0-9a-fa-f\....@mydomain

by start of an email, addr, I mean inside or outside literal '<>'.
I try matching to '<' as a start char to look for anything starting
with a number, but that fails if they don't use the "name <x...@yy>"
format, but just use "x...@yy".  Don't know how to root at beginning
of any email address looking thing.

Generally:

^ means 'start of line'
$ means 'end of line'

but whitelist_from used globbing, and I don't think you can use those anchors there. are the emaisl comming in without a tld (1...@example and not 1...@example.com)?

any hints would be appreciated...
running slightly older SA 3.1.7 on perl 5.8.8....

Slightly? No, that's ancient (2.5 years!!). Seriously, if there is only one thing you keep updated on your mailserver, it needs to be SpamAssassin.

--
I do believe Marsellus Wallace, my husband, your boss, told you to
        take *me* out and do *whatever I wanted*. Now I wanna dance, I
        wanna win. I want that trophy, so dance good.

Reply via email to