LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-31-2013, 12:35 PM   #1
linuxrndblog
Member
 
Registered: Oct 2010
Location: India
Posts: 89

Rep: Reputation: 2
Getting ERR Authentication failed....


Hello,

I have configured Postfix, Postfixadmin, Dovecot, Squirrelmail with Cyrus Sasl authentication on Centos 6.4
Now I am getting “ERR Authentication failed” while sending mail using pop3 account.

# telnet localhost pop3
Trying ::1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
user demo
+OK
pass demo@$%6
-ERR Authentication failed.
 
Old 10-31-2013, 08:46 PM   #2
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
We need more information. Change /etc/dovecot/dovecot.conf:
Code:
auth_verbose = yes
and while you're in that file check where dovecot is logging. It could be /var/log/mail. Reload dovecot by using your distro's method or alternatively send it a HUP signal.

Try using telnet again and reply here with the relevant lines from the log.
 
Old 11-01-2013, 02:16 AM   #3
Klaipedaville
Member
 
Registered: Mar 2013
Posts: 110

Rep: Reputation: Disabled
It is as simple as it says authentication fails. With the settings you mention the easiest way to check is to type saslfinger -c and it will tell you what to do. My guess is that you did not set up sasl properly or there is no authentication provided, in other words there is no passwd file to take your authentication data from.
 
1 members found this post helpful.
Old 11-01-2013, 05:59 AM   #4
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
Quote:
Originally Posted by Klaipedaville View Post
... saslfinger ...
Thanks for that. Somehow, I've managed to configure many postfix installs without coming across it.
 
1 members found this post helpful.
Old 11-01-2013, 06:31 AM   #5
Klaipedaville
Member
 
Registered: Mar 2013
Posts: 110

Rep: Reputation: Disabled
Quote:
Originally Posted by padeen View Post
Thanks for that. Somehow, I've managed to configure many postfix installs without coming across it.
That means you have never tried sending emails from other networks. Postfix will never allow you do so unless you are properly authenticated. I travel a lot and connect from different networks (even within my city limits' various wifis for example) therefore I can send my email from any IP addresses and absolutely any machines and networks in the world. My silly ISP which happens to be a big serious company does not use any SMTP authentication at all as well despite the fact that they have millions of users.. so.. not using it at all is not new, it's just having your users think that something is not working somewhere or having the users leave in searches for smarter providers that consider and provide all the flexibility of the options...
 
Old 11-04-2013, 09:35 AM   #6
linuxrndblog
Member
 
Registered: Oct 2010
Location: India
Posts: 89

Original Poster
Rep: Reputation: 2
Hello,

Thanks to all.


Is there any official document is available for Redhat/CentOS 6 postfix dovecot postfixadmin and squirrelmail?
 
Old 11-20-2013, 09:58 AM   #7
linuxrndblog
Member
 
Registered: Oct 2010
Location: India
Posts: 89

Original Poster
Rep: Reputation: 2
Hello,

Any help?
 
Old 11-20-2013, 07:40 PM   #8
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
Pls post the information we asked for.
 
  


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
[SOLVED] Postfix Err:Sending the email to the following server failed : localhost:25 sanjay87 Linux - Server 1 05-07-2012 09:59 AM
failed command: read dma (status: { DRDY DF ERR }) G00fy Linux - Hardware 2 01-21-2012 06:01 PM
Err:apr_sockaddr_info_get() failed for hostname While restarting apache Dedian Linux jayakumar01 Linux - Server 1 12-02-2011 09:50 AM
To err or not to err? Filesystem Error Problem abejarano Linux - Hardware 3 12-09-2008 04:12 PM
Dual system boot err: rootnoverify(hd1,0),but the hd0 err msg existed befor shut down lilipeng24 Linux - General 3 06-25-2005 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration