From owner-freebsd-questions@FreeBSD.ORG Wed Apr 13 04:48:41 2005 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 E163616A4CE for ; Wed, 13 Apr 2005 04:48:40 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4142B43D45 for ; Wed, 13 Apr 2005 04:48:40 +0000 (GMT) (envelope-from subhro.kar@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so52610rnf for ; Tue, 12 Apr 2005 21:48:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=VugXQvJKsWd9Vnetwbb7oncDigmPBgDzGhR6LcHduBm9LVfazJeaJl7pexgOPhteauKwg/ZO72e9W67QJNHmALePDyKCbBK991F/5gr+4JdOG5hzPdutE3tozXudM16tfep3bOtcXWMHUknGUW7Vi4bJFT1aaQgXTBPS98aL52Q= Received: by 10.38.66.8 with SMTP id o8mr203908rna; Tue, 12 Apr 2005 21:48:39 -0700 (PDT) Received: from ?127.0.0.1? ([59.93.160.205]) by mx.gmail.com with ESMTP id k4sm1036447rnd.2005.04.12.21.48.38; Tue, 12 Apr 2005 21:48:39 -0700 (PDT) Message-ID: <425CA49C.9040901@gmail.com> Date: Wed, 13 Apr 2005 10:18:28 +0530 From: Subhro User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Per olof Ljungmark References: <425C1E0F.5030504@gmail.com> <425C3888.7010603@intersonic.se> <425C3A6B.6030706@gmail.com> <425C3E00.5000405@intersonic.se> In-Reply-To: <425C3E00.5000405@intersonic.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: SMTP problems 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, 13 Apr 2005 04:48:41 -0000 Per olof Ljungmark wrote: > Subhro wrote: > >>>> authentication failure: cannot connect to Courier authdaemond: No >>>> such file or directory >>>> Apr 13 13:04:52 munich postfix/smtpd[27064]: warning: >>>> unknown[59.93.160.227]: SASL LOGIN authentication failed >>>> Apr 13 13:04:55 munich postfix/smtpd[27064]: lost connection after >>>> AUTH from unknown[59.93.160.227] >>>> Apr 13 13:04:55 munich postfix/smtpd[27064]: disconnect from >>>> unknown[59.93.160.227] >>> >>> Either Postfix is looking in the wrong place or something's fishy >>> about the Courier authdaemond. What does the Courier log say? >> >> >> >> I did not explicitly install courier. Which is the port which I need >> to install? > > What do you mean then? You said you are "trying to set up a mailserver > with virtual mailboxes and SASL authentication for SMTP". Courier IS a > mail server (in the ports) suitable for virtual mailboxes. I think you > need to provide all the details first, Postfix is an MTA but not a > complete mail server. > The problem above may be better answered on the Postfix list so I > suggest you try there as well. > I have got cyrus-sasl2 installed from /usr/ports/security and saslauthd from /usr/ports/cyrus-sasl-saslauthd With saslauthd running with sasldb as the authentication method I get Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: SASL authentication failure: no user in db Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: SASL authentication failure: no user in db Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: SASL authentication failure: no secret in database Apr 13 22:43:20 munich postfix/smtpd[83070]: warning: unknown[59.93.160.205]: SASL CRAM-MD5 authentication failed Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: SASL authentication failure: no user in db Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: SASL authentication failure: no user in db Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: SASL authentication failure: Password verification failed Apr 13 22:43:21 munich postfix/smtpd[83070]: warning: unknown[59.93.160.205]: SASL PLAIN authentication failed Apr 13 22:43:22 munich postfix/smtpd[83070]: warning: SASL authentication failure: no user in db Apr 13 22:43:22 munich postfix/smtpd[83070]: warning: SASL authentication failure: no user in db Apr 13 22:43:22 munich postfix/smtpd[83070]: warning: unknown[59.93.160.205]: SASL LOGIN authentication failed Apr 13 22:43:39 munich postfix/smtpd[83070]: lost connection after AUTH from unknown[59.93.160.205] /usr/local/lib/smtpd.conf looks like cat /usr/local/lib/sasl2/smtpd.conf pwcheck_method: saslauthd I would also like to service system accounts along with virtual accounts. I would like to know where I am going wrong Regards S.