Koozali.org: home of the SME Server

adjusting spam filters

demonx

adjusting spam filters
« on: June 06, 2007, 07:01:22 PM »
I've added my internal domain to the whitelist because email from my users was frequently being labeled a spam. That solved that problem but now I'm seeing spam coming through from non existent users of that same domain. Is there a way to make the server check for the user account before allowing the mail to come through?

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
adjusting spam filters
« Reply #1 on: June 06, 2007, 07:31:13 PM »
demonx do you have a webpage that can send mail (cms webpages) because this sounds like a hacked script
"It should just work" if it doesn't report it. Thanks!

demonx

I wouldn't think thats the cause
« Reply #2 on: June 07, 2007, 12:57:57 AM »
For one thing address books on workstations are frequently hijacked when workstations become infected. The emails I'm talking about are generally going to and existing account or account alias on my domain. If the server could check incoming mail and when the senders email address is the same as its own domain it should reject or drop the email if theres no such user. My old server worked that way but SME doesn't appear too. I'm using version 7.1 of SME. The server is behind a firewall with all but the necessary ports being blocked. Its used for email only. I do use SME for file and print but those are all separate servers from the mail server and are completely firewalled off from the internet.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
adjusting spam filters
« Reply #3 on: June 07, 2007, 05:56:22 AM »
on SME 7.1.3 if you set server-manager:Configuration:E-mail:Change e-mail delivery settings: E-mail to unknown users to "Reject" then qpsmtpd should reject all email addressed to non-existent users.

On older versions the 'return to sender' setting did the same thing -- that is, reject the message at the smtp level so that the sender would get a nice notice from their own smtp server id someone misspelled an email address on your server...

I would also recommend configuring RBLs and Bayes autolearning (sonoracomm has a how-to on email setup that's very good).

The qpsmtpd 'greylisting' plugin is included on SME but not enabled - this, too, would probably kill most of the spam you're seeing...