Hello,
I'm running Postfix mail server that wants authentication before sending.
I'm experiencing following problem: When roundcube tries to send e-mail through my smtp server it gives '
[email protected] ' or '"
[email protected]"' for user authentication but it must be '
[email protected]' (see log below). When imap connects it provides the normal values and authentication doesn't fail.
Here is copy from my logs:
Aug 23 00:20:04 hostname authdaemond: cram: decoded challenge/response, username '"
[email protected]"'
Aug 23 00:20:04 hostname authdaemond: SQL query: SELECT username, password, "", 'pid', 'gid', 'maildir', maildir, concat(quota,'S'), "", "" FROM users WHERE username = "
[email protected] "
Aug 23 00:20:04 hostname authdaemond: zero rows returned
Aug 23 00:20:04 hostname authdaemond: authmysql: REJECT - try next module
Aug 23 00:20:04 hostname authdaemond: FAIL, all modules rejected
I have changed hostname,pid,gid and user for security reasons but other is the same.
Here is my smtp part of the config:
$rcmail_config['smtp_server'] = 'ssl://127.0.0.1';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = 'CRAM-MD5';
$rcmail_config['smtp_helo_host'] = '127.0.0.1';
The mail server works and send as expected with other imap or pop3 clients. Really need help with this issue :confused: