Page 1 of 1

Email connection failing

Posted: September 21st, 2011, 3:15 am
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?

Re: Email connection failing

Posted: September 21st, 2011, 4:49 am
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.

Re: Email connection failing

Posted: August 3rd, 2012, 12:40 am
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