Plesk Horde Issues with Sending Mail

For future reference …
Had a few issues related to Horde sending mail. Although it appeared as though the mails were sent there was an issue with Horde using Sendmail.
One proposed solution was to edit php.ini and amend the disable_functions line in /etc/php.ini and remove the popen and escapeshellcmd functions so that PHP/Horde can use these for Sendmail.

disable_functions = symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd

 The other solution was to continue disabling these functions in PHP but to amend: /usr/share/psa-horde/config/conf.php
Changing:

$conf['mailer']['type'] = 'sendmail';

to

$conf['mailer']['type'] = 'smtp';

Restarting httpd and a quick test showed that it was working.

 

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>