David Piniella
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").
- 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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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 ? :/
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 ? :/
ASKER
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 ?
MaRIOsGR - there is, but you should start your own question. =)
ASKER