• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Your message could not be sent. The user %user% is not allowed to send email

SubPixel

New Pleskian
Hi all,

i'm running Plesk Onyx version 17.0.17 Update 18

I've tried using both Postfix and Qmail, Dovecot and Courier.
When i keep the outgoing email limits enabled, no one user is able to send emails using php_mail().

The message i have in mail log is:
Your message could not be sent. The user %user% is not allowed to send email.
(where %user% is the Subscription username)

I'm going to post asap the log, i can't access my server atm.
Does any one had this issue?

Regards,
Pietro.
 
Looks like that %user% reached outgoing email limit. Have you checked it?

Also you can add %user% to whitelist using the command below:

# /usr/local/psa/admin/sbin/mailmng-outgoing --add-to-whitelist --sysuser=username
 
Looks like that %user% reached outgoing email limit. Have you checked it?

Also you can add %user% to whitelist using the command below:

# /usr/local/psa/admin/sbin/mailmng-outgoing --add-to-whitelist --sysuser=username
Hi, Plesk tells me that no use reached the limit.. How can i check the single user using command line?
Already tried with the white list, nothing changes.

Yesterday i found in the log that "psa-courier-imap-xxx" was missing, tried installing it, tried moving to Dovecot, tried back to Courier, no error messages for component not found but email not going out for the same reason (limits)..
 
Mar 15 10:22:15 webc1-hv1-gra journal: plesk sendmail[491786]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user tessit is not allowed to send email.
Mar 15 10:22:15 webc1-hv1-gra journal: plesk sendmail[491786]: handlers_stderr: REJECT
Mar 15 10:22:15 webc1-hv1-gra journal: plesk sendmail[491786]: REJECT during call 'limit-out' handler
Mar 15 10:22:17 webc1-hv1-gra py_limit_out[491791]: ERROR Rejecting message: system user uid='10044' is not allowed to send mail
Mar 15 10:22:17 webc1-hv1-gra journal: plesk sendmail[491790]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user tessit is not allowed to send email.#012REJECT
Mar 15 10:22:17 webc1-hv1-gra journal: plesk sendmail[491790]: REJECT during call 'limit-out' handler
Mar 15 10:30:57 webc1-hv1-gra py_limit_out[492174]: ERROR Rejecting message: system user uid='10038' is not allowed to send mail
Mar 15 10:30:58 webc1-hv1-gra journal: plesk sendmail[492173]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user servic is not allowed to send email.#012REJECT
Mar 15 10:30:58 webc1-hv1-gra journal: plesk sendmail[492173]: REJECT during call 'limit-out' handler
Mar 15 10:33:17 webc1-hv1-gra py_limit_out[492264]: ERROR Rejecting message: system user uid='10020' is not allowed to send mail
Mar 15 10:33:17 webc1-hv1-gra journal: plesk sendmail[492263]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user accors is not allowed to send email.#012REJECT
Mar 15 10:33:17 webc1-hv1-gra journal: plesk sendmail[492263]: REJECT during call 'limit-out' handler

as you can see more users have the same problem..
 
Do you have Allow users and scripts to use Sendmail option enabled in Tools & Settings > Mail Server Settings ?
 
Checking the outgoing monitor of the users from the log they are all as the following screenshots.
No limit reached...
fL4YeBZ.png

18IFS3U.png
 
Back
Top