Re: easy question... :)

2001-09-12 Thread David

On Tue, 11 Sep 2001, Matthias LOITSCH wrote:
 how can i filter my messages so that, for example, all mails from
 [EMAIL PROTECTED] get into a specific mailbox when they arrive?
 

I'd recommend maildrop...

http://www.flounder.net/~mrsam/maildrop/
http://www.courier-mta.org/download.php#maildrop

-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
David Clarke [EMAIL PROTECTED] | David Clarke s3353950
GPG Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723

 PGP signature


Re: easy question... :)

2001-09-11 Thread Ailbhe Leamy

On (11/09/01 17:31), Matthias LOITSCH wrote:

 it's just an easy thing i'd like to know :

 how can i filter my messages so that, for example, all mails from
 [EMAIL PROTECTED] get into a specific mailbox when they arrive?

Procmail.

http://support.ossifrage.net/plaintext/procmail.txt - from memory.

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: easy question... :)

2001-09-11 Thread Carl B . Constantine

not bad, but a better site for getting started with procmail is:

http://www.ii.com/internet/robots/procmail/qs/

thanks to whoever posted this link on this list a while back. It's
absolutely invaluable!

* Ailbhe Leamy ([EMAIL PROTECTED]) wrote:
 On (11/09/01 17:31), Matthias LOITSCH wrote:
 
  it's just an easy thing i'd like to know :
 
  how can i filter my messages so that, for example, all mails from
  [EMAIL PROTECTED] get into a specific mailbox when they arrive?
 
 Procmail.
 
 http://support.ossifrage.net/plaintext/procmail.txt - from memory.
 
 -- 
 Homepage: http://ailbhe.ossifrage.net/
-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]



Re: easy question... :)

2001-09-11 Thread Rino Mardo

On Tue, Sep 11, 2001 at 05:31:58PM +0200 or thereabouts, Matthias LOITSCH wrote:
 it's just an easy thing i'd like to know :
 
 how can i filter my messages so that, for example, all mails from
 [EMAIL PROTECTED] get into a specific mailbox when they arrive?
 
you need procmail for that.  in my ~/.procmailrc i have something like
this:

:0:
* ^Return-path:.*mutt-user.*@mutt\.org
$MAILDIR/mutt/

so what this does is place all mails that comes from this list to
~/Mail/mutt.  and the same syntax goes for the other mailing list i
subscribe to.  now in you ~/.muttrc you tell mutt what your mailboxes
are by using the mailboxes keyword like mailboxes ! ~/Mail/mutt and
so on.  that way when you press the key c it will move to those
directories where there is new mail.

hth.

-- 
In is out and out is in.  But out is out and in is in.
-- Pumbaa

 PGP signature


Re: easy question... :)

2001-09-11 Thread Denis Perelyubskiy

 * Rino Mardo [EMAIL PROTECTED] [09-Tue-01 19:06 -0700]:
 
 On Tue, Sep 11, 2001 at 05:31:58PM +0200 or thereabouts, Matthias LOITSCH wrote:
  it's just an easy thing i'd like to know :
  
  how can i filter my messages so that, for example, all mails from
  [EMAIL PROTECTED] get into a specific mailbox when they arrive?
  
 you need procmail for that.  in my ~/.procmailrc i have something like
 this:
 
 :0:
 * ^Return-path:.*mutt-user.*@mutt\.org
 $MAILDIR/mutt/

actually, does it not make more sense to use ^TO_
expression, in plcae of ^Return-path?

why did you choose that?

(i am not saying ^TO_ is correct, as i only recently started
getting into procmail, but from what i read about ^TO_ it
looks at lots of To:-like headers. Return-path may or may
not be set by the mailing list management software, or may
actually even be mucked with by MTAs, i think...at least i
saw some message to this effect on some mailing list. given,
it is not a correct configuration, but still a possible one)


denis

-- 
// mailto: Denis Perelyubskiy [EMAIL PROTECTED]
// icq   : 12359698
// PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc



Re: easy question... :)

2001-09-11 Thread Robert J. Seymour

Denis Perelyubskiy wrote on Tue, Sep 11, 2001 at 07:13:04PM -0700:
  * Rino Mardo [EMAIL PROTECTED] [09-Tue-01 19:06 -0700]:
  :0:
  * ^Return-path:.*mutt-user.*@mutt\.org
  $MAILDIR/mutt/
 
 actually, does it not make more sense to use ^TO_
 expression, in plcae of ^Return-path?

There are a couple of good reasons not to use ^TO or ^TO_ when sorting
out mailing lists.  The first is speed, ^TO variants are big regexps
that take a while to evaluate, especially when you pile up lots of them
in a row (man procmailrc for the actual regexs).  Secondly ^TOs miss a
bunch of mails, I regularly got mails from mutt development, bugtraq,
and a few other lists falling through ^TO based filters.  It wasn't
a matter of bad address regexs, these emails used bcc only addressing
and no (X-)?Apparently-To:, it seems mutt lists set Delivered-To: which
isn't part of the ^TO_ regex.

The fastest way to sort out mailing lists is to pick off a custom
header used by the list (with a ^ rooted regex) and then order the
rules by posting frequency.  For example from my .procmailrc:

##  mutt user discussion list
:0:
* ^Delivered-To: mutt-users
dev/muttu

RJS

-- 
Robert J. Seymour, Jr.[EMAIL PROTECTED]
Seymour Consultingwww.rjsjr.com
Phone: +1 (415) 536-1422  icq: 82889262

GPG key: http://www.rjsjr.com/pubkey.html or finger [EMAIL PROTECTED]
Fingerprint: 0948 B2C7 B51D 20FF 990A  B552 3BB9 041A 280F 303A