Link to home
Start Free TrialLog in
Avatar of David Piniella
David PiniellaFlag for United States of America

asked on

qmail on RHEL3, changing max messages sent per time period

I have a server running Red Hat Enterprise Linux 3. I've installed qmail (mostly following Life With Qmail and qmailrocks.org's advice and instructions). I have a few questions:

- I would like to limit how many messages any particular user/connection can send per minute (second, hour, whatever). I've looked through the qmail man pages and website(s) but haven't found a way to limit this. Should I be looking somewhere else?

- are there any SMTP test programs or sites that I can use to check my server (security-wise, effeciency, etc -- something like DNSreport.com but for SMTP).

Can I use some function within qmail itself, spamassasin or clam-av to limit the message rate from a particular client? (i.e., "client 10.10.10.1 can't send more than 50 messages within an hour's time").
ASKER CERTIFIED SOLUTION
Avatar of jrssystemsnet
jrssystemsnet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Piniella

ASKER

thank you for your answer (hadn't thought of shaping the traffic via iptables), jrssystems
Hello i have also Red Had Enterprise Linux 3 and qmail and i want to do the same thing,
to limit the email users to be able to send only 30 email per acccount per day.


I red what  jrssystemsnet  but im kinda newbie in linux...so
if  dpiniella did that ,can u help me do tha same ? :/
the solution presented wouldn't really help you there. jrs is suggesting that I use iptables to limit the number of concurrent connections. iptables' --limit option will work for this but it works on a per second basis, not hourly or daily.
damn... so is there any other way to protect the server from email abuse from inside clients ?
Avatar of jrssystemsnet
jrssystemsnet

MaRIOsGR - there is, but you should start your own question. =)