If you know where to verify my version number, I am sure this will be a start in the right direction. Once we know we are running the same version, I can find you an exact file name and line number.
 
Todd
----- Original Message -----
From: Brady J. Frey
To: Mojo Jojo
Cc: RoundCube Users
Sent: Thursday, February 09, 2006 11:49 PM
Subject: Re: Outbound email fails via smtp

Well, no dice, I reinstalled, downloaded multiple times, and I do not have a helo line anywhere, just my SMTP_CONN line... so I have no idea what I'm missing in my files. The irony being I got it to work on a Linux Shared hosting environment, but not on our personal servers with rather aggressive spam protection -- and that server's a dedicated in house web server, with the other mail server at a separate IP, so I'm sure you're onto something, but nothings working for me.

Mojo Jojo wrote:
I didn't install via CVS, I just downloaded the tar.gz from the RoundCube site.
----- Original Message -----
From: Brady J. Frey
To: Mojo Jojo
Cc: RoundCube Users
Sent: Thursday, February 09, 2006 6:53 PM
Subject: Re: [RoundCube Users] Outbound email fails via smtp

Wow, I don't have that line at all -- I have:
    $SMTP_CONN = new Net_SMTP($CONFIG['smtp_server'], $smtp_port, 'localhost);

I take it that my CVS version is not current then, and should do a patch -- changing that to my web address did not work for me.

Mojo Jojo wrote:
If you are interested this is what I found out and how I fixed our install, it's now working perfectly!
 
The problem was that RoundCube was doing the EHLO to our mail server and claiming to be localhost (which it's not) instead of the actual hostname (roundcube.whatever.com). Our mail server saw this as a SPAM attempt in which the spammer was claiming to be localhost which is what they do many times.
 
To fix this, I did some digging in the code and found a file eventually named rcube_smtp.inc which is in the program/include directory.
 
I found this line:
$helo_host = !empty($_SERVER['server_name']) ? $_SERVER['server_name'] : 'localhost';
 
and changed it to:
$helo_host = !empty($_SERVER['server_name']) ? $_SERVER['server_name'] : 'roundcube.mydomain.com';
 
Where roundcube.mydomain.com is the full hostname of the server running the RoundCube code.
 
Hope this helps!
 
--Todd
 
--
Start Your Own Internet Service!
http://www.YourOwnISP.com
 
----- Original Message -----
Sent: Thursday, February 09, 2006 1:59 PM
Subject: [RoundCube Users] Outbound email fails via smtp

I've attempted to program all settings into our server for outbound email usage, but to no avail. Currently we're a Cyrus OS X server, with smtp, password authorization required for outbound sending of messages. Now, I get the %u/p parts, and I have it set to the proper smtp address... should I not just be using 'LOGIN' as the password protocal? I've essentially tried all, and none seem to work, I'm wondering if there's a different outbound preference I should put in there that I'm not seeing? Thanks all!

p.s. -- I second the archival request.

--
Brady J. Frey
creative director // dotfive

www.dotfive.com


--
Brady J. Frey
creative director // dotfive

www.dotfive.com