- Plesk for Linux
Why Outgoing Mail Control is not functional when localhost is added to whitelist? Localhost has to be whitelisted for the mailists (by mailman package) to work.
Outgoing Mail Control does not count emails sent from a localhost if localhost is whitelisted. For example, scripts are sent from a localhost without authorization. Adding localhost to whitelist will bring the following warning:
PLESK_WARN: The limits on outgoing mail will not work for mail senders whose IP addresses are in the mail server's white list. For example, if there is localhost (127.0.0.0 / 8, ::1 / 128) in the white list, all mail from the local server will be successfully sent regardless of the limitations. Mail senders can use either local IP addresses (websites and custom scripts hosted on the local server) or external ones (customers who send mail from mail clients installed on their computers or mobile devices). To make the limits work for all mail senders (both local and external), remove all IP addresses and networks from the white list. Note that removing localhost (127.0.0.0 / 8, ::1 / 128) from the white list might disrupt the operation of websites and scripts that send mail from this server. For details about limitations on outgoing mail, see the Administrator's Guide, Protection from Outbound Spam.
Refer to the Plesk Administrator Guide for more information.
- Log into Plesk;
- Remove localhost from server-wide white list in Plesk > Tools&Settings > Mail Server Settings > White List;
- Enable Outgoing Mail Control and disable Mailists;
- Create a new email address that will be a replacement for the mailist address: Domains > example.com > Email Addresses > Create Email Address > firstname.lastname@example.org;
- Setup the forwarding option so that all maillist subscribers are added to email@example.com: Domains > example.com > Email Addresses > firstname.lastname@example.org > Forwarding. Refer to Plesk Administrator Guide to enable it.