I’ve posted several times about the problems that I’m having getting roundcube 
to send mail through postfix. I think you can throw out all the previous posts 
and start anew.

In one exchange, Victor pointed out that I did not have -o 
smtpd_tls_wrappermode=yes set in master. (It was commented out. No idea why.) 
So, I uncommented that and restarted postfix.

Immediately, I was unable to send mail to postfix, but the behavior of 
roundcube had changed. Instead of saying unable to connect to server, it said 
sending and then eventually timed out.

So, here is what I now have configued in roundcube:

$config['smtp_host'] = 'tls://mail.stovebolt.com:465';
$config['smtp_auth_type'] = 'PLAIN';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p’;

When I attempt to send mail, this is what appears in the roundcube smtp log:

[18-Jun-2024 02:57:41 -0500]: <kudbhq2l> Connecting to 
tls://mail.stovebolt.com:465…

And this is what appears in the roundcube errors log

[18-Jun-2024 03:02:41 -0500]: <kudbhq2l> PHP Error: Invalid response code 
received from server (POST 
/webmail/?_task=mail&_unlock=loading1718697460941&_framed=1&_action=send)
[18-Jun-2024 03:02:41 -0500]: <kudbhq2l> SMTP Error: Connection failed:  (Code: 
-1) in /var/www/html/webmail/program/lib/Roundcube/rcube.php on line 1794 (POST 
/webmail/?_task=mail&_unlock=loading1718697460941&_framed=1&_action=send)

Does this invalid response code mean that I still don’t have something 
configured correctly in postfix?

Here is my postconf -nf: https://www.stovebolt.com/postconfnf.txt
Here is my postconf -Mf: https://www.stovebolt.com/postconfMf.txt

It’s mystifying to me that postfix seems to be working fine, and I can send 
mail from my laptop but not directly from the server. Meanwhile, our forum 
software (UBBThreads) is having no problems at all sending mail to the same 
server.

Paul Schmehl
paul.schm...@gmail.com



_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to