Prevent outgoing mail from hosting users

gointern

New member
Joined
Feb 4, 2019
Messages
4
Hello,

We have deployed a few directadmin instances. Some servers get constantly hacked due to some buggy website or malware on a computer that sends out spam using the hosting server. What are best practices to prevent outgoing SPAM? What kind of configuration should we be looking at? Any whitepapers on the matter?

Any suggestions are welcomed!
 
Hello,

1. Limit a number of outgoing emails per user/email,
2. enable BlockCracking,
3. close outgoing to SMTP ports on per UID bases and allow connections only from root, mail.
4. Forward outgoing emails through a $5 VPS with SpamAssassin or other free software to scan and block outgoing spam.

Help articles:

- How to limit the number of emails sent by each user (prevent spammer)
https://help.directadmin.com/item.php?id=81

- My server is sending spam. What do I do?
https://help.directadmin.com/item.php?id=455

- SPAM fighting tools in DirectAdmin
https://help.directadmin.com/item.php?id=577

- I need exim to send all outbound email through a remote mail server
https://help.directadmin.com/item.php?id=153
 
Last edited:
Back
Top