Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.