Question
What will happen to emails that are sent once the outgoing limit is reached? For example, if the limit on outgoing email messages for a mailbox is set to 100 per hour.
Answer
The first 100 messages will be sent successfully, but the message 101 for the same hour will show the following error in Webmail:
Note: If a message was blocked by the outgoing mail control, it does not get queued or saved, it just gets rejected (dropped) without the ability to resend it. This is done to prevent spamming on a server.
The following record will appear in the mail logfile /usr/local/psa/var/log/maillog
:
/usr/lib64/plesk-9.0/psa-pc-remote[5977]: REJECT during call ‘limit-out’ handler
postfix/cleanup[7018]: AE16288F80: milter-reject: END-OF-MESSAGE from localhost[::1]: 5.7.0 Your message could not be sent. The limit on the number of allowed outgoing messages was exceeded. Try again later.; from=[email protected] to=[email protected] proto=ESMTP helo=<webmail.example.com>
postfix/smtpd[7015]: disconnect from localhost[::1]
If the option Allow users and scripts to use Sendmail is enabled at Tools & Settings > Mail Server Settings, then system users of subscriptions will be able to send email messages using the “sendmail” utility even if the limits for a mailbox and domain are exceeded.
The maximum number of messages that scripts can send will be defined by the limit for a corresponding subscription.