Reindl Harald h.reindl@thelounge.net wrote:
jesus christ configure smtp_user und smtp_pass and with %u and %p the login-data used for the roundcube login are used here given that normally they are the same as for IMAP/SMTP
// SMTP username (if required) if you use %u as the username Roundcube will use the current username for login $rcmail_config['smtp_user'] = '%u'; // SMTP password (if required) if you use %p as the password Roundcube will use the current user's password for login $rcmail_config['smtp_pass'] = '%p';
did that
Dec 25 20:04:39 delta anup/smtpd[1389]: connect from sites.anup.de[78.47.3.17] Dec 25 20:04:39 delta anup/smtpd[1389]: disconnect from sites.anup.de[78.47.3.17]
is all the mail.log says and Roundcube says SMTP Fehler (250): Die Authentisierung ist fehlgeschlagen.
[25-Dec-2013 20:06:38 +0100]: Recv: 220 mail.anup.de [25-Dec-2013 20:06:38 +0100]: Send: EHLO www.anup.de [25-Dec-2013 20:06:38 +0100]: Recv: 250-mail.anup.de [25-Dec-2013 20:06:38 +0100]: Recv: 250-PIPELINING [25-Dec-2013 20:06:38 +0100]: Recv: 250-SIZE 20971520 [25-Dec-2013 20:06:38 +0100]: Recv: 250-STARTTLS [25-Dec-2013 20:06:38 +0100]: Recv: 250-ENHANCEDSTATUSCODES [25-Dec-2013 20:06:38 +0100]: Recv: 250-8BITMIME [25-Dec-2013 20:06:38 +0100]: Recv: 250 DSN [25-Dec-2013 20:06:38 +0100]: Send: RSET [25-Dec-2013 20:06:38 +0100]: Recv: 250 2.0.0 Ok [25-Dec-2013 20:06:38 +0100]: Send: QUIT [25-Dec-2013 20:06:38 +0100]: Recv: 221 2.0.0 Bye
Could it be %u only submits the username without the domainpart?
This are the actual settings: $rcmail_config['smtp_server'] = '78.47.3.18'; $rcmail_config['smtp_port'] = 25; $rcmail_config['smtp_user'] = '%u'; $rcmail_config['smtp_pass'] = '%p';
Andreas