procmail
[Top] [All Lists]

RE: procmail for individual users on server

2005-12-08 09:31:58
Yours truly is a novice when using procmail and would appreciate the
assistance of those more knowledgeable - thanks.

Although successfully using procmail in each system user's directory.  I am
thus far failing in my attempt to setup a system-wide procmail that will
scan all mail prior to delivering to the individual user's procmail setup.
Each user can manage their own /home/userid/procmail/.generalrc file for any
additional screening of incoming mail that they desire.

I have the following in my /etc directory:

drwxr-xr-x    3 root     root         4096 Dec  8 09:50 procmail
-rwx--x--x    1 root     root         2568 Dec  8 09:59 .procmailrc

I have my system procmail file mail setup as follows:

/etc/.procmail

The .procmail file contains:

SHELL=/bin/sh                                   
PMDIR=/etc/procmail                             
LOGFILE=$PMDIR/log                      
LOG=" "
LINEBUF=4096                                    
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin     
VERBOSE=on                                      
LOGABSTRACT=no                          
MAILDIR=/etc/procmail/mail                      
DEFAULT=/var/spool/mail/${LOGNAME}              
ADMINFOLDER=${DEFAULT}/admin.incoming  
BULKFOLDER=${DEFAULT}/bulk.incoming     
FORMAIL=/usr/local/bin/formail                  
SENDMAIL=/usr/sbin/sendmail                     
INCLUDERC=$PMDIR/generalrc                      
INCLUDERC=$PMDIR/mailinglistrc                  


My /etc/procmail directory contains:

drwxr-xr-x    3 root     root         4096 Dec  8 09:50 .
drwxr-xr-x   83 root     root         8192 Dec  8 09:50 ..
-rw-r--r--    1 root     root          160 Dec  8 09:49 autoreply.msg
-rw-r--r--    1 root     root          465 Dec  8 09:49 autoreplyrc
drwxr-xr-x    2 root     root         4096 Dec  8 09:49 backup
-rw-r--r--    1 root     root        13795 Dec  8 09:53 generalrc
drwxr-xr-x    2 root     root         4096 Dec  8 10:18 mail
-rw-r--r--    1 root     root          391 Dec  8 09:49 refused.msg

The current all-system procmail setup in /etc does not process any incoming
mail.  The individual user's /home/userid/procmail setup is processing each
message sent to the specific user.

If I have neglected to provide sufficient information, please advise and I
will do so.

- Tony -



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail