Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 18:54:00 -0300
From:      "Vitor de Matos Carvalho" <vitor@softinfo.com.br>
To:        "FreeBSD-Stable" <freebsd-stable@FreeBSD.ORG>
Subject:   Sendmail+Cyrus2
Message-ID:  <002901c24fa6$955e0ed0$020aa8c0@acaraje>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002901c24fa6$955e0ed0$020aa8c0>