QMail's Relay Filters Allow SPAM?
ynotds asks: "Our low profile, security-conscious specialty hosting service might have been relaying spam from an untraceable IP for around 43 hours before we tracked the source of a significant traffic increase across quite a few of our less active client IPs. After we firewalled the first spammer IP, three more appeared in quick succession trying the same thing, then after we took qmail down for a while and brought it back up, another group of four tried the same trick, all but one from 203.x.x.x IPs like our own. We now have 90Mb of mainly these unsent messages in our (appropriately named) mess directory queues, but don't want to get side tracked into duplicating others' research if this is a better known problem than it appears to be after another scan of anti-spam resources."
Sendmail might be plagued with a bad history, but everything out there has a local exploit now and then, and the fact remains that Sendmail is still the most configurable, stable, and scalable MTA out there. I've put in a great deal of time testing, comparing, and benchmarking (on a limited basis) between Sendmail, Postfix, qmail (nice license, bleh), Exim, and Smail. Sendmail wins hands down, and you won't find anything better in the hands of a skilled administrator. The SPAM protection is great! Now with 8.12.0 no longer running suid root, there's no chance of me looking at anything else. Give it a try!
Spam mail is getting very bad, personally I cant wait until Congress rules on it. In the meantime you have to do something, right? In my opinoin two really great sites that cover this are here and here. The first one has some vey useful tools that may help, the second is basically a how to. As for your question, What you probably need is some anti-relaying filters. Perhaps the best site for your problem is here. They have some pointers on how to secure your current mail(Qmail in your case) system against third-party relay. Along with Qmail they cover other mail systems including pmdf and Dmail. Hope I could help
Diplomacy is the art of letting people have your way
You don't mention many details about how did they manage to send spam. In my experience, qmail's antispam measures, when properly configured, are as good as anyone else's, and of course, if one of your customers suddenly decides to become a spammer, there's little you can do (the same goes if they are stupid enough to run an open relay that has you as their smarthost).
Like netcraft's webserver statistics collection, is there something that is actively scanning mailservers and storing general stats on what software people are running as MTAs? If someone's not doing this, I'd love to start. I have a feeling sendmail is still the world's #1 mailserver for MTAs listed in domains' MX records, but M$ Exchange may be overall #1 just because it's running on nearly every NT/Win2k Server out there (usually promiscuous, too)
I'm not sure what kind of spamming is being done, but with proper configuration of qmail (not hard to do), it will refuse to accept messages for destinations not in its accept list, unless the messages come from a set of ip's you specify.
this wouldn't stop inbound spam to mail domains you host, but it would stop you from being an open relay.
Need a Catering Connection
You say you might have relayed spam, but you offer no proof. In a properly setup qmail installation, you will not relay. You may accept messages that are spam (like any other MTA), but those messages won't go anywhere. Read life with qmail. If you have setup differently, then rebuild using lifewithqmail instructions.
What is pirate software? Software for inventory of stolen treasure?
orbz They will tell you if you are or not. Good Luck.
# Hack the planet, it's important.
Yes, Dan Bernstein has been running surveys of SMTP servers.
-russ
Don't piss off The Angry Economist