|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Mike Leone (turgon_at_mike-leone.com)
Date: Sun Dec 01 2002 - 19:02:15 CST
Vikki Roemer (vikki
2khiway.net) had this to say on 11/29/02 at 18:21:
>
> Well, see, the main reason I used that as an example is, I'm having
> that problem with procmail at the moment; I wrote a recipe to put mail
> from the libranet-users mailing list into its own mailbox-- I also did
> the same with debian-user and postfix-users. But the recipes are
> basically the same for libranet-users, debian-user, and postfix-users,
> only the names are different. Yet, inexplicably, the mail from the
> libranet-users list won't go where I said for it to, but debian-user
> and postfix-users will. Procmail just dumps the libranet-users mail
> into my /var/mail mailbox, presumably because it doesn't fit any of
> the rules I've set up. That's one thing I'm annoyed about. Also, no
> matter what I tell procmail, it won't put random mail that doesn't fit
> into any other mailbox into my ~/Mail/inbox ; it insists on putting it
> in /var/mail.
I use maildrop, and I always try to filter on a "list" header, since some
people include the mailing list address in a TO:; some in a CC:; etc. Check
the headers of a mail list post.
From my .mailfilter:
if ( /^X-Mailing-List: libranet-users/ )
to "Maildir/.Libranet"
if ( /^X-Mailing-List: .debian-news.lists.debian.org/ )
to "Maildir/.Debian-News"
if ( /^List-Post: .mailto:postfix-users.postfix.org/ )
to "Maildir/.Postfix"
All my posts from Libranet, et al, are properly filtered.
-- PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF Member, LEAF Project <http://leaf.sourceforge.net> AIM: MikeLeone Public Key - <http://www.mike-leone.com/~turgon/turgon-public-key.asc> Registered Linux user# 201348
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE96rEWmrQe9lqlvN8RAsfFAKDa/M8rV86MZSY+EtOOGpYbcmugtwCg1S3e /3VfC8JK+GH0Wqt6MTuBgCs= =Kz4I -----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]