- Plesk 12.5 for Linux
- Plesk 11.x for Linux
- Plesk 12.0 for Linux
- Domain is sending spam emails with enabled Outgoing Mail Control and disabled Allow scripts and users to use Sendmail option.
- Mails sent from scripts are not presented in the Postfix mail queue
Spam is sent directly to recipients via SMTP protocol or via other mail server that acts as open relay.
2. Forbid scripts to send mail to non-local server via SMTP with the firewall. For example, create an
# iptables -I OUTPUT -p tcp --dport 25 -m owner ! --gid-owner mail ! -d <your_server_ip_addresses> -j REJECT
As alternative solution do the following:
2. Remove 127.0.0.0 / 32 via the tab Plesk > Tools & Settings > Mail Server Settings > White List.