Issues with postfix/procmail local mail delivery

2 posts / 0 new
Last post
#1 Sun, 08/15/2010 - 18:27
cosmic

Issues with postfix/procmail local mail delivery

Hi, I'm having an issue with postfix/procmail delivery. Local delivery works fine if in postfix settings I set the "External command to use instead of mailbox delivery" to /usr/bin/procmail, the mail goes to the right place. But with that setting I get the error:-

Failed to save enabled features : The procmail command /usr/bin/procmail is owned by group mail, when it should be owned by root. Email may not be properly delivered or checked for spam.

When I save virtualmin features. If I set the local delivery agent to /usr/bin/procmail-wrapper, I don't get the virtualmin features error, but all incoming mail goes to the root mailbox and not the users mailbox :(

--- Update I've fixed it, I'll leave this post so people googling the same error might find it...

The local deliver agent needs to be:- /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME

Then it works and everyone is happy :D

Lyle

Sun, 08/15/2010 - 18:35
andreychek

Howdy -- thanks for the update Lyle, and I'm glad you got it working!

-Eric

Topic locked