Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th May 2007, 20:16
garfabian garfabian is offline
Junior Member
 
Join Date: Mar 2006
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default Receiving a lot of spam

I been getting a lot of spam I have spamassasin setup and scores the email fine but lately been getting a lot of spam is there any configuration that I can do to further trim the spam coming in? using postfix as MTA. Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 17th May 2007, 20:26
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

You can use Razor, Pyzor, DCC for Spamassassin.

As you are using Postfix as your MTA, you can consider to install Postgrey, a greylisting system for Postfix. I have good experience with that.
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
  #3  
Old 17th May 2007, 21:30
garfabian garfabian is offline
Junior Member
 
Join Date: Mar 2006
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you I will check these out, I did try getting postgrey up and running but didn't finish it is there any tutorial or how to you might suggest.
Reply With Quote
  #4  
Old 17th May 2007, 21:59
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default Postgrey howto

Hi again,

Please have a look here:
http://www.howtoforge.com/greylisting_postfix_postgrey
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
  #5  
Old 21st June 2007, 15:21
toyito toyito is offline
Senior Member
 
Join Date: Oct 2005
Posts: 106
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi, can i use this guide on an Production ISP serfer???, if so....How?

Regards

Hector
Reply With Quote
  #6  
Old 21st June 2007, 16:26
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

Yes you can, i did it myself
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
  #7  
Old 21st June 2007, 16:42
fireba11 fireba11 is offline
Member
 
Join Date: Jan 2007
Location: Germany
Posts: 67
Thanks: 0
Thanked 4 Times in 3 Posts
Default

also you might want to run sa-update once in a while
Reply With Quote
  #8  
Old 21st June 2007, 16:48
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

You can also update the Spamasassin rules automaticly with a cron job like this:

23 4 */2 * * /usr/local/sbin/sa_rules_update.sh &> /dev/null
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
  #9  
Old 21st June 2007, 17:45
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

Wouldn't this work better?

Code:
23 4 */2 * * /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update &> /dev/null
Using the perfect setup, the distro SA wasn't installed, so I don't have sa_rules_update.sh on my system...
Reply With Quote
  #10  
Old 21st June 2007, 23:34
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
 
Default

The best way ro prevent spam is
1. prevent spam from getting into your mailbox,
2. have SA work with a good ruleset.

1.:
This tutorial by falko should server as a good starting point: http://www.howtoforge.com/block_spam..._level_postfix
Don't read its config as if it were set to stone. Take your time to find out which RBLs works best for you. In my case the SORBS lists tend to block too much ham (escpecially freemail servers as hotmail, tiscali, ...). Abuseat's RBL is not needed if you use Spamhaus (it's included) and their sbl-xbl RBL shouldn't be used anymore, use zen instead.
Other tutorials may advise you to use reject_unknown_client. While technically the use of this rule is good you'll run into problems pretty soon, as many servers, even those of global players are often misconfigured and therefore would get blocked.

2.:
Use RulesDuJour in conjunction with SA to have a good base of rulesets and keep them updated. To use it with ISPConfig's SA, you better do some symlinking, so you do not have to change RDJ's code.
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
In ISPconfig whitelist but still seen as spam edge Installation/Configuration 12 5th September 2007 01:30
How to kill spam when spamassassin marks it spam kpimichael Suggest HOWTO 15 6th August 2007 17:44
Forwarded spam mail not discared by antispam filter NETabuse General 7 26th February 2007 21:02
root mail receiving spam Jaxboy General 1 19th October 2006 11:51
Filtering SPAM MvincM Installation/Configuration 28 3rd October 2006 18:33


All times are GMT +2. The time now is 05:08.


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