From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 19:28:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0006016A407 for ; Mon, 27 Nov 2006 19:28:16 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C56B447E1; Mon, 27 Nov 2006 18:33:20 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id kARIXAWn018200; Mon, 27 Nov 2006 12:33:10 -0600 (CST) Message-Id: <6.0.0.22.2.20061127123146.023e3798@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 27 Nov 2006 12:33:03 -0600 To: bsd-questions@freebsd.org, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <20061127032030.GH8339@server.idefix.loc> References: <20061127032030.GH8339@server.idefix.loc> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Sendmail and smtp-auth against passwd 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: Mon, 27 Nov 2006 19:28:17 -0000 That is an issue with the sasl configuration. sasl can be configured to read passwords from different locations, including a database. You may need to reconfigure sasl or even rebuild it. -Derek At 09:20 PM 11/26/2006, Matthias Fechner wrote: >Hi, > >i tried to get smtp-auth against the pass working but it is not >work. I must add users with saslpasswd2 to the sasldb but I want to >auth my smtp users with there "normal" password without the need to >add them to an additional db. > >What I did is: >Installed sasl2authd from the ports. > >/etc/make.conf: ># Add SMTP AUTH support to Sendmail >SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 >SENDMAIL_LDFLAGS+= -L/usr/local/lib >SENDMAIL_LDADD+= -lsasl2 ># Enable smtps for sendmail >SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL >SENDMAIL_MILTER_IN_BASE=yes >And recompiled sendmail in base. > >Edit /usr/local/lib/sasl2/Sendmail.conf: >pwcheck_method: saslauthd > >Enabled saslauth in rc.conf and start it: >saslauthd_enable="yes" >saslauthd_flags="-a getpwent" > >Edited my .mc file: >dnl Enable smpt-auth >FEATURE(authinfo') >define(confDONT_BLAME_SENDMAIL',GroupReadableSASLDBFile')dnl >define(confAUTH_MECHANISMS',LOGIN GSSAPI DIGEST-MD5 CRAM-MD5')dnl >define(confRUN_AS_USER',root:mail')dnl > >But it seems to me that sendmail isn't using saslauth instead it uses >directly the sasldb so all thinks I configured in sasl2authd is useless. > >Has someone smtp-auth with sendmail against passwd running? > >Best regards, >Matthias > >-- > >"Programming today is a race between software engineers striving to >build bigger and better idiot-proof programs, and the universe trying to >produce bigger and better idiots. So far, the universe is winning." -- >Rich Cook >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.