View Single Post
  #1  
Old 21st May 2007, 16:13
aarayas aarayas is offline
Junior Member
 
Join Date: May 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default no SASL authentication mechanisms: postfix

I have centos 4.4 final, and try configure postfix + virtual domain



http://www.howtoforge.com/virtual_us..._clamav_centos

but, not found sasl authetication in postfix


#vi /var/log/maillog
fatal: no SASL authentication mechanisms
warning: process /usr/libexec/postfix/smtpd pid 31675 exit status 1


mi configuration it's the next.

#uname -a
Linux campusvirtual.cl 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686 i686 i386 GNU/Linux

#cat /etc/redhat-release
CentOS release 4.4 (Final)

#rpm -q postfix
postfix-2.2.10-1.RHEL4.2.mysql_pgsql.c4

# vi /usr/lib/sasl/smtpd.conf

pwcheck_method: saslauthd
saslauthd_version: 2

# vi /usr/lib/sasl2/smtpd.conf

pwcheck_method: authdaemond
log_level: 7
mech_list: PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket

#saslauthd -v
saslauthd 2.1.19
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap

#vi /etc/postfix

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_application_name = smtpd
smtpd_sasl_path = smtpd
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject _non_fqdn_hostname,reject_non_fqdn_sender,reject_n on_fqdn_recipient,reject_unauth_destination,reject _unauth_pipelining,reject_invalid_hostname,reject_ rbl_client opm.blitzed.org,reject_rbl_client list.dsbl.org,reject_rbl_client bl.spamcop.net,reject_rbl_client sbl-xbl.spamhaus.org


smtp_use_tls = no
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /usr/local/ssl/mail.domain.cl.key
smtpd_tls_cert_file = /usr/local/ssl/mail.domain.cl.crt
smtpd_tls_session_cache_database = btree:/etc/postfix/tls_smtpd_scache
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes

/************************************************** **************/
tranks for you help..

and greeting for chile.
Reply With Quote
Sponsored Links