postfix wont process mail through procmail
I added this line:
mailbox_command = /usr/bin/procmail -f
In the main.cf, but it's still not procesisng mail through procmail, is there anything else I need to do? (I restarted it obviously)
Mail is processed by fetchmail, goes to postfix, and is suppost to go through procmail then in the inbox/spam folder.
I dont know if this is related or not, but I get a bunch of weird crap in the maillog, have no clue what its even trying to do, since the imap server works fine.
Also when I view mail headers of received mail it shows to be coming from my LAN IP, is there a way to change this? I will probably get issues trying to send mail if the destination server blocks such mails, thinking it is spam.
Also, where is the procmail log? I checked using find in /var/log and its nowhere to be found. Perhaps my migrated .procmailrc is invalid with this version, or the path to spamc changed, or something but I dont know where the error is going, if its generating one.
I've been searching on google and it seems all I have to do is add that line, so maybe its going through procmail but erroring out, so where can I find the procmail log?
And I really want to figure out why I'm getting all those weird access denied errors, drives me nuts when I'm trying to find something in the mail log.
To log messages from procmail you need to set a few variables in your procmailrc. Read the procmailrc
man page, and look for LOGFILE and LOGABSTRACT. Here is an example a of a .procmailrc file which
Also, the '-f' option to procmail looks strange without an argument following.
|All times are GMT -5. The time now is 09:43 PM.|