Linode Forum
https://forum.linode.com/

Problem w/ Postfix and Procmail
https://forum.linode.com/viewtopic.php?f=11&t=1000
Page 1 of 1

Author:  ronpoz [ Tue Jul 06, 2004 5:32 pm ]
Post subject:  Problem w/ Postfix and Procmail

Hey All,

I am pretty good with Sendmail and Procmail, but my new install of Postfix 2.11 and Procmail is giving me a headache.

I added the following to the CF file:

Code:
mailbox_command = /usr/bin/procmail


Both are installed and I created a /etc/procmailrc file that contains one simple filter that moves an email to a different Maildir.

Code:
DROPPRIVS=yes
LOGFILE=/var/log/procmail.log
VERBOSE=yes
LOGABSTRACT=all

:0:
* ^X-SpamOriginallyTo:
/home/ronpoz/Maildir/.spam/


When I fire it up, mail gets delivered to user "Operator" and is in the spool file /var/mail/USER

THat part works, but all other email sits in the spool file. How do I get the 'unfiltered' mail to get back into Maildir: /home/$User/Maildir

Author:  sweh [ Tue Jul 06, 2004 7:14 pm ]
Post subject: 

At a guess your DEFAULT variable isn't configured for maildir stuff, so

DEFAULT=/home/$LOGNAME/Maildir/

at the beginning of the procmailrc. This is a guess :-)

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/