From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 06:07: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 40EFF16A4CE for ; Mon, 26 Jan 2004 06:07:52 -0800 (PST) Received: from amber.aeternal.net (amber.in.markiza.sk [195.146.148.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 124BA43D31 for ; Mon, 26 Jan 2004 06:07:45 -0800 (PST) (envelope-from corwin@aeternal.net) Received: from localhost (localhost [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id EE37254F0 for ; Mon, 26 Jan 2004 15:07:45 +0100 (CET) From: Martin Hudec To: freebsd-questions@FreeBSD.ORG Date: Mon, 26 Jan 2004 15:07:15 +0100 User-Agent: KMail/1.5.4 X-Copyright: (C) 2004 Martin Hudec X-Operating-System: FreeBSD amber.aeternal.net 4.9-RELEASE MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401261507.15378.corwin@aeternal.net> Subject: Postfix+TLS+SASL 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: Mon, 26 Jan 2004 14:07:52 -0000 Hello all, I have postfix with tls and sasl2. I am trying to use KMail with TLS + DIGEST-MD5 authentication set to send emails using localhost as mailserver. I did set: saslpasswd2 -a postfix -u aeternal.net -c corwin it created sasldb2.db but it shows in logfile following: Jan 26 14:40:02 amber saslpasswd2: setpass succeeded for corwin Jan 26 14:40:02 amber saslpasswd2: Couldn't update db but sasldblistusers2 shows following: corwin@aeternal.net: userPassword That is my first question: why I see that Couldn't update db in logfile? Second one is why I can't send emails using KMail with TLS+DIGEST-MD5.. Messages in logfile are: Jan 26 14:52:23 amber postfix/smtpd[16912]: connect from localhost[127.0.0.1] Jan 26 14:52:23 amber postfix/smtpd[16912]: setting up TLS connection from localhost[127.0.0.1] Jan 26 14:52:24 amber postfix/smtpd[16912]: TLS connection established from localhost[127.0.0.1]: TLSv1 with cipher RC4-MD5 (128/128 bits) Jan 26 14:52:24 amber postfix/smtpd[16912]: warning: SASL authentication failure: no user in db Jan 26 14:52:24 amber postfix/smtpd[16912]: warning: SASL authentication failure: client response doesn't match what we generated Jan 26 14:52:24 amber postfix/smtpd[16912]: warning: localhost[127.0.0.1]: SASL DIGEST-MD5 authentication failed Jan 26 14:52:25 amber postfix/smtpd[16912]: disconnect from localhost[127.0.0.1] Please kindly help me on this one..thank you /usr/local/lib/sasl2/smtpd.conf has: pwcheck_method:saslauthd /etc/postfix/main.cf has: # sasl config broken_sasl_auth_clients = yes smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = aeternal.net smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination # tls config smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_startssl_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem smtpd_tls_CA_file = /etc/postfix/ssl/smtpd.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom -- : :. kind regards :.. Martin Hudec :.: :.: =w= http://www.aeternal.net :.: =m= +421.907.303393 :.: =@= corwin@aeternal.net :.: :.: "When you want something, all the universe :.: conspires in helping you to achieve it." :.: - The Alchemist (Paulo Coelho)