procmail
[Top] [All Lists]

Re: How to NOT filter a message

1998-01-04 21:03:18
"John" == John Spence <jspence(_at_)newave(_dot_)net(_dot_)au> writes:

John> I would like to have all mail addressed to me put in my default
John> INBOUND mail file e.g. /var/spool/mail/jspence even if it came
John> from a list.

Put this at the top of your .procmailrc:

# Is it addressed directly to myself?
:0:
* ^TO_jspence(_at_)newave(_dot_)net(_dot_)au
$DEFAULT

John> Does mail I fetch with fetchmail get placed in my
John> /var/spool/mail/jspence file and then procmail processes it or
John> does procmail simple place mail in the spool/mail file that
John> doesn't match any of the filtering rules?

The latter: procmail gets all incoming mail (if fetchmail is set up
correctly, that is - which I assume is the case), and then puts it in
your folders. Anything that hasn't matched any recipe will end up in
your default mail folder (/var/spool/mail/jspence).

-- 
G. Geens - Home: <ggeens(_at_)iname(_dot_)com> - Work: 
<ggeens(_at_)inetgate(_dot_)capgemini(_dot_)nl>
``Normally, I'm white and fluffy''

<Prev in Thread] Current Thread [Next in Thread>