Author Topic: Two major problems with RC2  (Read 5742 times)

Offline Schurki

  • Newbie
  • *
  • Posts: 2
Two major problems with RC2
« on: January 02, 2008, 05:15:00 AM »
I have 2 major problems with RC2:

1.) Mails being sent are from "postmaster@mydomain.com", and not from the real sender Email Address, which causes non-delivery notifications (in case the receipient is wrong) being sent back to "postmaster@mydomain.com".

Here my mailserver log:

Code: [Select]
&quot;SMTPC&quot; 2588 82511 &quot;2008-01-02 10:06:49.734&quot; &quot;149.148.224.15&quot; &quot;SENT: MAIL FROM:<postmaster@mydomain.com>&quot;


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:

Code: [Select]
"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:

Code: [Select]
"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.

Offline Schurki

  • Newbie
  • *
  • Posts: 2
Re: Two major problems with RC2
« Reply #1 on: January 02, 2008, 06:18:39 AM »
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.

Offline tensor

  • Newbie
  • *
  • Posts: 6
Re: Two major problems with RC2
« Reply #2 on: January 10, 2008, 02:23:00 PM »
I believe it is a problem how PHP built-in mail routines are used in RC...