I have 2 major problems with RC2:
1.) Mails being sent are from "
[email protected]", and not from the real sender Email Address, which causes non-delivery notifications (in case the receipient is wrong) being sent back to "
[email protected]".
Here my mailserver log:
"SMTPC" 2588 82511 "2008-01-02 10:06:49.734" "149.148.224.15" "SENT: MAIL FROM:<[email protected]>"
2.) If I am using the address directory of a receiver with a friendly name e.g. "John Doe
" then squirrelmails addresses the receiver in the SMTP session incorrectly. Here an excerpt of my Mailserver log:
"SMTPC" 2588 82511 "2008-01-02 10:06:49.734" "149.148.224.15" "SENT: RCPT TO:"
"SMTPC" 2588 82511 "2008-01-02 10:06:49.734" "149.148.224.15" "RECEIVED: 501 5.1.3 Bad recipient address syntax"
The first line is incorrectly formatted and will be rejected by SMTP servers.
It should look like this:
"SMTPC" 2588 82511 "2008-01-02 10:06:49.734" "149.148.224.15" "SENT: RCPT TO:"
This makes Roundcube pretty much unusable. I am reverting back to Squirrelmail, until those 2 issues have been fixed.
OK, fixed the problem myself.
There was no SMTP Server configured in main.inc.php.
Changed this line:
$rcmail_config['smtp_server'] = '';
to
$rcmail_config['smtp_server'] = 'localhost';
And now it works.
I believe it is a problem how PHP built-in mail routines are used in RC...