procmail
[Top] [All Lists]

my setup...

1997-12-08 16:34:36

Ive been at this for a week off and on to setup procmail on my FreeBSD 
system.

I followd the info in the filtering FAQ and got it to work with the test 
function. But when trying to add my own stuff for a few mailing lists it 
doesnt work.

I use a program called popclient to get email via pop3. (if it relevant)

My foward file:

"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #kwoody"

My procmailrc:

VERBOSE=on
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/proc.log
#INCLUDERC=$PMDIR/rc.testing
INCLUDERC=$PMDIR/rc.maillists

My rc.maillists:

:0:
* ^TOrc5
rc5

:0:
* ^TOquestions    
freebsd

With this configuration it does not work. It seems my .forward gets 
bypassed completely as no entries are made in the log file. I have a 
little one line script that gets my mail from my ISP's mail server as 
follows:

#!/bin/sh
popclient -3 -a -u kwoody -p xxxxxxx mail.citytel.net 

this contacts the mail server, logs in then grabs my mail. Should I 
possibly be piping the above to my .forward file since it seems tobe 
being by passed.  

But if I put the recipies from my rc.maillists into my .procmailrc I get the 
following in my log:

procmail: Assigning "LASTFOLDER=/var/mail/kwoody"
procmail: Opening "/var/mail/kwoody"
procmail: Acquiring kernel-lock
procmail: Assigning "INCLUDERC=/home/kwoody/.procmail/rc.maillists"
 procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):
(.*[^a-zA-Z])?)rc5"
 procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):
(.*[^a-zA-Z])?)questions" 
procmail: Bypassed locking "/var/mail/kwoody.lock"
procmail: Assigning "LASTFOLDER=/var/mail/kwoody"
procmail: Opening "/var/mail/kwoody"
procmail: Acquiring kernel-lock

In the header for the rc5 list it always lists To: rc5(_at_)llamas(_dot_)net
and for freebsd-questions always is either a To: or a CC: yet there are 
no matches.

Why would this be? If needed I could include the headers from the other 
lists.

Thanks for any info.

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