Hello,
i installed a mailserver (Postfix und Dovecot).
I activated SMTP with TLS on Port 25 without Authentication. (Server is not an open relay)
I can send and read mails without any problems on Android, Thunderbird oder Windows Live Mail.
Now i want to try this with roundcube:
tls://localhost
Port: 25
I got this error on sending message: (IMAP is working, can read messages)
(5.7.0 Must issue a STARTTLS command first).
Can someone help me? Why works Thunderbird or Windows Live Mails and not Roundcube ?
How do you have it specified in your config? I use:
$config['smtp_server'] = 'tls://hostname';
Yes see -> tls://localhost
Quote from: CWollinger on May 12, 2014, 12:03:24 PM
Yes see -> tls://localhost
Do you have in in quotes as shown in my sample?
// ----------------------------------
// SMTP
// ----------------------------------
// SMTP server host (for sending mails).
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
// If left blank, the PHP mail() function is used
// Supported replacement variables:
// %h - user's IMAP hostname
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %t = domain.tld
$config['smtp_server'] = 'tls://localhost';
OK, and Roundcube and postfix are both installed on the same server? What are you using for the SMTP server name in Thunderbird?
Hello,
i use my domain name for Android or Thunderbird:
smtp.fireballs-gp.de
Port: 25
IMAP is works on roundcube. Is there maybe a bug in roundcube?
Have you tried using your domain name in Roundcube?
$config['smtp_server'] = 'tls://smtp.fireballs-gp.de';
Still same Problem:
[13-May-2014 18:31:18 +0200]: SMTP Error: SMTP error: Failed to set sender '
[email protected]' in /var/www/mail/program/lib/Roundcube/rcube.php on line 1497 (POST /mail/?_task=mail&_unlock=loading1399998677536&_lang=de_DE?_task=mail&_action=send)
root@h2154314:~# tail -f /var/www/mail/logs/smtp
[13-May-2014 18:35:12 +0200]: Recv: 250-STARTTLS
[13-May-2014 18:35:12 +0200]: Recv: 250-ENHANCEDSTATUSCODES
[13-May-2014 18:35:12 +0200]: Recv: 250-8BITMIME
[13-May-2014 18:35:12 +0200]: Recv: 250 DSN
[13-May-2014 18:35:12 +0200]: Send: MAIL FROM:<
[email protected]>
[13-May-2014 18:35:12 +0200]: Recv: 530 5.7.0 Must issue a STARTTLS command first
[13-May-2014 18:35:12 +0200]: Send: RSET
[13-May-2014 18:35:12 +0200]: Recv: 530 5.7.0 Must issue a STARTTLS command first
[13-May-2014 18:35:12 +0200]: Send: QUIT
[13-May-2014 18:35:12 +0200]: Recv: 221 2.0.0 Bye
SEE: http://trac.roundcube.net/ticket/1489888
Fixed issue with SASL Identification.
-> Issue fixed
-> Issue fixed