Re: [Dovecot] Problem with Postfix + Dovecot + MySQL + Squirrelmail
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@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@gmail.com
On 2012-02-11 1:46 PM, Gustavo <clube03@gmail.com> wrote:
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
Sorry, but this has nothing to do with dovecot, unless your intention is to use dovecot-sasl with your postfix... it appears you are using cyrus-sasl and postfix on your smtp server, that is where your problem lies.
Easiest would be to configure postfix to use dovecot-sasl:
http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL
--
Best regards,
Charles
Ok,
I do some changes and now I can send mails but not recieve mail. On log I get this message:
Feb 22 20:02:04 localhost dovecot: deliver(teste@clubedolimite.com.br): Fatal: setgid(12(man)) failed with euid=150(vmail), gid=8(mail), egid=8(mail): Operation not permitted (This binary should probably be called with process group set to 12(man) instead of 8(mail))
Where is the problem now?
Thanks!
On Sun, Feb 12, 2012 at 9:33 AM, Charles Marcus <CMarcus@media-brokers.com>wrote:
On 2012-02-11 1:46 PM, Gustavo <clube03@gmail.com> wrote:
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
Sorry, but this has nothing to do with dovecot, unless your intention is to use dovecot-sasl with your postfix... it appears you are using cyrus-sasl and postfix on your smtp server, that is where your problem lies.
Easiest would be to configure postfix to use dovecot-sasl:
--
Best regards,
Charles
-- Gustavo - clube03@gmail.com
participants (2)
-
Charles Marcus
-
Gustavo