From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 04:34:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DBFC16A4CE for ; Wed, 18 Aug 2004 04:34:52 +0000 (GMT) Received: from mail1.computerking.ca (computerking.ca [209.115.173.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2AD743D5A for ; Wed, 18 Aug 2004 04:34:51 +0000 (GMT) (envelope-from maillist@computerking.ca) Received: from computerking.ca (v22001.computerking.ca [192.168.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail1.computerking.ca (Postfix) with ESMTP id 39581268 for ; Tue, 17 Aug 2004 22:34:50 -0600 (MDT) Message-ID: <4122DC73.5060105@computerking.ca> Date: Tue, 17 Aug 2004 22:34:59 -0600 From: RYAN vAN GINNEKEN User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: sasl plain login ath failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 04:34:52 -0000 I am using postfix version 2.0.0.18 with tls and sasl2 on freebsd stable 4.9 using cyrus-sasl/saslauthd version 2.1.1.19 have configured the my /user/local/lib/sasl2 dir to contain only Sendmail.conf liblogin.so libplain.a libplain.so.2 liblogin.a liblogin.so.2 libplain.so smptd.conf and my smtpd.conf file has this configuration # This sets smtpd to authenticate using the saslauthd daemon. pwcheck_method:saslauthd # This allows only plain and login as the authentication mechanisms. mech_list: plain login Seems simple enough however when i try to logon to my SMTP server i get the following errors. Aug 17 17:07:07 v22 postfix/smtpd[2643]: warning: unknown[209.115.173.22]: SASL PLAIN authentication failed Aug 17 17:07:08 v22 postfix/smtpd[2643]: warning: unknown[209.115.173.22]: SASL LOGIN authentication failed when i test the server with telnet i get this EHLO computerking.ca 250-mail1.computerking.ca 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-XVERP 250 8BITMIME there is know output about this must be my problem 250-AUTH LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5 250-AUTH=LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5 Is there a log i can check for sasl errors somewhere or do i need to change my permissions on the passwd file any help would be appreciated. Here is a posconf -n output if that helps anyone help me thank you in advance. v22.computerking.ca > /usr/local/lib/sasl2 $postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 home_mailbox = IMAPdir/INBOX/ inet_interfaces = all mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydestination = $myhostname, localhost.$mydomain $mydomain mydomain = computerking.ca myhostname = mail1.computerking.ca mynetworks_style = subnet myorigin = $mydomain newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no relay_domains = $mydestination, shoemasters.computerking.ca, highcoup.ca sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_tls_loglevel = 2 smtp_tls_note_starttls_offer = yes smtp_use_tls = yes smtpd_recipient_restrictions = permit_mx_backup permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions = permit_mx_backup permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_tls_CAfile = /usr/local/sslcerts/cacert.pem smtpd_tls_auth_only = yes smtpd_tls_cert_file = /usr/local/sslcerts/certs/mail-cert.pem smtpd_tls_key_file = /usr/local/sslcerts/certs/mail-key.pem smtpd_tls_loglevel = 2 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes soft_bounce = no tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 450 virtual_alias_domains = sculpturaldesign.ca virtual_alias_maps = hash:/usr/local/etc/postfix/virtual