LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-22-2008, 04:04 PM   #1
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Rep: Reputation: 15
SASL LOGIN authentication failed


Debian Etch + Postfix + Dovecot + SASL with TLS. Can send mail within lan (at least I did a hour ago before I made changes ) Need help troubleshooting this please. I'm trying to use Postfix to relay thru Earthlinks (my ISP) SMTP server. I'm not sure what to post so I'll start with /var/log/mail.log. can someone please provide some guidance?

Mar 22 12:54:27 docean postfix/smtpd[4906]: connect from unknown[192.168.1.2]
Mar 22 12:54:27 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:27 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:27 docean postfix/smtpd[4906]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:54:27 docean postfix/smtpd[4906]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:54:27 docean postfix/smtpd[4906]: disconnect from unknown[192.168.1.2]
Mar 22 12:54:28 docean postfix/smtpd[4906]: connect from unknown[192.168.1.2]
Mar 22 12:54:28 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:28 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:28 docean postfix/smtpd[4906]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:54:28 docean postfix/smtpd[4906]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:54:28 docean postfix/smtpd[4906]: disconnect from unknown[192.168.1.2]
Mar 22 12:54:29 docean postfix/smtpd[4906]: connect from unknown[192.168.1.2]
Mar 22 12:54:29 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:29 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:29 docean postfix/smtpd[4906]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:54:29 docean postfix/smtpd[4906]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:54:29 docean postfix/smtpd[4906]: disconnect from unknown[192.168.1.2]
Mar 22 12:54:29 docean postfix/smtpd[4906]: connect from unknown[192.168.1.2]
Mar 22 12:54:29 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:29 docean postfix/smtpd[4906]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:54:29 docean postfix/smtpd[4906]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:54:29 docean postfix/smtpd[4906]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:54:29 docean postfix/smtpd[4906]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:45 docean postfix/master[4883]: terminating on signal 15
Mar 22 12:55:46 docean postfix/master[4993]: daemon started -- version 2.3.8, configuration /etc/postfix
Mar 22 12:55:53 docean dovecot: pop3-login: Login: user=<danny>, method=PLAIN, rip=192.168.1.2, lip=192.168.1.3
Mar 22 12:55:53 docean dovecot: POP3(danny): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 22 12:55:54 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:54 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:54 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:54 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:54 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:54 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:56 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:56 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:56 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:56 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:56 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:56 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:56 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:56 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:56 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:56 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:56 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:56 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:57 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:57 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:57 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:57 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:57 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:57 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:58 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:58 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:58 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:58 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:58 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:58 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:55:59 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:55:59 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:59 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:55:59 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:55:59 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:55:59 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:00 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:00 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:00 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:00 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:00 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:00 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:01 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:01 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:01 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:01 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:01 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:01 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:02 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:02 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:02 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:02 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:02 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:02 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:02 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:02 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:02 docean postfix/smtpd[5002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Mar 22 12:56:02 docean postfix/smtpd[5002]: warning: unknown[192.168.1.2]: SASL LOGIN authentication failed: authentication failure
Mar 22 12:56:02 docean postfix/smtpd[5002]: lost connection after AUTH from unknown[192.168.1.2]
Mar 22 12:56:02 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
Mar 22 12:56:12 docean postfix/smtpd[5002]: connect from unknown[192.168.1.2]
Mar 22 12:56:12 docean postfix/smtpd[5002]: lost connection after CONNECT from unknown[192.168.1.2]
Mar 22 12:56:12 docean postfix/smtpd[5002]: disconnect from unknown[192.168.1.2]
 
Old 03-22-2008, 07:08 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
I'm not sure what to post so I'll start with /var/log/mail.log.
You can start by telling us your requirements. You say you need to relay mail through your ISP. Does the isp require authentication? If not, all you need is to set the relayhost parameter. You should be familiar with the postfix documentation, at the very least this and this. If your ISP requires authentication, then you should also read this. Note if your ISP requires authentication, you need to turn on SASL on the client and not on the server, as you have it.
 
Old 03-22-2008, 07:32 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Also, what's /etc/sasldb2? If this has your credentials for your isp, did you postmap it to create the database?
 
Old 03-22-2008, 10:45 PM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Hey, billymayday. sasldb2 is a cyrus thing (its form of a passwd file), so not relevant here -- hopefully.
 
Old 03-23-2008, 01:03 AM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Doesn't it have to be an issue given the number of logged failures?
 
Old 03-23-2008, 01:19 AM   #6
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
For sure. I was just saying that the cyrus passwords business isn't necessary for client auth. There's gonna have to be some adjustment to the config.
 
Old 03-23-2008, 01:54 AM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Raidmax, typically if you are relaying through your ISP, you shouldn't need to authenticate since your IP should be on their relay list. When they gave you instructions to connect a mail client (Outlook, etc), I assume they said to connect your incoming mail to something like pop.eathlinks.com and your outgoing to smtp.earthlinks.com.

In this case, in /etc/postfix/main.cf, you should simply add

relayhost = smtp.earthlinks.com

End of story.

All of those maillog entries look like a PC on your LAN trying to connect and failing.

Can you send mail from the server? Try something like mail -s test some_account@example.com

where some_account@example.com is an external email account you can check (work, hotmail, something like that). Don't try and connect with a mail client from any other machine or you are going to get the errors you see above.

Last edited by billymayday; 03-23-2008 at 01:55 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I find the source IP of failed SASL authentication attempts? sunhak Linux - Security 7 10-24-2007 05:22 PM
SASL authentication using NTLM MikeDawg Linux - Security 0 08-30-2007 03:10 PM
Postfix - SASL LOGIN authentication failed micko_escalade Linux - Networking 1 02-03-2006 02:53 AM
cyrus NO Login failed: authentication failure nobu Linux - Enterprise 6 10-24-2005 09:15 PM
Login problem: 'Authentication Failed' naren_0101bits Linux - Software 1 07-19-2004 04:16 AM


All times are GMT -5. The time now is 04:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration