View Full Version : Discard SPAM Emails
28th May 2009, 20:07
How do I discard Spam Emails in IPSConfig 3?
In ISPconfig 2 I just have to click.
29th May 2009, 01:52
You have to look at the selected "Spamfilter policy" (applied to the specific email domain). On the tab "tag level", tune the item "SPAM kill level".
Aditionally you might have to set the final_spam_destiny in the amavisd configuration file from pass to discard.
31st May 2009, 05:53
What if I wanted to move all spam to a folder on each users mailbox named junk? How would I do that through the panel?
You can use individual per user email filters for this or modify the global mailfilter script in the /var/vmail folder.
23rd July 2009, 00:14
I have tried to filter in ISPConfig by the ***SPAM*** that is added to the subject line, and had no luck moving it to the .Spam folder I have created. Is there a syntax that I may be missing?
23rd July 2009, 05:06
Can you elaborate a bit on how you got it to work? Which route did you take? the filter or the global?
Thanks in advance.
16th August 2009, 21:32
I've entered the following code to /var/vmail/.mailfilter just above the user maildrop include:
# Move SPAM to trash
`test -e /var/vmail/$HOST/$USER/.Trash`
if ( $RETURNCODE != 0 )
`maildirmake -f Trash /var/vmail/$HOST/$USER`
`chmod -R 0700 /var/vmail/$HOST/$USER/.Trash`
`echo INBOX.Trash >> /var/vmail/$HOST/$USER/courierimapsubscribed`
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.