Page 1 of 1

Failed to connect to mail server

Posted: April 22nd, 2012, 2:41 pm
by kamaran
Hi Guys,

Sabnzbd use to send me email notifications fine, a few days ago I upgraded and now I get the following message whenever testing:

"Failed to connect to mail server"

I have tried the recommended gmail settings, blueyonder, yahoo - nothing works.

I have also tried disabling my firewall - again no good.

I'm now running the win32 version 0.7.0Beta3 on Windows Home server 2011.

Help please

Re: Failed to connect to mail server

Posted: April 23rd, 2012, 1:35 am
by sander
Possible causes:

- incorrect / mis-spelled mail server setting
- your firewall blocking outgoing smtp-sessions
- your ISP blocking outgoing smtp-sessions (only allowing their own SMTP-server)

HTH

Re: Failed to connect to mail server

Posted: April 23rd, 2012, 5:14 am
by kamaran
sander wrote:Possible causes:

- incorrect / mis-spelled mail server setting
- your firewall blocking outgoing smtp-sessions
- your ISP blocking outgoing smtp-sessions (only allowing their own SMTP-server)

HTH
Thanks for the reply, unfortunately I don't think that's it:

I triple checked the smtp server spellings - and used copy and paste where possible.

Firewall is disabled

smtp is working fine from Outlook on my other PC's?

Re: Failed to connect to mail server

Posted: April 23rd, 2012, 5:48 am
by sander
OK, that makes me even more convinced it's your firewall and/or virusscanner.

So my advice:
Temporarily de-install and remove your firewall(s). Disabling is often not enough.
Temporarily de-install and remove your viruscanner(s). Disabling is often not enough.
Reboot your system
Try again

Re: Failed to connect to mail server

Posted: August 15th, 2012, 4:24 pm
by PacoBell
It's none of the above. Gmail, at least, requires SSL/TLS. I'm guessing (just a hunch) that SAB doesn't support SMTP over SSL yet. If not, that needs to be fixed.

Re: Failed to connect to mail server

Posted: August 16th, 2012, 12:39 am
by sander
PacoBell wrote:It's none of the above. Gmail, at least, requires SSL/TLS. I'm guessing (just a hunch) that SAB doesn't support SMTP over SSL yet. If not, that needs to be fixed.
No; SAB has no problems sending via gmail-smtp-in.l.google.com

FWIW: this is de logging of SAB sending mail via gmail-smtp-in.l.google.com:

Code: Select all

2012-08-16 10:47:32,779::INFO::[api:640] Sending testmail
2012-08-16 10:47:32,781::DEBUG::[emailer:59] Connecting to server gmail-smtp-in.l.google.com.:25
2012-08-16 10:47:32,900::DEBUG::[emailer:72] Non-SSL mail server detected reconnecting to server gmail-smtp-in.l.google.com.:25
2012-08-16 10:47:32,989::DEBUG::[emailer:86] TLS mail server detected
2012-08-16 10:47:33,163::INFO::[emailer:123] Notification e-mail succesfully sent
... and the mail indeed arrives in the destination mailbox.

And: the OP cannot send via any mail/smtp server, so it's not gmail related.

HTH

Re: Failed to connect to mail server

Posted: August 16th, 2012, 3:30 am
by kamaran
I eventually got this working to gmail, blueyonder failed.