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:

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

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 :-)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct