From owner-freebsd-stable Thu Aug 29 14:54:13 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E515037B400 for ; Thu, 29 Aug 2002 14:54:08 -0700 (PDT) Received: from jangada.softinfo.com.br (BA000200.user.veloxzone.com.br [200.164.0.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7476843E6A for ; Thu, 29 Aug 2002 14:54:06 -0700 (PDT) (envelope-from vitor@softinfo.com.br) Received: from acaraje (acaraje.softinfo.com.br [192.168.10.2]) by jangada.softinfo.com.br (8.12.5/8.12.5) with SMTP id g7TLs09Z059095 for ; Thu, 29 Aug 2002 18:54:01 -0300 (BRT) (envelope-from vitor@softinfo.com.br) Message-ID: <002901c24fa6$955e0ed0$020aa8c0@acaraje> Reply-To: "Vitor de Matos Carvalho" From: "Vitor de Matos Carvalho" To: "FreeBSD-Stable" Subject: Sendmail+Cyrus2 Date: Thu, 29 Aug 2002 18:54:00 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi... I installed cyrus for ports to function with sendmail 8,12,5 to require authentication in the sending of emails, only that I configured the customer of email to send login and the password to make autenticacao together to the sendmail alone that it of giving the following error to me: Relaying denied. Proper authentication required. I configured of the following form: How to enable SMTP AUTH with FreeBSD default Sendmail 1) Add the following to /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 2) Rebuild FreeBSD (make buildworld, ...) 3) Create /usr/local/lib/sasl/Sendmail.conf with the following. pwcheck_method: saslauthd 4) Add the following to your sendmail.mc file: dnl The group needs to be mail in order to read the sasldb2 file define(`confRUN_AS_USER',`root:mail')dnl TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5')dnl define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5')dnl define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl Regards, Vitor de Matos Carvalho System Network Administrator - Softinfo Network FreeBSD - The Power To Serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message