Messages Dropped if Email Fails to Connect/Authenticate

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
User avatar
abeam89
Newbie
Newbie
Posts: 10
Joined: October 18th, 2009, 2:39 am

Messages Dropped if Email Fails to Connect/Authenticate

Post by abeam89 »

Hello,
I have been experiencing this one for a while, and I just didn't really think much of it until lately when it became more prevalent. Some might consider this a feature request, so I hope I'm not frustrating anyone with this post. I also did a quick search before posting, but nothing stood out to me as being similar.

I use mail notifications for all of my downloads. It helps me keep track of everything and makes life easier for me. Unfortunately, SABnzbd occasionally fails to connect to my mail server. While I don't necessarily blame this on SABnzbd, its behavior for messages that should have been sent during a given connection is what I find undesirable and consider a bug.

Current behavior:
Email account fails to connect/authenticate and generates a warning
Message is dropped, disappears into oblivion

Desired behavior:
Email account fails to connect/authenticate and generates a warning
Message is queued and sent in a subsequent connection attempt

Hopefully I'm not frustrating anyone with this. It's really not a huge deal, but does frustrate me. I suppose I could take a look at it myself rather than asking others to do so, but I just really don't have the time right now. I appreciate everyone's hard work on this wonderful software project.

- Beam

Configuration:
Version: SABnzbd 0.6.8
OS: Ubuntu 11.04
Install type: Python source
Skin: Plush
Firewall software: None
IPV6? No
Reproducible? Indirectly, only occurs when an email connection/authentication fails
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Messages Dropped if Email Fails to Connect/Authenticate

Post by shypike »

The email option is nothing more than an extra.
We didn't put that much work in it and we considered maintaining a mail queue just too much work.
Maintaining an free of charge open source project with just a few people
means we have to be very selective in subjects to spend time on.
Of course we're open to contribution of software improvements by other people.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Messages Dropped if Email Fails to Connect/Authenticate

Post by sander »

If you want fault-tolerant mail handling, you could install a local mail handler ("MTA") on your Ubuntu machine.

I just followed the instructions on http://library.linode.com/email/exim/se ... 0-maverick , selecting "Mail sent by smarthost; no local mail", and it works for me. Follow the setup instruction, and make sure you fill out the correct smarthost (something like smtp.myISP.com); you can leave the other options on default.

If your smarthost needs authentication, fill out /etc/exim4/passwd.client

HTH
Post Reply