Monday, September 24, 2001, 06:58:07 PM, Lawrence Mitchell wrote:
Alvin Sim <alsim3(_at_)yahoo(_dot_)com> wrote:
the header for the freebsd lists seems to be inconsistent between MUAs
(i.e. the bat/pegasus and mutt) between OS'es but it always has a
owner-freebsd-* somewhere. but even if i put "* ^Sender:.*... ", that
would still not get the mail filtered properly.
What you need to do is check the headers of a few list messages to
find headers that are always inserted, and are unique.
The mutt-users list doesn't have this header, this mails always come
from the individual list participants, the following works for me:
* ^Sender: owner-mutt-users
i'll try it out and see how it goes for this one.
Procmail considers multiple conditions for one recipe to be AND
conditions, is this what you mean? A mail will only match this
it is TO_cvs-all, is from owner-cvs-all and has a sender cvs-all
ok... i thought that it was an OR condition. i'll try the example for
your mutt recipe since the freebsd lists seems to always have an
"owner-freebsd-* " in the [X-]Sender: field.
The same goes for this.
Additionally, the ^TO_ regexp is quite processor hungry, especially
when filtering list mail, it's probably better not to use it if you
can find a unique single header for that list.
thanks for the tip. i'll try to play around some more with it.
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
procmail mailing list