Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.85 sec)
Spamassassin on Ubuntu using ISPConfig

Is there an easy way to deal with spam getting through an Ubuntu - ISPConfig2 server? Other than changing the spam score for each user (which isn't working very well anyway)?

I.e. creating global rules my self and is there a web GUI for doing this sort of job?

I have the settings for individuals so high I'm getting false positives and yet obvious spam is still getting through!
Asked by:
greenpete
55 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: Spamassassin - Ubuntu- ISPConfig
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (5)

Best Answer

I use a combination of Greylisting (Postgrey), RBL's (at the moment SpamHaus and SpamCop) along with data validation (for example, requiring that EHLO is a fqdn and that any senders have a valid domain name and domain records). This easily cuts out about 95% of any potential Spam before it hit's the server.

Custom white/blacklists for important e-mail and then enabling Bayesian analysis on Spamassassin to learn mean that I get 2 or 3 false negatives a month. In fact, I only receive around 70-100 Spam messages a month.

Let me know if you (or anyone else interested) is using Postfix and I'll send over the configuration details.

Response by:
jonathan
335 points
I am using Postfix

Response by:
greenpete
55 points
I'm not familiar with ISPconfig, but the more important matter is what is your back-end MTA? If it's Postfix, I can help.


Response by:
brownowl
155 points
I haven't used ISPconfig but can't recommend greylisting enough for stopping 90% of spam. It's worked really well, see here:

http://www.servercircle.c ...


Response by:
Trinity
2782 points
Your solution may not be in spamassassin. You can probably kill loads of spam at the SMTP layer before spamassassin by implementing DNSBL/RBLs (realtime block lists - http://en.wikipedia.org/wiki/DNSBL ) which will reject the SMTP connection from known spam sources.

There's several RBLs at http://www.sdsc.edu/~jeff/spam/cbc.html and comparisons.

If you're still receiving spam it could be that you need to update your spamassassin rules, take a look at sa-update if this isn't included as part of ispconfig2

Response by:
_SteveWilson ...
4290 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle