Submitted by epimedia on Tue, 06/23/2009 - 07:12
Mail forwarding and auto replies not working in VMPro/Centos. I am unsure when they stopped working, or if they ever worked. This is happening on more than one domain on the server. I believe Procmail is running as it is putting entries in the log file. Spam filtering working fine.
How can I diagnose this issue?
Eric
Status:
Closed (fixed)
Comments
Submitted by epimedia on Tue, 06/23/2009 - 07:17 Comment #1
In case it is a config issue here is /etc/procmailrc. Does this look right? I was looking here: http://www.virtualmin.com/node/9840
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 } ORGMAIL=$HOME/Maildir/ DEFAULT=$HOME/Maildir/ DROPPRIVS=yes :0 $DEFAULT :0 * ^X-Spam-Status: Yes $DEFAULT
Submitted by JamieCameron on Tue, 06/23/2009 - 08:25 Comment #2
So I see two problems with /etc/procmailrc ..
First, the following lines are not needed as Virtualmin does spam-filtering in per-domain config files :
:0
* ^X-Spam-Status: Yes
$DEFAULT
Second, user-level filtering and auto-replies are disabled due to the lines :
:0
$DEFAULT
To remove these, go to Email Messages -> Spam and Virus Scanning, and change 'Allow mailbox users to create mail filters?' to 'Yes'.
Let us know if this helps..
Submitted by epimedia on Fri, 11/06/2009 - 16:21 Comment #3