HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Discard SPAM Emails (http://www.howtoforge.com/forums/showthread.php?t=35651)

AsDsL 28th May 2009 19:07

Discard SPAM Emails
 
Hi,
How do I discard Spam Emails in IPSConfig 3?
In ISPconfig 2 I just have to click.

Thanks,
Tony

bajodel 29th May 2009 00: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".

Bye..

bajodel

till 29th May 2009 07:41

Aditionally you might have to set the final_spam_destiny in the amavisd configuration file from pass to discard.

brianhenson 31st May 2009 04: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?

till 31st May 2009 10:06

You can use individual per user email filters for this or modify the global mailfilter script in the /var/vmail folder.

jbryner 22nd July 2009 23: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?

jbryner 23rd July 2009 04: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.

CLC 16th August 2009 20:32

I've entered the following code to /var/vmail/.mailfilter just above the user maildrop include:

Code:

# 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`
}
if (/^Subject:.*\*\*SPAM\*\*/:h)
{
to /var/vmail/$HOST/$USER/.Trash/
}



All times are GMT +2. The time now is 11:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.