Results 1 to 3 of 3

Thread: fatal: no SASL authentication mechanisms

  1. #1

    Default fatal: no SASL authentication mechanisms

    Mailserver running postfix & dovecot with amavis for anti virus/spam scanning on OS 11.3 64-bit

    When I saw the no SASL auth error I thought it might be a dovecot problem, but it appears to be amavis that's the issue

    I have the following errors in /var/log/mail.err

    Code:
    postfix/smtpd[3725]: fatal: no SASL authentication mechanisms
    postfix/smtpd[3763]: fatal: no SASL authentication mechanisms
    postfix/smtpd[3824]: fatal: no SASL authentication mechanisms
    postfix/smtpd[4009]: fatal: no SASL authentication mechanisms
    amavis[3265]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbQ: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 96) line 306.
    amavis[3207]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbQ: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 96) line 306.
    amavis[4439]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbQ: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 96) line 306.
    amavis[4724]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbQ: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 96) line 306.
    amavis[3262]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbQ: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 96) line 306.
    Never seen that before, looks like it could be a db error maybe?

    I've done some googling and about all I could find is that it may be something to do with spamassassin's training database

    I do also have this one popping up in mail.log but I don't think it's related:

    postfix/smtp[20887]: warning: database /etc/postfix/relay.db is older than source file /etc/postfix/relay

  2. #2

    Default Re: fatal: no SASL authentication mechanisms

    Does seem to be a database problem, get this when I try restarting amavis

    Code:
    Code:
    /etc/init.d/amavis start
    (stale amavisd pid file /var/spool/amavis/amavisd.pid found, removing. Did amavisd crash?)Starting virus-scanner (amavisd-new):
    Then right at the end of the amavis startup output in /var/log/mail.log:

    Code:
    Creating db in /var/spool/amavis/db/; BerkeleyDB 0.42, libdb 4.5
    May  5 14:34:57 godzooky amavis[21007]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbQ: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 96) line 306.
    May  5 14:34:57 godzooky amavis[21007]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: db_init: BDB no dbQ: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 96) line 306.
    So amavis is crashing on: Creating db in /var/spool/amavis/db/

    No idea what I can do about that so any suggestions welcome

  3. #3

    Default Re: fatal: no SASL authentication mechanisms

    Seems to be fixed, I did this

    cd /var/spool/amavis
    mv db/ db_bak
    mkdir db
    /etc/init.d/amavis start

    Started without error, just waiting to see what happens when some mails come in now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •