Problem w/ Postfix and Procmail
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:
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.
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
1 Reply
DEFAULT=/home/$LOGNAME/Maildir/
at the beginning of the procmailrc. This is a guess