Re: AUTH confirmation with SENDMAIL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's been awhile but this is what I used to get started.

http://www.sendmail.org/~ca/email/auth.html
On Apr 29, 2019 8:11 AM, Michael <aixtools@xxxxxxxxxxxxx> wrote:
>
> If you have any experience with configuring SENDMAIL and AUTH - and
> willing to share - I'd appreciate some hints.
>
> Just to get things started:
>
> a) I am building sasl and sendmail myself - errors are likely
> self-inflicted.
>
> b) when I start sendmail (-OLogLevel=14) I see:
>
> syslog output: date-string... AUTH: available mech=SCRAM-SHA-1
> SCRAM-SHA-256 DIGEST-MD5 OTP CRAM-MD5 PLAIN ANONYMOUS, allowed
> mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
>
> FYI: no special attention to mechanisms I recall when building SASL (v1.27)
>
> My sendmail.mc file contains:
>
> dnl # FEATURE(genericstable)dnl
> dnl # FEATURE(mailertable)dnl
> dnl # FEATURE(virtusertable)dnl
> dnl # FEATURE(domaintable)dnl
> dnl # FEATURE(access_db)dnl
> dnl # FEATURE(blacklist_recipients)dnl
>
> dnl ### AUTH CONFIGURATION
> define(`confAUTH_OPTIONS', `A')dnl
> TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
> define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
>
> The generated sendmail.cf file contains:
>
> root@x066:[/data/prj/aixtools/git/sendmail/sendmail-8.15.2.1/cf/cf]grep
> Auth /tmp/sendmail.cf
> C{TrustAuthMech}LOGIN PLAIN
> O AuthMechanisms=LOGIN PLAIN
> # Authentication realm
> #O AuthRealm
> #O DefaultAuthInfo=/etc/mail/default-auth-info
> O AuthOptions=A
> #O AuthMaxBits
> R$*                     $: $1 $| $>"Local_Relay_Auth" $&{auth_type}
> R$* $| $={TrustAuthMech}        $# RELAY
>
> ehlo says:
>
> ehlo x.y.z
> 250-x066.home.local Hello root@localhost, pleased to meet you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-EXPN
> 250-VERB
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-ETRN
> 250-AUTH DIGEST-MD5 CRAM-MD5
> 250-STARTTLS
> 250-DELIVERBY
> 250 HELP
> auth
> 501 5.5.2 AUTH mechanism must be specified
> auth PLAIN
> 504 5.3.3 AUTH mechanism PLAIN not available
> AUTH LOGIN
> 504 5.3.3 AUTH mechanism LOGIN not available
> AUTH CRAM-MD5
> 334 PDEyMzI4NzU5MjEuMTMwMzk1NDZAeDA2Ni5ob21lLmxvY2FsPg==
>
> ***
>
> While I do not expect to run as "PLAIN", I am using these values to
> verify my understanding of the setup. Suggestions on how to activate
> PLAIN/LOGIN are welcome!
>
> Michael
>
>
>




[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux