I have centos 4.4 final, and try configure postfix + virtual domain http://www.howtoforge.com/virtual_users_postfix_courier_mailscanner_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_non_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.
I have the same problem but I am using Fedora C6 and not CentOS, but I think there is no so big difference between these two systems. Code: [root@vs2060074 ~]# uname -a Linux vs2060074 2.6.9-023stab043.3-smp #1 SMP Thu Apr 19 10:35:07 MSD 2007 i686 i686 i386 GNU/Linux [root@vs2060074 ~]# cat /etc/redhat-release Fedora Core release 6 (Zod) [root@vs2060074 ~]# rpm -q postfix postfix-2.2.8-1.2 [root@vs2060074 ~]# cat /usr/lib/sasl/smtpd.conf pwcheck_method: authdaemond log_level: 3 mech_list: PLAIN LOGIN authdaemond_path:/var/spool/authdaemon/socket [root@vs2060074 ~]# saslauthd -v saslauthd 2.1.22 authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap [root@vs2060074 ~]# cat /etc/postfix/main.cf [...] readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES myhostname = mail.<domain_name>.net mydomain = <domain_name>.net mynetworks = 127.0.0.0/8 virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_mailbox_base = /home/vmail virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_use_tls = yes smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf virtual_create_maildirsize = yes virtual_mailbox_extended = yes virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf virtual_mailbox_limit_override = yes virtual_maildir_limit_message = "The user you are trying to reach is over quota." virtual_overquota_bounce = yes proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $r$ content_filter = amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings IMAP and POP3 ist working fine, but if I want to connect localhost:25 I´ll get this messages: Code: [root@vs2060074 ~]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host.
Please compare your configuration with tihs tutorial: http://www.howtoforge.com/fedora_virtual_postfix_mysql_quota_courier (should work for CentOS as well). BTW, please don't hijack other threads as this makes it really difficult to answer...