E-Mail Notification Not Working For Me

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
ridiz
Newbie
Newbie
Posts: 2
Joined: November 8th, 2013, 2:02 pm

E-Mail Notification Not Working For Me

Post by ridiz »

I setting up a new sabnzbd instance and having issues with the e-mail notification. I am running 0.7.16 on OS X 10.9 with the built-in Python v2.7.2.

When I try to send an e-mail notification, I get:

Code: Select all

2013-11-08 13:58:52,295::INFO::[api:654] Sending testmail
2013-11-08 13:58:52,390::DEBUG::[emailer:59] Connecting to server smtp.gmail.com:465
2013-11-08 13:58:52,846::DEBUG::[emailer:72] Non-SSL mail server detected reconnecting to server smtp.gmail.com:465
2013-11-08 13:59:52,913::ERROR::[emailer:37] Failed to connect to mail server
I have the same version of sabnzbd running on a Windows host with the exact same notification configuration. That one works. Here is the relevant piece from the log file:

Code: Select all

2013-11-08 14:13:18,043::INFO::[api:654] Sending testmail
2013-11-08 14:13:18,069::DEBUG::[emailer:59] Connecting to server smtp.gmail.com:465
2013-11-08 14:13:19,237::DEBUG::[emailer:65] Connected to server smtp.gmail.com:465
2013-11-08 14:13:19,676::INFO::[emailer:123] Notification e-mail succesfully sent
It seems like it may be related to SSL/TLS detection?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: E-Mail Notification Not Working For Me

Post by shypike »

I'll look into it.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: E-Mail Notification Not Working For Me

Post by shypike »

You should use smtp.gmail.com:587
and follow what's said here: http://wiki.sabnzbd.org/configure-notifications-0-7
There are specific instructions for gmail.
It works for me like this.
Are you using some software firewall? (I'm not.)
ridiz
Newbie
Newbie
Posts: 2
Joined: November 8th, 2013, 2:02 pm

Re: E-Mail Notification Not Working For Me

Post by ridiz »

Changing the port to 587 worked for me. Interestingly, 465 still works on my Windows install, but it won't work in OS X.

Oh well, I'll just use 587 - Thank you!!
kobyz
Newbie
Newbie
Posts: 2
Joined: December 4th, 2013, 2:15 am

Re: E-Mail Notification Not Working For Me

Post by kobyz »

Hijacking this thread with the same bug:
I'm using win7 64bit
tried both 587 and 465 ports for google.
followed the instructions to the letter.
But still get connection failure.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: E-Mail Notification Not Working For Me

Post by shypike »

Are you using a software firewall?
kobyz
Newbie
Newbie
Posts: 2
Joined: December 4th, 2013, 2:15 am

Re: E-Mail Notification Not Working For Me

Post by kobyz »

no
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: E-Mail Notification Not Working For Me

Post by shypike »

Sorry, could be a million causes.
It works for most people, but somehow not for you.
It's not feasible to do debug session on your system.
microzoa
Newbie
Newbie
Posts: 1
Joined: September 29th, 2014, 12:37 am

Re: E-Mail Notification Not Working For Me

Post by microzoa »

I'm wondering if you have 2 factor authentication turned on? That was my issue. Simply went into Google apps https://security.google.com/settings/se ... ppasswords and created a password and it worked.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: E-Mail Notification Not Working For Me

Post by sander »

microzoa wrote:I'm wondering if you have 2 factor authentication turned on? That was my issue. Simply went into Google apps https://security.google.com/settings/se ... ppasswords and created a password and it worked.
I have 2 factor authentication turned on on my gmail, and I can just send mail via gmail-smtp-in.l.google.com (or: 74.125.133.26:25 to avoid IPv6 connections) without a user name / password filled out, as long as the From and To are my gmail address
Post Reply