Sending mail uses wrong server address
Posted: 02 July 2008 04:22 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  163
Joined  05-26-2003

I’ve set up sending mail via a contact form (which has always worked before - easily). This time, using Sendmail and phpMail don’t seem to get the emails to me, even though they say they’ve been sent when debugging is turned on. One customer said that Spamhaus rejected the mails, so that may or may not be the problem.

So, I resorted to using SMTP, but get the following error:

Unable to send email at this time.
Debugging Message
220 auth
.smtp.oneandone.co.uk (mrelayeu7) Welcome to Nemesis ESMTP server

hello
:

Failed to Send Command. Error:
Failed to send AUTH LOGIN command. Error:

from: 421 auth.smtp.oneandone.co.uk connection timed out

Failed to Send Command
. Error: 421 auth.smtp.oneandone.co.uk connection timed out

to
:

Failed to Send Command. Error:

data:

Failed to Send Command. Error:

Failed to send SMTP email. Error:
Unable to send email using SMTP

The odd thing is that I know that auth.smtp.oneandone.co.uk is the wrong address and in fact, System Preferences ›  Email Configuration uses auth.smtp.1and1.co.uk.

Where is EE finding that wrong server name? I’m sure I’ve not put it anywhere…

Profile
 
 
Posted: 02 July 2008 07:21 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Just surfing around a bit- try it with these settings via googling.

SMTP server: auth.smtp.oneandone.co.uk
Username and Password Required checkbox: unchecked

Any luck w/that?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 July 2008 07:29 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  163
Joined  05-26-2003

No, that’s the one that doesn’t work. See the error message above.

Not sure what your unchecked thing is referring to. auth usually means that authorisation (i.e., username and password) is required. And, of course, there’s no checkbox in the email settings page…

(ExpressionEngine 1.6.3 - Build:  20080421, by the way)

Profile
 
 
Posted: 02 July 2008 07:37 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

I’m pretty sure that addy is coming back from the mail server- it’s not what EE’s sending out.  I just googled around and found this thread which suggested the alternate server.  And if you don’t put in a username or password, it will work as long as it’s not required.  (In other words- EE doesn’t require it.)

I think it’s the server rather than an EE setting.  But flipping things around may get us some different error messages to confirm.

Make sense?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 July 2008 07:45 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
RankRank
Total Posts:  163
Joined  05-26-2003

OK - I see what you’re saying. It’s just so odd that I put one server in EE (auth.smtp.1and1.co.uk) and the error message comes back from a completely different one. The one I use in EE works in my email client, for example and that also has authorisation turned on.

I will try putting the “wrong” one in EE and see what I get back…

Profile
 
 
Posted: 02 July 2008 07:53 AM   [ Ignore ]   [ # 5 ]  
Lab Assistant
RankRank
Total Posts:  163
Joined  05-26-2003

This is what I get using auth.smtp.oneandone.co.uk:

Unable to send email at this time.
Debugging Message
220 auth
.smtp.oneandone.co.uk (mrelayeu7) Welcome to Nemesis ESMTP server

hello
:

Failed to Send Command. Error:
Failed to send AUTH LOGIN command. Error:

from: 421 auth.smtp.oneandone.co.uk connection timed out

Failed to Send Command
. Error: 421 auth.smtp.oneandone.co.uk connection timed out

to
:

Failed to Send Command. Error:

data:

Failed to Send Command. Error:

Failed to send SMTP email. Error:
Unable to send email using SMTP

and this when I use auth.smtp.co.uk and leave the username and password blank:

Unable to send email at this time.
Debugging Message
220 auth
.smtp.oneandone.co.uk (mrelayeu2) Welcome to Nemesis ESMTP server

hello
:

Failed to Send Command. Error:

from:

Failed to Send Command. Error:

to: 421 auth.smtp.oneandone.co.uk connection timed out

Failed to Send Command
. Error: 421 auth.smtp.oneandone.co.uk connection timed out

data
:

Failed to Send Command. Error:

Failed to send SMTP email. Error:
Unable to send email using SMTP

Any other ideas?

Profile
 
 
Posted: 02 July 2008 08:00 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  163
Joined  05-26-2003

nevermind!

I got myself taken off the Spamhaus naughty list and phpMail works again, so this is more or less solved.

I may end up back on the list since some of the stuff they said was required (proper reverse DNS mapping) is somewhat out of my control, so I have no idea if we do that correctly or not, but if anyone comes up against the same issue (mails appearing to be sent but never reaching their destination), you can check your IP addess against Spamhous’s list here:

http://www.spamhaus.org/lookup.lasso

Profile
 
 
Posted: 02 July 2008 08:08 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Poop- no help there.

OK- you send via smtp via your email client- you test on outlook or?  And putting in the exact settings from the client (that we know works)- still gets you that first debug message.  Am I right so far?  Do you remember if you had to tweak a port number, anything like that?  And run a quick test right now using the client- make sure it’s sending ok now- in case it’s some temporary blip.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 July 2008 08:19 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  163
Joined  05-26-2003

I use thunderbird. And yes, exact settings that are in my client and the client email works every time. No port number tweaks or anything.

The mailserver, by the way, is here in the UK (on oneandone, obviously) and the webserver is in the states (amazon’s new EC2 web services). The error message takes a good 3 to 5 minutes to show up, so the error may actually be a timeout for some reason?

Like I said, since Spamhaus took us off their list, I can use PHPMail again, but that may not last if the DNS servers aren’t set up to their liking, so getting an SMTP solution would be nice if anyone can decode that error message!

Profile
 
 
Posted: 02 July 2008 08:33 AM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Hm- I’m out of ideas at the moment, so let me bump the crew.  See if they spot something I’m not.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 July 2008 08:36 AM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Hm- but…. before I do that, based on this post- is it a windows box?  And while we’re at it- check in ‘Admin- System Prefs- Email’ that you have the first two fields filled out- webmaster name and return email.

See if it makes any difference.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 July 2008 08:45 AM   [ Ignore ]   [ # 11 ]  
Lab Assistant
RankRank
Total Posts:  163
Joined  05-26-2003

No - linux (LAMP) server. First two fields in the email configuration are, indeed, filled out.

Profile
 
 
Posted: 02 July 2008 09:02 AM   [ Ignore ]   [ # 12 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Argh- ok, I’m off to query the crew.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 July 2008 09:41 AM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

OK- crew isn’t seeing anything wrong on this end, so best advice at the moment is to contact the hosts and see if they can advise further.  Let us know what they have to say.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 July 2008 02:05 PM   [ Ignore ]   [ # 14 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15502
Joined  05-15-2004
yolise - 02 July 2008 08:00 AM

I may end up back on the list since some of the stuff they said was required (proper reverse DNS mapping) is somewhat out of my control, so I have no idea if we do that correctly or not, but if anyone comes up against the same issue (mails appearing to be sent but never reaching their destination), you can check your IP addess against Spamhous’s list here: http://www.spamhaus.org/lookup.lasso

Well, thanks for letting us know. Spamhaus is by no means the only real time blacklist, of course, and their operations can be rather controversial at times. If you want to comply with their policies, make sure you have somebody properly configure your DNS records, mail servers etc.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65096 Total Logged-in Users: 57
Total Topics: 82243 Total Anonymous Users: 37
Total Replies: 442010 Total Guests: 294
Total Posts: 524253    
Members ( View Memberlist )