Email connection failing

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
locust76
Newbie
Newbie
Posts: 2
Joined: September 21st, 2011, 3:06 am

Email connection failing

Post by locust76 »

Hello,

I have built my own mailserver using Postfix, Dovecot and Saslauthd. SMTP connections are encrypted via STARTTLS with normal, non-encrypted passwords. Every mail client I've set up works with it, but Sabnzbd refuses to connect properly. When I test my mail server settings, Sabnzbd says:

Code: Select all

Email Test Result = Failed to authenticate to mail server
My mail log for my server looks like this:

Code: Select all

Sep 21 10:09:48 huttnet postfix/smtpd[13255]: connect from reverseDNSname[my public ip]
Sep 21 10:09:48 hostname postfix/smtpd[13255]: lost connection after UNKNOWN from reverseDNSname[my public ip]
Sep 21 10:09:48 hostname postfix/smtpd[13255]: disconnect from reverseDNSname[my public ip]
Sep 21 10:09:48 hostname postfix/smtpd[13255]: connect from reverseDNSname[my public ip]
Sep 21 10:09:48 hostname postfix/smtpd[13255]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 10:09:48 hostname postfix/smtpd[13255]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 10:09:48 hostname postfix/smtpd[13255]: warning: SASL authentication failure: no secret in database
Sep 21 10:09:48 hostname postfix/smtpd[13255]: warning: reverseDNSname[my public ip]: SASL CRAM-MD5 authentication failed: authentication failure
Sep 21 10:09:48 hostname postfix/smtpd[13255]: lost connection after AUTH from reverseDNSname[my public ip]
Sep 21 10:09:48 hostname postfix/smtpd[13255]: disconnect from reverseDNSname[my public ip]
Is Sabnzbd trying to encrypt the password? If yes, how do I stop that from happening? Is there a hidden setting somewhere that I need to change?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Email connection failing

Post by shypike »

We don't have the resources to test the email module with all mail servers.
It works with most ISP servers, gmail.com and live.com.
Yes, I know it has shortcomings, but solving those is a lot work and doesn't contribute much for most users.
I realize this is not a satisfactory answer, but those are the realities of any understaffed open source project.
It will probably only be solved if we find a better ready-made email module in another open source project.
xpoint
Newbie
Newbie
Posts: 2
Joined: August 3rd, 2012, 12:32 am

Re: Email connection failing

Post by xpoint »

postconf -a

if it shows dovecot, then follow this link here http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL

but how to define port to use from sabnzbd ?, i dont have AUTH on port 25 any longer, but sasl works on SMTPS and SUBMISSION port

hope this will be possible to get working in my qnap sabnzbd, thanks for perfect nntp downloader
Post Reply