0.8.0Beta1: Mail using CRAM-MD5 authentication error

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
rtfm_joey
Newbie
Newbie
Posts: 4
Joined: September 30th, 2015, 2:42 pm

0.8.0Beta1: Mail using CRAM-MD5 authentication error

Post by rtfm_joey »

Hi,

It seems that 0.8.0Beta 1 has issues when using CRAM-MD5 for TLS authentication.

Log from e-mail server (Kerio Connect 8.5.2) with CRAM-MD5 enabled:

Code: Select all

[30/Sep/2015 21:27:49][7309] {smtps} Sent SMTP greeting to xxx.dynamic.ziggo.nl:55068
[30/Sep/2015 21:27:49][7309] {smtps} Command "
[30/Sep/2015 21:27:49][7309] {smtps} Command 
[30/Sep/2015 21:27:49][7309] {smtps} Command /+'#
[30/Sep/2015 21:27:49][7309] {smtps} Command 
[30/Sep/2015 21:27:49][7309] {smtps} Connection to SMTP server xxx.dynamic.ziggo.nl lost: (104) Unknown error 104
[30/Sep/2015 21:27:49][7309] {smtps} SMTP server session end
Log from e-mail server (Kerio Connect 8.5.2) with CRAM-MD5 disabled:

Code: Select all

[30/Sep/2015 21:34:19][17287] {smtps} Sent SMTP greeting to xxx.dynamic.ziggo.nl:55077
[30/Sep/2015 21:34:19][17287] {smtps} Command ehlo nas.xxx.xxx
[30/Sep/2015 21:34:19][17287] {smtps} Sent reply to EHLO: 250 xxx.xxx ...
[30/Sep/2015 21:34:19][17287] {smtps} Command STARTTLS
[30/Sep/2015 21:34:19][17287] {smtps} Successfully switched to TLS mode
[30/Sep/2015 21:34:19][17287] {smtps} Command ehlo nas.xxx.xxx
[30/Sep/2015 21:34:19][17287] {smtps} Sent reply to EHLO: 250 xxx.nl ...
[30/Sep/2015 21:34:19][17287] {smtps} Command AUTH PLAIN AHNhYm56YmQAc2FiMDAz
[30/Sep/2015 21:34:19][17287] {smtps} Started authentication method PLAIN
[30/Sep/2015 21:34:20][17287] {smtps} Sent reply to AUTH: 235 2.0.0 Authentication successful (user sabnzbd@xxx.nl)
The log from sabnzbd doesn't show anything particular useful:

Code: Select all

2015-09-30 21:27:48,792::INFO::[api:694] Sending testmail
2015-09-30 21:27:48,813::DEBUG::[emailer:80] Connecting to server mail.xxx.xxx3000
2015-09-30 21:27:49,432::DEBUG::[emailer:93] Non-SSL mail server detected reconnecting to server mail.xxx.xxx:3000
2015-09-30 21:27:49,696::DEBUG::[emailer:107] TLS mail server detected
2015-09-30 21:27:49,772::ERROR::[emailer:37] Onbekende authenticatie fout bij de e-mailserver
The last line translates as 'Unknown authentication error'.

It seems there is an issue with the CRAM-MD5 implementation in the used email ibrary. Is there any way to get this fixed? I would really like to enable CRAM-MD5 on the mail server.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: 0.8.0Beta1: Mail using CRAM-MD5 authentication error

Post by shypike »

Which OS are you using?
Please note that we have limited email support, there are just too many different servers.
rtfm_joey
Newbie
Newbie
Posts: 4
Joined: September 30th, 2015, 2:42 pm

Re: 0.8.0Beta1: Mail using CRAM-MD5 authentication error

Post by rtfm_joey »

Os:

Code: Select all

root@nas:/home/joey# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty
Hm, I did some quick Googling and found that CRAM-MD5 i being deprecated, so maybe I should leave it turned off :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: 0.8.0Beta1: Mail using CRAM-MD5 authentication error

Post by shypike »

rtfm_joey wrote: Hm, I did some quick Googling and found that CRAM-MD5 i being deprecated, so maybe I should leave it turned off :)
So, SABnzbd's "standard" TLS is good enough?
Post Reply