4 messages in net.sourceforge.lists.courier-maildrop[maildropl] `hasaddr' matching two st...
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:[maildropl] `hasaddr' matching two stringsActions...
From:Marcus Frings (iam-@despammed.com)
Date:Jul 1, 2003 9:46:42 pm
List:net.sourceforge.lists.courier-maildrop

Hello,

the maildropfilter manpage says that the syntax for `hasaddr' has to be `if (hasaddr(string))'. Of course this works fine when I want to match just one certain address. But now I want to add a second address which shall be sorted into the same Maildir like address1. As far as I understand constructs like

(/^From: .*ad@dr\.ess1/ || /^From: .*ad@dr\.ess2/)

won't work for `hasaddr' since it only matches a specific string.

How do I have to handle this?

Do I have to add another `if (hasaddr(string))'-rule or is it possible to use only one `hasaddr' for matching two addresses?

I want to use `hasaddr' because some geeks put these addresses not only into the FROM-header.

Regards, Marcus