I have been wrangling with SMTP AUTH for some time now.
I don't want to require auth for everything, just those messages not
already allowed by access.db or local-hostnames.
I have successfully used SMTP AUTH with pine to relay a message.
The problem is that SMTP AUTH is not enforced. If I reconfigure pine to
not perform auth, the relay still occurs. This is not what I want. Any
idea what I am missing?
The second question is: What precedence are local-host-names, access.db,
and SMTP-AUTH given? What I desire is
if local-host-names or access.db ok then relay
else if AUTH ok then relay
else go away
Below from the sendmail.org site. I added M=a which the cf/README says is
needed to cause auth to be required. This config didn't seem to help.
Any idea what is buggered?
DAEMON_OPTIONS(`Port=587, Name=MSA, M=E, M=a')dnl
See below for my config. Please cc me if you reply.
Thanks,
Jason C. Wells
>From /etc/mail/acces
192.168.1 RELAY
127.0.0.1 RELAY
>From /etc/mail/local-host-names
highperformance.net
jasoncwells.com
>From the sendmail mc ( i cooked booked these from sendmail.org for the
most part)
dnl The group needs to be mail in order to read the sasldb2 file
define(`confRUN_AS_USER',`root:mail')
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl
dnl DAEMON_OPTIONS(`Port=587, Name=MSA, M=E, M=a')dnl
dnl END SMTP AUTH modifications
dnl Allow all relaying. Do not enable without STMP AUTH
dnl FEATURE(promiscuous_relay)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message