- Plesk 12.5 for Linux
Attempt to send email using Horde webmail fails with the following error message:
py_limit_out: ERROR Rejecting message: system user uid='498' is not allowed to send mail
plesk sendmail: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user horde_sysuser is not allowed to send email.#012REJECT
plesk sendmail: REJECT during call 'limit-out' handler
- Outgoing mail control is enabled for subscription.
Horde does not use SMTP authorization as default. Emails are being sent via system user horde_sysuser and therefore blocked.
Back up the Horde configuration file:
# cp /etc/psa-webmail/horde/horde/conf.php /etc/psa-webmail/horde/horde/conf.php.bak
Enable SMTP authorization in it:
$conf['mailer']['params']['host'] = 'localhost';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['auth'] = 'PLAIN';
$conf['mailer']['type'] = 'smtp';
$servers['smtp']['hordeauth'] = true;
- Enable relay authorization in Plesk if needed: Tools & Settings > Mail Server Settings > Relay options > Authorization is required: SMTP.