procmail
[Top] [All Lists]

[newbie] Is procmailed called?

1999-03-09 15:18:25
Hello,

I'm a one month newbie with Linux. I'm running Sendmail 8.8.8 and
Procmail 3.11p7. I have tried to set up a test procmailrc in order to
filter some messages and put them into a different mailbox for the user.

This is the /home/rejo/.rprocmailrc:

--------------------
##
## PGP
##
  
[rule for correct pgp handling]

## mails from mailinglists should be put in /home/rejo/ml

:0
* ^TOpunkrock-nl(_at_)onelist(_dot_)com
* ^TOspam-killer(_at_)sisterray(_dot_)xs4all(_dot_)nl
ml
-------------------


I want to have procmail called as soon as the mail arrived, and i think
this could be done in sendmail.cf. But, when i have a look at that file
i guess sendmail is told where to find procmail etc, but sendmail is not
told when to start using it. Am i correct? These are the only n lines
with procmail in it:

 
------------------

#####  @(#)local_procmail.m4    8.6 (Berkeley) 10/20/96  #####

[...]

##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4     8.23 (Berkeley) 5/31/96  #####

Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u
Mprog,          P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
                T=X-Unix,
                A=sh -c $u

[...]

######################*****##############
###   PROCMAIL Mailer specification   ###
##################*****##################

#####  @(#)procmail.m4  8.6 (Berkeley) 4/30/97  #####

Mprocmail,      P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, 
T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u

-------------------


I'm not sure, but is sendmail told to start procmail? And if so, why
does it ignore /etc/procmailrc or /home/rejo/.procmailrc? 

I'm using this setup with the mailer Mutt. I want to have all of my
mails in to the normal inbox delivered. Exceptions are for example all
of the mails which are from some of the mailinglists i'm subscribbed to.
I would like to have them in a another folder.

Any suggestion where to look to get Procmail running and/ or reading and
understanding my procmailrc?

Thanx in advance, -Rejo.

--
= SISTER RAY [sister(_at_)mediaport(_dot_)org] / REJO 
[rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl]
= PGP: DSS B20D35F8, RSA FAE40065; finger sister(_at_)xs4all(_dot_)nl, 
keyservers 
= Subscribe to Live & Local, more info at http://mediaport.org/~sister





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