Find the answer to your Linux question:
Results 1 to 1 of 1
Help! I have been running sendmail on my home machine for some years and it has always worked. Recently, I decided to use my home box to relay mail from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    12

    Can't get sendmail to advertise auth methods


    Help! I have been running sendmail on my home machine for some years and it has always worked. Recently, I decided to use my home box to relay mail from my phones when I'm on the road. When I use the standard Android mail app, I can use my home as an ougoing server just fine. When I try to use K-9 I can't -- K-9 complains that I'm not advertising an AUTH method it can use. I checked, and sure enough, I'm only advertising GSSAPI.

    Connected to localhost.
    Escape character is '^]'.
    220 myurl ESMTP Sendmail 8.14.5/8.14.5; Mon, 9 Jul 2012 10:21:16 -0400
    ehlo localhost
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE
    250-DSN
    250-ETRN
    250-AUTH GSSAPI
    250-STARTTLS
    250-DELIVERBY
    250 HELP


    I have set my sendmail.mc to advertise everything I can think of:

    dnl Next two lines are for SMTP Authentication
    TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
    define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
    dnl
    dnl Next line stops sendmail from allowing auth without encryption
    define(`confAUTH_OPTIONS', `A p y')dnl

    Yes, I've done the m4 thing and have restarted sendmail.

    Maillog complains that it can't write to sm-client.pid, but that doesn't seem to stop things.

    Any ideas why I might not be advertising CRAM-MD5, LOGIN, or PLAIN?

    I've included my original post, which contains the entire sendmail.mc, but can't be posted because it contains urls (that I can't seem to find...)

    Thanks!

    billo
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •