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

Re: postfix and sasl



El vie, 13-11-2009 a las 09:05 -0500, Leonardo Cuyar Morales escribió:
> I'm having problem authenticating users in postfix through sasl, this
> is the main.cf part settings I make:
> 
> *****************************************************************************************************
> myhostname = $mydomain
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> mydestination = $mydomain, localhost.$mydomain
> relayhost = 
> mynetworks = 127.0.0.0/8
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> mydomain = localdomain
> myorigin = $mydomain
> 
> smtp_sasl_auth_enabled = yes
> smtp_sender_login_maps = hash:/etc/postfix/sasl_senders
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sender_dependent_authentication = yes
> 
> smtpd_sasl_auth_enabled = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain = $mydomain
> broken_sasl_auth_clients = yes
> smtpd_sender_login_maps = hash:/etc/postfix/sasl_senders
> 
> #medidas anti UCE
> smtpd_delay_reject = no
> smtpd_helo_required = yes
> smtpd_client_restrictions = check_client_access
> pcre:/etc/postfix/client_checks.pcre
> smtpd_helo_restrictions = check_helo_access
> pcre:/etc/postfix/helo_checks.pcre
> smtpd_sender_restrictions = check_sender_access
> pcre:/etc/postfix/sender_checks.pcre
> 
> smtpd_recipient_restrictions = permit_sasl_authenticated
aquí permitís que la gente autentique contra sasl, pero no ponés ninguna
restricción, probá agregando al menos un reject_unauth_destination 


> mail_spool_directory = /var/spool/mail/


pd: el idioma de la lista es el castellano ;)


Reply to: