• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Can't send mail via POP/IMAP or webmail

F

fromlatam

Guest
I'm trying send emails using horde or outlook (POP/IMAP)
but the system show an error for local domain on the same
server:

"unable to add recipient [test at domain.com]: Invalid response code received from server"

==================
tail /var/log/psa-horde/psa-horde.log

May 24 22:38:09 HORDE [error] [imp] unable to add recipient [xxxx at domain.com]: Invalid response code received from server [on line 1066 of "/usr/share/psa-horde/imp/compose.php"]

May 24 22:38:23 HORDE [error] [imp] Could not log message details to Horde_History. Error returned: DB Error: no such table [on line 67 of "/usr/share/psa-horde/imp/lib/Maillog.php"]

===================
tail /var/log/mail.info

May 24 22:38:06 correo imapd: IMAP connect from @ [127.0.0.1]INFO: LOGIN, user=test, ip=[127.0.0.1], protocol=IMAP

May 24 22:38:06 correo imapd: 1148524686.406645 LOGOUT, user=test, ip=[127.0.0.1], headers=0, body=0, rcvd=61, sent=506, maildir=/var/qmail/mailnames/domain.com/test/Maildir

May 24 22:38:06 correo imapd: IMAP connect from @ [127.0.0.1]INFO: LOGIN, user=test, ip=[127.0.0.1], protocol=IMAP

May 24 22:38:06 correo relaylock: /var/qmail/bin/relaylock: mail from 127.0.0.1:20996 (localhost)

May 24 22:38:09 correo imapd: 1148524689.788712 LOGOUT, user=test, ip=[127.0.0.1], headers=0, body=0, rcvd=61, sent=506, maildir=/var/qmail/mailnames/domain.com/test/Maildir
 
Anyone find a solution on this? I have the same errors on two Plesk 7.5.4 machines. I've added the horde_histories tables and verified horde is writing to them, but no luck still with the unable to add recipient error.
 
Problem is definitely with SMTP Auth. If I turn on pop relay then I can send mail to outside users through horde. If I turn pop relay off and enable Auth = True in Horde then I get "Horde unable to authenticate".

SMTP Authentication is checked in Plesk and client MTA's connect just fine to send out.

My Horde config has:

$conf['mailer']['params']['host'] = 'localhost';
$conf['mailer']['params']['auth'] = 'true';
$conf['mailer']['type'] = 'smtp';

but still isn't authentication or communication properly to send outbound email.
 
Some days you feel like an idiot..

I musta flubbed and put in 127.0.0.0/32 by mistake in my whitelist through the GUI instead of 127.0.0.1/32. Once I changed it to 127.0.0.1 and set Horde to use Auth of 0 instead of true, Horde was then able to send email without needing to authenticate.
 
Back
Top