Question
How does Outgoing Mail Control work in Plesk?
Answer
Outgoing Mail Control could be managed server-wide and per subscription/per domain/per email address.
By default, all limits are restricted by server-wide values in Tools & Settings > Outgoing Mail Control
Note: Outgoing Mail Control statistics for reseller is available under Log in as Reseller > Domains > example.com > Outgoing Mail Control (on the right sidebar)
-
Per subscription, it could be managed via:
Tools & Settings > Outgoing Mail Control > Subscriptions > example.com
-
Per-domain, it could be managed via:
Tools & Settings > Outgoing Mail Control > Domains > example.com
-
Per email address, it could be managed via:
Tools & Settings > Outgoing Mail Control > Email Addresses > example.com
The scheme that is used for outgoing mails is the following: Mailbox <= Domain <= Subscription
This means all mailboxes of a domain cannot exceed limits for outgoing messages of a domain and all domains of a subscription cannot exceed limits for outgoing messages of a subscription.
By default once per hour Outgoing Mail Control shows the number of attempts to send emails after reaching the limit.
Its statistics is calculated by means of the script located on the server in the /etc/cron.d/
directory:
# cat /etc/cron.d/plesk-outgoing-mail-statistics-poller
20-59/60 * * * * root /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/task-script.php StoreOutgoingMessagesStatistics >/dev/null 2>&1
If it is required to calculate Outgoing Mail Control statistics more then once per hour, run the script on the server directly and reload page in your browser screen:
# /usr/local/psa/admin/plib/DailyMaintainance/task-script.php StoreOutgoingMessagesStatistics >/dev/null 2>&1