postfix/smtpd[2898]: fatal: no SASL authentication mechanism

Questions related to the Postfix mail server
Post Reply
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

postfix/smtpd[2898]: fatal: no SASL authentication mechanism

Post by mister_v »

Hello,

I get the following errors /var/log/mail.err

Code: Select all

postfix/smtpd[2898]: fatal: no SASL authentication mechanisms

As far I can tell the mail systems works and email are delivered.
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

Re: postfix/smtpd[2898]: fatal: no SASL authentication mecha

Post by mister_v »

More infor from /var/log/mail.info
23:38:17postfix/smtpd[2949]: cannot load Certificate Authority data: disabling TLS support
Jun 27 23:38:17 postfix/smtpd[2949]: warning: TLS library problem: 2949:error:02001002:system library:fopen:No such file or directory:bss_file.c:126:fopen('/etc/ssl/certs/ca-certificates.crt','r'):
Jun 27 23:38:17 postfix/smtpd[2949]: warning: TLS library problem: 2949:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:129:
Jun 27 23:38:17 postfix/smtpd[2949]: warning: TLS library problem: 2949:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:by_file.c:274:
Jun 27 23:38:18 postfix/smtpd[2949]: warning: 1.1.12.86: hostname 1-1-12-86.dsl.telesp.net.br verification failed: Name or service not known
Jun 27 23:38:18 postfix/smtpd[2949]: connect from unknown[1.11.11.1]
Jun 27 23:38:18 postfix/smtpd[2949]: warning: SASL: Connect to private/auth failed: No such file or directory
Jun 27 23:38:18 postfix/smtpd[2949]: fatal: no SASL authentication mechanisms
Jun 27 23:38:18 postfix/smtpd[2954]: cannot load Certificate Authority data: disabling TLS support
chris
Site Admin
Posts: 194
Joined: Mon Jul 21, 2008 9:52 am

Re: postfix/smtpd[2898]: fatal: no SASL authentication mecha

Post by chris »

I think you have 2 problems.

first one is with TLS;
the file /etc/ssl/certs/ca-certificates.crt is missing, or can't be read by postfix.
Make sure the file exists and is readable.
My be something went wrong with the installation.
You could try to copy it from another machine.

Second problem is with SASL
Connect to private/auth failed: No such file or directory.
This is the authentication socket that is not created.

This is relative to the postfix working dir.
Mostly /var/spool/postfix/ depends on your postfix configuration.
Try

Code: Select all

ls -l /var/spool/postfix/private/auth
too see if the file exists.

On my system auth this is created by dovecot,
but it can also be done cyrus.

assuming you use dovecot;
Check your config file /etc/dovecot/dovecot.conf
in the section socket listen
it should look like:

Code: Select all

  socket listen {
    master {
      # Master socket provides access to userdb information. It's typically
      # used to give Dovecot's local delivery agent access to userdb so it
      # can find mailbox locations.
      path = /var/run/dovecot/auth-master
      mode = 0600
      # Default user/group is the one who started dovecot-auth (root)
      user = email
      group = email
    }
    client {
      # The client socket is generally safe to export to everyone. Typical use
      # is to export it to your SMTP server so it can do SMTP AUTH lookups
      # using it.
      #path = /var/run/dovecot/auth-client
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = postfix
    }
  }
As you can see the default client is created as "/var/run/dovecot/auth-client";
I commented it out and created a new path = /var/spool/postfix/private/auth
This one is used by postfix.

Hope this hints help you
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

Re: postfix/smtpd[2898]: fatal: no SASL authentication mecha

Post by mister_v »

Thanks, that did help
Post Reply