Page 1 of 1

Configuring mail acts strange

Posted: October 11th, 2017, 4:04 am
by pven
I use SABnzd 2.3.0 [ba7d906] at my Synology.

When trying to configure mail I encounter something strange.

I fill in all the fields. When I leave 'Email Sender' empty I can send a notification, at least: SABnzbd tells me it is sent, but I never receive it. When I hit save right after this, the save-button shows 'failed'.

Logging shows:

Code: Select all

2017-10-11 11:01:19,671::INFO::[api:733] Sending test email
2017-10-11 11:01:45,072::INFO::[config:853] Writing settings to INI file /usr/local/sabnzbd/var/config.ini

Re: Configuring mail acts strange

Posted: October 11th, 2017, 4:57 am
by safihre
Is logging already set to debug? There is nothing else in the log?

Re: Configuring mail acts strange

Posted: October 11th, 2017, 5:43 am
by pven
Ah, debugging shows a bit more, but not much:

Code: Select all

2017-10-11 12:40:26,296::INFO::[api:733] Sending test email
2017-10-11 12:40:26,305::DEBUG::[config:666] Missing configuration item email,email_cats
2017-10-11 12:40:26,306::DEBUG::[notifier:145] Incorrect Notify option email:email_cats
2017-10-11 12:40:33,902::INFO::[config:853] Writing settings to INI file /usr/local/sabnzbd/var/config.ini

Re: Configuring mail acts strange

Posted: October 11th, 2017, 6:12 am
by safihre
Aah, I found the a bug.
I will fix it for 2.3.1.

It should still work fine when to actually send emails (just try a small job), just the test is broken.

Re: Configuring mail acts strange

Posted: October 11th, 2017, 6:18 am
by pven
Thanks!

(At this moment I have problems with sending mails to Gmail, but that has nothing to do with SABnzbd.)

Re: Configuring mail acts strange

Posted: October 11th, 2017, 6:35 am
by safihre
I also noticed now that something else was broken, so limiting email notifications to only specific categories didn't work either. It would just always send them.