Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2009, 19:07
AsDsL AsDsL is offline
Member
 
Join Date: Jul 2007
Posts: 31
Thanks: 1
Thanked 0 Times in 0 Posts
Default Discard SPAM Emails

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

Thanks,
Tony
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2009, 00:52
bajodel bajodel is offline
Member
 
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts
Default

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

Last edited by bajodel; 29th May 2009 at 00:53. Reason: typo correction :)
Reply With Quote
  #3  
Old 29th May 2009, 07:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Aditionally you might have to set the final_spam_destiny in the amavisd configuration file from pass to discard.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 31st May 2009, 04:53
brianhenson brianhenson is offline
Junior Member
 
Join Date: Dec 2007
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #5  
Old 31st May 2009, 10:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

You can use individual per user email filters for this or modify the global mailfilter script in the /var/vmail folder.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 22nd July 2009, 23:14
jbryner jbryner is offline
Junior Member
 
Join Date: May 2009
Posts: 17
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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?
Reply With Quote
  #7  
Old 23rd July 2009, 04:06
jbryner jbryner is offline
Junior Member
 
Join Date: May 2009
Posts: 17
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
Reply With Quote
  #8  
Old 16th August 2009, 20:32
CLC CLC is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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/
}
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
are all incoming emails scanned for SPAM? Ovidiu General 6 12th April 2012 15:06
seperating spam emails and real emails. Ryanmt General 1 25th March 2009 22:42
ISPC2 How to do spam check BEFORE forwarding emails ? radim_h Tips/Tricks/Mods 1 18th March 2009 07:51
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 17:37
SPAM: whitelisting local domains (safe emails)... lyndros Tips/Tricks/Mods 3 7th October 2007 20:27


All times are GMT +2. The time now is 09:47.


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