Procmail on Cpanel Host – Anyone know how to enable?

Ok, Procmail by default “is” installed on Cpanel hosts under /usr/bin/procmail. I’m a huge Procmail user, and I don’t want to ditch it. http://www.redhat.com/docs/manuals/l...-procmail.html says that all you have to do is add your .procmailrc file to your home directory for it to work. What’s strange, is they make no mention of the .forward file, which is generally used to divert mail through the Procmail LDA for processing. So, I tried this… Sent mail to me@mydomain.com and it come through as typical. I have the Procmail error log set to verbose, but when I check it, it’s blank. Hmm.. Looks like Procmail did squat. Procmail on Cpanel Host – Anyone know how to enable?

Then I tried a .forward file with the following line:

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #myusername"

I again sent mail to me@mydomain.com. This time, my mail did not show up. HEY… This is a good thing! At least something is happening. Procmail on Cpanel Host – Anyone know how to enable? But again however, NO Procmail error log was generated. The only thing I can think of is:

A:
My .forward file is incorrectly setup.

B.
Something in my .procmailrc file is not setup correctly to work, and or to write error messages. Small snippet from my .procmailrc file:
---------------------------------------------------
SENDMAIL=/usr/sbin/sendmail
LOGFILE=$HOME/errors/log.`date +%Y-%m`
VERBOSE=on

# Blocked Users

:0
* ^From: spammer@domain.com
/dev/null

Obviously, I have a ton of additional Procmail recipes, which do a host of various tasks, but there’s no need to display all of those here.

Is there something I need to set in the exim.conf file? I realize that Procmail is not terribly popular on this forum, but I’m hoping that maybe… just maybe… someone has tried this on a Cpanel host. Any insight would be very much appreciated.

Thanks!

 

 

 

 

Top