1

Topic: Sending mail authentication error

Hello again,

I updated Dovecot according to the instructions on the links that you sent, and can now restart the Dovecot service without erros.

However, this didn't solve the issue that none of my users are able to send any email.  The system receives, and filters incoming messages fine.  Whenever anyone tries to send a message out they get the same authentication error every time.

I know I've probably missed something in the configuration, but I have to admit that I'm completely lost at this point.

I've attached the latest log entry below, and moved the conversation to the forum, as requested.

Thank you for all the support,
Jim

==== Required information ====
- iRedMail version: 1.4.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Linux/BSD distribution name and version: CentOS 6.6
- Related log if you're reporting an issue:
Nov 26 10:03:10 mailsrv postfix/smtpd[32471]: connect from localhost[127.0.0.1]
Nov 26 10:03:10 mailsrv postfix/smtpd[32471]: warning: SASL: Connect to ./dovecot-auth failed: No such file or directory
Nov 26 10:03:10 mailsrv postfix/smtpd[32471]: fatal: no SASL authentication mechanisms
Nov 26 10:03:11 mailsrv postfix/master[31799]: warning: process /usr/libexec/postfix/smtpd pid 32471 exit status 1
Nov 26 10:03:11 mailsrv postfix/master[31799]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov 26 10:03:11 mailsrv roundcube: SMTP server does not support authentication ():
Nov 26 10:03:11 mailsrv roundcube: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/roundcubemail-1.0.1/program/lib/Roundcube/rcube.php on line 1504 (POST /mail/?_task=mail&_unlock=loading1417014197211&_lang=en_US?_task=mail&_action=send)
==============
oh, you upgraded Dovecot from 1.x to 2.x, and old config file is not compatible. You have to follow Dovecot tutorial to update your config
file:
http://wiki2.dovecot.org/Upgrading

Or, here's another way to upgrade it:
http://www.iredmail.org/forum/topic4493 … tos-5.html

Please post your issues/questions in our online support forum, so that we can share our discussion with others. Or, you can purchase our support ticket to help solve issue remotely (via ssh):
http://www.iredmail.org/forum/

----
iRedMail-0.9.0-rc2 has been released:
http://www.iredmail.org/forum/topic8280.html

Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

==============
Dovecot was running.  I  tried restarting it twice, but I received some errors both times.  I've attached a copy of the error output.

Thank you for the quick response, by the way.

-Jim
==============
> Nov 25 09:29:40 mailsrv postfix/smtpd[12863]: warning: SASL: Connect to ./dovecot-auth failed: No such file or directory  Please check whether or not dovecot service is running.

----
Zhang Huangbin
Founder of iRedMail project: http://www.iredmail.org/

==============
Hello,

I am having an issue getting my mail server to send out any messages.  Whenever any of my users try to send an email they get an pop-up error from Roundcube.  When I check the logs, I see that it is an error related to authentication.  (Both the pop-up, and log messages are attached.)

Nov 25 09:29:40 mailsrv postfix/smtpd[12863]: connect from localhost[127.0.0.1]
Nov 25 09:29:40 mailsrv postfix/smtpd[12863]: warning: SASL: Connect to ./dovecot-auth failed: No such file or directory
Nov 25 09:29:40 mailsrv postfix/smtpd[12863]: fatal: no SASL authentication mechanisms
Nov 25 09:29:41 mailsrv postfix/master[8967]: warning: process /usr/libexec/postfix/smtpd pid 12863 exit status 1
Nov 25 09:29:41 mailsrv postfix/master[8967]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov 25 09:29:41 mailsrv roundcube: SMTP server does not support authentication ():
Nov 25 09:29:41 mailsrv roundcube: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/roundcubemail-1.0.1/program/lib/Roundcube/rcube.php on line 1504 (POST /mail/?_task=mail&_unlock=loading1416925785242&_lang=en_US?_task=mail&_action=send)
License info
License status:  License is active
Product name:  iRedAdmin-Pro-PGSQL
Purchase date:  Jul 22, 2014
Expire date:  Dec 31, 2099
Latest version:  1.4.2 (You are running version 1.4.2)
We haven’t made any configuration changes to the system since running the initial installation that I am aware of.

The system does accept all incoming messages.  We just can’t send out for some reason.

Any assistance that you can provide would be greatly appreciated.  Please let me know what, if any, files you need to see to assist in troubleshooting this issue.


Thank you,
Jim Zeck
==============

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Sending mail authentication error

jzeck wrote:

Nov 26 10:03:10 mailsrv postfix/smtpd[32471]: warning: SASL: Connect to ./dovecot-auth failed: No such file or directory

New iRedMail releases configure Dovecot to create sasl auth socket at /var/spool/postfix/private/dovecot-auth, so you have to update Postfix setting 'smtpd_sasl_path' to below value:

smtpd_sasl_path = private/dovecot-auth

3

Re: Sending mail authentication error

Thank you so much.  That did the trick, and now it's working properly.


Thanks again,
Jim Zeck