Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Is there any way you can prevent a sending mailserver from sending more than X messages in Y time ?? We have a problem with one open relay sending us 570 000 mail in one night...
Since you have no control over the box sending mail to you, it cannot be done. You have to filter the mail instead. I would guess you could have your router drop all packets that come from the IP address of the offending box.
Send e-mail to the owner of the box, too. Encourage them to change their ways.
Thanks for the help, however, I checked out that page before posting.
Shouldn't there be any way to check who the sending host is and count the number of mail received from the same host in Y amount of time ??
The FW idea is good.. I will investigate further if there is a function where you can check the connection rate in order to drop to heavy traffic from the same IP.
i don't know how to do it right now, but i am 100% sure iptables can do the connection limiting thing... perhaps someone will post a link or something...
but this does sound like something an anti-denial of service for mail server tools would do... i mean there has to be someone out there that made a script or something to keep one's mail server form getting bombed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.