Applicable to:
- Plesk Onyx for Linux
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
Comments
2 comments
What happens when outgoing mail control is hit? does the user of the email address get a notification/error message or do I need to inform him? is it possible to see which messages got rejected? thx
FYI: Forwards, even those going to internal addresses, are counted in the outgoing mail control. Vote on this feature request to hopefully have that changed: https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/35400535-do-not-count-local-forwarded-messages-by-outgoing
Please sign in to leave a comment.