From owner-freebsd-questions@FreeBSD.ORG Fri Aug 5 11:05:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E2A5A16A41F for ; Fri, 5 Aug 2005 11:05:31 +0000 (GMT) (envelope-from bettan@nerim.net) Received: from kraid.nerim.net (smtp-105-friday.nerim.net [62.4.16.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84A3943D46 for ; Fri, 5 Aug 2005 11:05:31 +0000 (GMT) (envelope-from bettan@nerim.net) Received: from danielle (linux-win.org [62.212.96.206]) by kraid.nerim.net (Postfix) with SMTP id 34B2840E38; Fri, 5 Aug 2005 13:05:29 +0200 (CEST) Message-ID: <00f901c599ad$982cec40$0301a8c0@danielle> From: "cell" To: "Patrick Ben Koetter" References: <00c101c599a3$1ccaf830$0301a8c0@danielle> <20050805104545.GA9730@state-of-mind.de> Date: Fri, 5 Aug 2005 13:05:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Cc: freebsd-questions@freebsd.org Subject: Re: Problems with SASL2 and postfix on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2005 11:05:32 -0000 I have that : # saslfinger -s saslfinger: Command not found. ----- Original Message ----- From: "Patrick Ben Koetter" To: Sent: Friday, August 05, 2005 12:45 PM Subject: Re: Problems with SASL2 and postfix on freebsd >* cell : >> Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , >> cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with >> sasl2.When i do "telnet localhost 25" , i have that : >> >> Trying 127.0.0.1... >> Connected to localhost.linux-win.org. >> Escape character is '^]'. >> 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) >> ehlo example.pl >> 250-gw-bsd.linux-win.org >> 250-PIPELINING >> 250-SIZE 10000000 >> 250-VRFY >> 250-ETRN >> 250-STARTTLS >> 250 8BITMIME >> >> >> and i don't see "AUTH DIGEST-MD5 PLAIN CRAM-MD5" and "AUTH PLAIN".In my >> main.cf , i have that : >> >> smtpd_recipient_restrictions = >> permit_mynetworks,permit_sasl_authenticated, >> reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain >> smtpd_sender_restrictions = permit_sasl_authenticated , >> hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, >> reject_invalid_hostname >> smtpd_sasl_auth_enable = yes >> smtpd_sasl_security_options = noanonymous >> smtpd_sasl_local_domain = >> broken_sasl_auth_clients = no >> >> In /usr/local/lib/sasl2 i have that : >> >> pwcheck_method: saslauthd >> auxprop_plugin: sql >> sql_engine: mysql >> sql_hostnames: 127.0.0.1 >> sql_user: maildb >> sql_passwd: ***** >> sql_database: maildb >> sql_select: select clear from users where id='%u@%r' > > That would be: > > pwcheck_method: saslauthd > mech_list: plain login > > > if you want to use PAM. > > Looks like your Postfix wasn't built to support SASL. What do you get, if > you > run "saslfinger -s"? > > > > p@rick > > > -- > The Book of Postfix > > SMTP AUTH debug utility: >