[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SASL2 Postfix MySQL



Olá Lista,

  Estou montando um servidor de e-mail com postfix,
mysql e sasl2 no Debian. Minha dificuldade é no envio
de mensagens pelo outlook, não consigo enviar nada,
sempre tenho erro na senha, o sasl não consegue fazer
a autenticação. Alguem pode me ajudar ?

 Já fiz um milhão de pesquisas e configurações pelo
google e fiquei sabendo que a libsasl2 do debian não
tem suporte para senhas do tipo crypt, então ja tentei
compilar o pacote cyrus-sasl ...2.19, compilação da
erro .... Ta sinistro aqui.
 
 Minha configuração esta assim:


 /etc/postfix/sasl/smtpd.conf

pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN CRAM-MD5
authdaemond_path: /var/run/courier/authdaemon/socket
auxprop_plugin: sql
sql_hostnames: 127.0.0.1
sql_user: postfix
sql_passwd: xxxxxx
sql_database: postfix
sql_select: select clear from mailbox where username =
'%u@%r'


/etc/default/sasl

START=yes
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-r"

/etc/postfix/main.cf

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_authenticated_header = yes
smtpd_sasl_password_maps =
mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
smtpd_sasl_application_name = smptd
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =  permit_mynetworks,
permit_sasl_authenticated, re
ject_unauth_destination

 O log fica assim:
 SYSLOG
Apr  6 11:30:13 serverjw postfix/smtpd[3241]: warning:
SASL authentication failure: cannot connect to Courier
authdaemond: Permission denied
Apr  6 11:30:13 serverjw postfix/smtpd[3241]: warning:
SASL authentication failure: Password verification
failed
Apr  6 11:30:13 serverjw postfix/smtpd[3241]: warning:
unknown[189.24.128.141]: SASL PLAIN authentication
failed: generic failure
Apr  6 11:30:13 serverjw postfix/smtpd[3241]: warning:
SASL authentication failure: cannot connect to Courier
authdaemond: Permission denied
Apr  6 11:30:13 serverjw postfix/smtpd[3241]: warning:
unknown[189.24.128.141]: SASL LOGIN authentication
failed: generic failure


  Alguem pode me ajudar ?




##############################
# Gustavo V. Goulart         #
# Linux Debian Sarge         #
##############################


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/


Reply to: