procmail
[Top] [All Lists]

Re: match email address

2006-07-15 17:27:15
On Sat, Jul 15, 2006 at 11:41:29AM -0500, Zhiliang Hu wrote:

I have

:0
* ^Subject:.*\@
| something

to match mails with email address in the Subject line and do
something.  But the verbose log says "procmail: No match on
"^Subject:.*\@" --- Is that regular expression wrong? ( I tried
both "@" and "\@", got the same results).

You don't need the slash, but it isn't causing your problem.
The problem is almost surely because the Subject lines of
those email messages are base64-encoded.  Procmail sees
the literal encoding, not the decoded text that you see in
your mail reader.

Personally, I mark as very likely spam anything that comes in
with a Subject encoded that (a) is otherwise English plaintext;
and (b) from an unknown (not whitelisted) party.

Dallman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>