Upgrade killed procmail! [fixed]

So, I’ve never had an issue with Debian screwing with my config, but apparently this morning it did.

/etc/procmailrc is getting processed
~/.procmailrc isn’t <-- that is my problem

Mind you, I just know enought about mail to get myself into trouble…

root@Benzaiten:/etc/postfix# grep procmail *
main.cf:mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME

root@Benzaiten:/etc# cat procmailrc

LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl $LOGNAME
:0

  • ?/usr/bin/test “$VIRTUALMIN” != “”
    {
    INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
    }
    DEFAULT=$HOME/Maildir/
    ORGMAIL=$HOME/Maildir/
    DROPPRIVS=yes
    :0
    $DEFAULT

/var/log/procmail.log is getting new entires when mail is delivered…

my ~/.procmail.log isn’t (setup in my ~/.procmailrc file & was working before)

If you could give me a hand I would be grateful

Do you see any errors in your logs, either /var/log/mail.log or /var/log/procmail?

Also, what do these two commands show:

ls -l /usr/bin/procmail

ls -l /usr/bin/procmail-wrapper

Ok, I fixed it…

I removed all the VIRTUALMIN crap (since no one defines their procmail there anyway) and removed the default delivery at the end… I knew that was the problem, not sure why I was scared to touch it… LOL

So, my question is, I’m sure it was the webmin upgrade that did this… Why would you put the default delivery in the procmailrc file when that is the default, by default ?

That prevents anyone from using a ~/.procmailrc file

Bush league