Hello DA Team
At present, DirectAdmin cannot effectively prevent outgoing spam, aside from limiting the number of emails per account or per domain. Problematic email accounts can still continue sending spam for several consecutive days, eventually causing the server’s IP address to be blacklisted.
I am trying to find a faster and more efficient way to monitor and suspend outgoing email activities. For example, i'm writing a script that monitors email accounts: if an account continuously sends emails over the allowed limit for more than 2 consecutive days, the system will then restrict its outgoing volume or completely block that email account.
Task command this feature working properly?
# Problem
# Questions
Reference
Directadmin Version
At present, DirectAdmin cannot effectively prevent outgoing spam, aside from limiting the number of emails per account or per domain. Problematic email accounts can still continue sending spam for several consecutive days, eventually causing the server’s IP address to be blacklisted.
I am trying to find a faster and more efficient way to monitor and suspend outgoing email activities. For example, i'm writing a script that monitors email accounts: if an account continuously sends emails over the allowed limit for more than 2 consecutive days, the system will then restrict its outgoing volume or completely block that email account.
Task command this feature working properly?
echo "action=block_cracking&type=smtp&authenticated_id=[email protected]&sender_host_address=1.2.3.4&log_time=1741640695" >> /etc/virtual/mail_task.queue
da taskq
# Problem
- A notification ticket was successfully created: "Warning: 100 non-existent emails have just been sent by [email protected]."
- However, the SMTP access for the email account was not blocked as expected.
# Questions
- Do you have any method, API to block an outgoing email account and automatically unblock it once the hosting user resets their password?
- I tried manually adding the email to /var/spool/exim/blocked_authenticated_users or on "Administrator Settings", but after the password is changed, the email account does not automatically get unblocked.
Reference
Directadmin Version
- version: 1.682
- build: a96573edc6aa43ea1753ca4694779a3ac5254598
- arch: amd64
- os: linux
- package: directadmin_a96573edc6aa43ea1753ca4694779a3ac5254598_linux_amd64.tar.gz
- distro: debian11
- eol: 2026-11-01 00:00:00
- eol timestamp: 1793491200
- Exim Config : v4.5.59
- Exim: v4.98.2
Last edited: