Synology problem sending email notification

Get help with all aspects of 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
chasajau
Newbie
Newbie
Posts: 2
Joined: September 22nd, 2016, 10:03 am

Synology problem sending email notification

Post by chasajau »

Hi all

Since I updated to DSM 6 I tried several times sending email notifications without success. I always got the error "Failed to connect to mail server" and thought the problem is my providers setup. But maybe it isn't, hopefully somebody can tell me if it is a bug or still a config issue.

To get more information about the answer from my provider I added the following line in the exception (line 86, emailer.py) to get debug log:

Code: Select all

logging.debug(errorcode[0])
got this output:

Code: Select all

2016-09-22 16:55:06,671::DEBUG::[emailer:77] Connecting to server xxx:465
2016-09-22 16:55:06,751::DEBUG::[emailer:86] 'module' object has no attribute 'SSLFakeSocket'
2016-09-22 16:55:06,751::DEBUG::[emailer:91] Non-SSL mail server detected reconnecting to server xxx:465
Is it possible that some python init function fails in ssmtplib.py?

Setup:
Synology DSM: DSM 6.0.2-8451 Update 1
Python: 2.7.11-15
Sabnzbd: 1.1.0-17
Email Provider: SMTP over SSL
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Synology problem sending email notification

Post by shypike »

It looks like there is a problem with the Python (and OpenSSL) libs of the DSM.
Nothing we can solve, I'm afraid.
You could try to use a non-SSL port (119 normally).
chasajau
Newbie
Newbie
Posts: 2
Joined: September 22nd, 2016, 10:03 am

Re: Synology problem sending email notification

Post by chasajau »

Ok, so I will be patient and wait for a fix.

Thank you
Post Reply