4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] `hasaddr' matching tw...
FromSent OnAttachments
Marcus FringsJul 1, 2003 9:46 pm 
Matthias AndreeJul 2, 2003 1:54 am 
Marcus FringsJul 3, 2003 3:59 am 
Erik BourgetSep 16, 2003 4:24 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] `hasaddr' matching two stringsActions...
From:Matthias Andree (ma@dt.e-technik.uni-dortmund.de)
Date:Jul 2, 2003 1:54:43 am
List:net.sourceforge.lists.courier-maildrop

Marcus Frings <iam-@despammed.com> writes:

How do I have to handle this?

You don't /have/ to, but if you'd like to, try the other way around, extract the address and then match it.

Quoting the man page:

"GETADDR(STRING) - EXTRACT RFC 2822 ADDRESSES FROM A HEADER. if ( /^From: *!.*/ ) { ADDR=getaddr($MATCH2) }

This function is usually applied to a header that contains RFC 2822 addresses. It extracts the actual addresses from the header, without any comments or extraneous punctuation. Each address is followed by a newline character. [...]"

See the man pages maildropfilter and possibly maildropex for details.