[Dovecot] Problem with Postfix + Dovecot + MySQL + Squirrelmail

Gustavo clube03 at gmail.com
Sat Feb 11 20:46:32 EET 2012


Ok, I study the wikki and the dovecot works. But when I try to send a mail
using squirrel, I get this error on logs:

Feb 11 18:41:55 jubileu postfix/smtpd[19522]: connect from
localhost.localdomain[127.0.0.1]
Feb 11 18:41:55 jubileu postfix/smtpd[19522]: warning:
xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Feb 11 18:41:55 jubileu postfix/smtpd[19522]: fatal: no SASL authentication
mechanisms
Feb 11 18:41:56 jubileu postfix/master[18383]: warning: process
/usr/lib/postfix/smtpd pid 19522 exit status 1
Feb 11 18:41:56 jubileu postfix/master[18383]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling

How can I fix this? My conf files seems to be ok:

## Diretorio Base ##
base_dir = /var/run/dovecot/

## Protocolos que ele ira executar ##
protocols = imap imaps pop3 pop3s
log_timestamp = '%Y-%m-%d %H:%M:%S '
syslog_facility = mail

## Dados do SSL ##
ssl_listen = localhost
ssl_cert_file = /etc/postfix/mail-cert.pem
ssl_key_file = /etc/postfix/mail-key.pem
ssl_parameters_regenerate = 168
verbose_ssl = no
mail_location = maildir:/var/vmail/%d/%u
mail_access_groups = mail
mail_debug = no
first_valid_uid = 150
last_valid_uid = 150
maildir_copy_with_hardlinks = yes

protocol imap {
}

protocol pop3 {
# Login executable location.
        login_executable = /usr/lib/dovecot/pop3-login
        mail_executable = /usr/lib/dovecot/pop3
        pop3_uidl_format = %08Xu%08Xv
}

protocol lda {
        sendmail_path = /usr/lib/sendmail
        auth_socket_path = /tmp/auth-master
}

auth_verbose = no
auth_debug = no
auth default {
        mechanisms = plain login
        passdb pam {
        }
        passdb sql {
                args = /etc/dovecot/dovecot-sql.conf
        }
        userdb passwd {
        }
        userdb sql {
                args = /etc/dovecot/dovecot-sql.conf
        }
        socket listen {
                master {
                path = /tmp/auth-master
                mode = 0600
                user = vmail
                group = mail
                }
        client {
                path = /tmp/auth-client
                mode = 0660
                user = vmail
                group = mail
        }
        }
}

dict {
}

plugin {
}

#########################################

And Postfix conf:

# SASL Authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_path = private/auth
smtpd_sasl_application_name = smtpd
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
permit_mynetworks = 127.0.0.0/8, 184.22.103.88/32, 184.22.103.87/32

Thanks!!!



> -----Mensagem Original----- From: Timo Sirainen
> Sent: Saturday, January 28, 2012 3:51 PM
> To: Gustavo
> Cc: dovecot at dovecot.org
> Subject: Re: [Dovecot] Problem with Postfix + Dovecot + MySQL +
> Squirrelmail
>
> On 27.1.2012, at 14.32, Gustavo wrote:
>
>  #service dovecot start
>> Starting IMAP/POP3 mail server: dovecotLast died with error (see error
>> log for more information): Auth process died too early - shutting down
>>
>
> No need to keep guessing the problem. "See error log for more information"
> like it says. http://wiki.dovecot.org/**Logging<http://wiki.dovecot.org/Logging>
>
>


-- 
Gustavo - clube03 at gmail.com


More information about the dovecot mailing list