If you are more comfortable with Perl, I'd recommend using the Mail::Audit
module. It works fine for me, and writing a filtering script is pretty
trivial. Read about it here:
http://library.cs.tuiasi.ro/programming/perl/tpj/issues/vol5_2/tpj0502-0002.html
(Somebody archived all of the old Perl Journal articles here, probably
without permission)
Actually, it looks like this was discussed before, so check out these
threads for more info:
http://www.mail-archive.com/siglinux@locutus.csres.utexas.edu/msg07741.html
http://www.mail-archive.com/siglinux@locutus.csres.utexas.edu/msg07753.html
-jacob
On Wed, 8 Aug 2001, Alex Winbow wrote:
> I have numerous mail addresses, most of which I forward to the
> machine(s) that I actually pull my mail from. I'd like to selectively
> filter before forwarding.
>
> Suppose I have address luser@foo, and there exists a .forward in
> foo:/home/luser simply "luser@bar", so that all mail is forwarded to bar
> and read as a big 'ole mailbox.
>
> Now, instead, I want to be cleverer: forward from foo->bar
> everything *except* messages coming from a certain mailing list. That way,
> most mail goes through my usual paths and can be read anytime anywhere,
> but mail from that mailing list to luser@foo is trapped, to be read
> selectively only at foo.
>
> How can I accomplish this? I've glanced at procmail, but it looks
> nontrivial.
>
--
jacob
http://www.cpl593h.net/
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]