Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Problem w/ Postfix and Procmail

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Author Message
ronpoz



Joined: 05 Jun 2004
Posts: 39
Location: Brooklyn, NY

Posted: Tue Jul 06, 2004 4: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
Back to top  
sweh



Joined: 13 Apr 2004
Posts: 234

Posted: Tue Jul 06, 2004 6: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 :-)
Back to top  
 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Page 1 of 1