Preventing my postfix to send my local users spam
Posted
by
Jack
on Server Fault
See other posts from Server Fault
or by Jack
Published on 2012-10-26T09:36:53Z
Indexed on
2012/10/26
11:03 UTC
Read the original article
Hit count: 238
I have a postfix/dovecot mail server with 100 different users. When they send an email they need to be authenticated. I successfully use saslauth to achieve this.
Few days ago I had a problem. One specific user, probably with a virus or a spam-bot installed in its computer, started to send out through my server thousands of emails in few hours. As result, my ip has been blocked by many isp provider (@aol, @yahoo, and others) and has been listed in many blacklist, making all my 100 users unable to send any email to anyone.
What is the best practice to avoid this problem? It would be great if my server could recognize a spamming user and automatically block it. Also, have a limit of, say, 30 emails per hour could be a partial solution.
Any idea how to face this problem? Thank you
© Server Fault or respective owner