• AUTH warning: no mechanisms

    From Knute Johnson@knute2025@585ranch.com to comp.mail.sendmail on Thu Oct 9 10:01:04 2025
    From Newsgroup: comp.mail.sendmail

    I'm setting up sendmail 8.18.1 on a Debian 13 virtual server. I'm
    having a problem sending mail. The log shows: AUTH warning: no
    mechanisms. I'm getting that in the log when I first connect and after
    the starttls too.

    I used the same sendmail.mc that I have used several other times and it
    all worked. Any idea where I've gone wrong?

    Thanks,
    --

    Knute Johnson

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to comp.mail.sendmail on Thu Oct 9 21:01:36 2025
    From Newsgroup: comp.mail.sendmail

    On 09.10.2025 10:01 Uhr Knute Johnson wrote:

    I used the same sendmail.mc that I have used several other times and
    it all worked. Any idea where I've gone wrong?

    TRUST_AUTH_MECH(`PLAIN')dnl
    define(`confAUTH_MECHANISMS', `PLAIN')dnl

    How do those settings on your systems look?
    Which mechanisms do you want to use?
    --
    kind regards
    Marco

    Send spam to 1759996864muell@stinkedores.dorfdsl.de

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Knute Johnson@knute2025@585ranch.com to comp.mail.sendmail on Thu Oct 9 15:00:14 2025
    From Newsgroup: comp.mail.sendmail

    On 10/9/25 14:01, Marco Moock wrote:
    On 09.10.2025 10:01 Uhr Knute Johnson wrote:

    I used the same sendmail.mc that I have used several other times and
    it all worked. Any idea where I've gone wrong?

    TRUST_AUTH_MECH(`PLAIN')dnl
    define(`confAUTH_MECHANISMS', `PLAIN')dnl

    How do those settings on your systems look?
    Which mechanisms do you want to use?


    I have LOGIN as well. There is nothing different about the files from
    this server and the previous one on a Debian 12 server with sendmail 8.17.

    saslauthd is running
    sendmail has no errors execpt when it gets mail to send
    the server receives mail but I can't send

    This is driving me nuts.
    --

    Knute Johnson
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Knute Johnson@knute2025@585ranch.com to comp.mail.sendmail on Thu Oct 9 15:08:17 2025
    From Newsgroup: comp.mail.sendmail

    Here is the sanitized log from the journal on an attempt to send.
    Notice that there is no AUTH offered. The solution has to come from there.

    I'll post the sendmail.mc next.

    Oct 09 20:00:36 test.com sm-mta[19095]: NOQUEUE: connect from customer.dllstxx1.pop.starlinkisp.net [98.97.78.136] (may be forged)
    Oct 09 20:00:36 test.com sm-mta[19095]: AUTH warning: no mechanisms
    Oct 09 20:00:36 test.com sm-mta[19095]: 599K0ZLN019095: Milter: no
    active filter
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 220
    example.org ESMTP
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: <-- EHLO [192.168.1.43]
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-test.com
    Hello customer.dllstxx1.pop.starlinkisp.net [98.97.78.136] (may be
    forged), pleased to meet you
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-ENHANCEDSTATUSCODES
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-PIPELINING
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-EXPN
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-VERB
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-8BITMIME
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-SIZE
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-DSN
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-STARTTLS
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250-DELIVERBY
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 250 HELP
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: <-- STARTTLS
    Oct 09 20:00:37 test.com sm-mta[19095]: engine=(null), path=(null),
    ispre=0, pre=0, initialized=0
    Oct 09 20:00:37 test.com sm-mta[19095]: tls_srv_features=(null), relay=[98.97.78.136] [98.97.78.136]
    Oct 09 20:00:37 test.com sm-mta[19095]: tls_srv_features=empty, stat=0, relay=[98.97.78.136] [98.97.78.136]
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: --- 220 2.0.0
    Ready to start TLS
    Oct 09 20:00:37 test.com sm-mta[19095]: STARTTLS=server, info: fds=8/4,
    err=2
    Oct 09 20:00:37 test.com sm-mta[19095]: STARTTLS=server, get_verify: 0 get_peer: 0x0
    Oct 09 20:00:37 test.com sm-mta[19095]: STARTTLS=server, relay=customer.dllstxx1.pop.starlinkisp.net [98.97.78.136] (may be
    forged), version=TLSv1.3, verify=NOT, cipher=TLS_AES_128_GCM_SHA256, bits=128/128
    Oct 09 20:00:37 test.com sm-mta[19095]: STARTTLS=server, cert-subject=, cert-issuer=, verifymsg=ok
    Oct 09 20:00:37 test.com sm-mta[19095]: AUTH warning: no mechanisms
    Oct 09 20:00:37 test.com sm-mta[19095]: STARTTLS=read, info: fds=8/4, err=2
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLN019095: <-- EHLO [192.168.1.43]
    Oct 09 20:00:37 test.com sm-mta[19095]: poststats: /var/lib/sendmail/sendmail.st: No such file or directory
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-test.com
    Hello customer.dllstxx1.pop.starlinkisp.net [98.97.78.136] (may be
    forged), pleased to meet you
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-ENHANCEDSTATUSCODES
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-PIPELINING
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-EXPN
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-VERB
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-8BITMIME
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-SIZE
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-DSN
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250-DELIVERBY
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 250 HELP
    Oct 09 20:00:37 test.com sm-mta[19095]: STARTTLS=read, info: fds=8/4, err=2
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: <-- MAIL FROM:<ai5ne@test.com> BODY=8BITMIME SIZE=375
    Oct 09 20:00:37 test.com sm-mta[19095]: 599K0ZLO019095: --- 530 5.7.0 Authentication required
    Oct 09 20:00:37 test.com sm-mta[19095]: STARTTLS=read, info: fds=8/4, err=2
    Oct 09 20:00:39 test.com sm-mta[19095]: 599K0ZLO019095: --- 421 4.4.1
    test.com Lost input channel from customer.dllstxx1.pop.starlinkisp.net [98.97.78.136] (may be forged)
    Oct 09 20:00:39 test.com sm-mta[19095]: 599K0ZLO019095: lost input
    channel from customer.dllstxx1.pop.starlinkisp.net [98.97.78.136] (may
    be forged) to MSP-v6 after mail
    Oct 09 20:00:39 test.com sm-mta[19095]: poststats: /var/lib/sendmail/sendmail.st: No such file or directory
    --

    Knute Johnson
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Knute Johnson@knute2025@585ranch.com to comp.mail.sendmail on Thu Oct 9 15:14:16 2025
    From Newsgroup: comp.mail.sendmail

    divert(-1)dnl
    divert(0)dnl
    define(`_USE_ETC_MAIL_')dnl
    include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
    VERSIONID(`$Id: sendmail.mc,v 8.18.1-6 2024-08-04 18:25:02 debian Exp $') OSTYPE(`debian')dnl
    DOMAIN(`debian-mta')dnl
    undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS= define(`confSMTP_LOGIN_MSG',`test.com')dnl
    define(`confLOG_LEVEL',32)dnl
    FEATURE(`no_default_msa')dnl
    DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, M=AC')dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v6, Port=submission, M=EaC')dnl define(`confPRIVACY_FLAGS',dnl `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
    define(`confCONNECTION_RATE_THROTTLE', `15')dnl define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
    FEATURE(`smrsh')dnl
    FEATURE(`use_cw_file')dnl
    FEATURE(`enhdnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}', `t')dnl
    FEATURE(`access_db', , `skip')dnl
    FEATURE(`blocklist_recipients')dnl
    FEATURE(`greet_pause', `1000')dnl 1 seconds define(`confBAD_RCPT_THROTTLE',`3')dnl
    FEATURE(`conncontrol')dnl
    FEATURE(`ratecontrol')dnl
    TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
    define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl
    define(`confAUTH_OPTIONS',`A p y')dnl
    include(`/etc/mail/sasl/sasl.m4')dnl
    include(`/etc/mail/tls/starttls.m4')dnl
    MAILER_DEFINITIONS
    MAILER(`local')dnl
    MAILER(`smtp')dnl
    --

    Knute Johnson
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Knute Johnson@knute2025@585ranch.com to comp.mail.sendmail on Thu Oct 9 15:42:33 2025
    From Newsgroup: comp.mail.sendmail

    I didn't have the package libsasl2-modules installed. It works just
    fine now. I do have a couple of minor errors:

    Oct 09 20:35:44 test.com sm-mta[21088]: 599KZbUZ021088: <-- QUIT
    Oct 09 20:35:44 test.com sm-mta[21088]: 599KZbUZ021088: --- 221 2.0.0
    test.com closing connection
    Oct 09 20:35:44 test.com sm-mta[21088]: STARTTLS=server, SSL_shutdown
    not done
    --

    Knute Johnson
    --- Synchronet 3.21a-Linux NewsLink 1.2