Author Topic: SMTP Error - Unable to send email  (Read 33525 times)

Offline unixgolf

  • Newbie
  • *
  • Posts: 2
SMTP Error - Unable to send email
« on: July 22, 2007, 05:10:31 PM »
I have had Roundcube for a long time working flawlessly, but within the last few days I have been unable to send email, (receiving and viewing emails fine) the following message appears in the error log:

SMTP Error: SMTP error: Authentication failure: SMTP server does no support authentication
 in /homepages/xx/xxxxxxxxx/htdocs/xxxxxxx/rcube/program/steps/mail/sendmail.inc on line 253.

I use 1and1 (US) as my provider. I know it probably isn't a Roundcube issue, but I am trying to figure out where to start looking at the issue??

Thanks,
JD

Offline unixgolf

  • Newbie
  • *
  • Posts: 2
Re: SMTP Error - Unable to send email
« Reply #1 on: July 24, 2007, 02:41:26 PM »
Just a small update, in the main.inc.php file I removed the smtp server (smtp.1and1.com) and left it blank thus forcing RC to use PHP mail() to send mail, which seems to work. Buy I would rather be using smtp.....Any input would be apprciated!

Thanks,
JD

Offline indafastln

  • Newbie
  • *
  • Posts: 1
Re: SMTP Error - Unable to send email
« Reply #2 on: August 16, 2007, 09:11:11 PM »
i'm also trying to setup roundcube on a 1&1 account with no luck.
i've tried all of the authentication options but still get authentication errors while trying to send e-mails.
anyone have any ideas?

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: SMTP Error - Unable to send email
« Reply #3 on: August 28, 2007, 10:16:47 PM »
The SMTP server should be set up like you have in say Thunderbird or Outlook or Apple Mail or Eudora etc. So if you have to authenticate with 1&1, you may want to ask them what authentication method they're using (or even what mail server: Cyrus, Postfix, etc.) so that maybe we can add an authentication method for it or figure out what's wrong.
 
  

Offline Gus

  • Jr. Member
  • **
  • Posts: 16
Re: SMTP Error - Unable to send email
« Reply #4 on: August 29, 2007, 05:45:03 AM »
I had the same problem with my 1and1 setup. I think i found out the issue.

It was to do with open ports with my hosting company. The SSL port that 1and1 require when connecting to their smtp server was not open outbound with my hosting ISP. I contacted support and after it was opened on my virtual server, i could connect fine.
I also tested over port25 (which was already open) with a different smtp server, and it worked to.

In the end, my virtual server has it's own SMTP service with AUTH, so i just changed smtp= to localhost.

Cheers

Gus

Offline wfong

  • Newbie
  • *
  • Posts: 9
Re: SMTP Error - Unable to send email
« Reply #5 on: September 04, 2007, 02:41:04 PM »
I set up a Postfix instance to relay mail to a different MTA for actual delivery, and then set up RoundCube (and any other MUA) to send to that Postfix instance. I am sure Postfix can connect to 1&1 via standard authentication mechanisms.

Hope that helps,
-will

Offline d010101

  • Newbie
  • *
  • Posts: 1
Re: SMTP Error - Unable to send email
« Reply #6 on: September 27, 2007, 03:05:38 AM »
i've got the same problem with 1&1 in Germany.
It works fine to poll mails with Imap and send with the mail() function, but i'm still trying to sort out sending via SMTP and also poll via IMAP SSL.

Offline dehartma

  • Newbie
  • *
  • Posts: 1
1&1 - You won't believe it.
« Reply #7 on: September 16, 2008, 03:50:30 PM »
If you are using 1&1 and getting the "Authentication failure: SMTP server does no support authentication", try this. Remove the username and password from the smtp config. It worked for me. Makes me cringe that you can connect without them, but it works. At least for now!