Groups | Search | Server Info | Login | Register


Groups > comp.mail.sendmail > #8172

Re: Followup Re: Need help with SMART_HOST

From Stacey Marshall <stacey.marshall@gmail.com>
Newsgroups comp.mail.sendmail
Subject Re: Followup Re: Need help with SMART_HOST
Date 2025-09-08 15:49 +0100
Organization A noiseless patient Spider
Message-ID <109mqdl$c153$1@dont-email.me> (permalink)
References <1094nn3$185b$1@dont-email.me> <20250901203943.4d269db5@ryz.dorfdsl.de> <10959ki$4lqi$1@dont-email.me> <1099dlm$14vmo$1@dont-email.me>

Show all headers | View raw


On 03/09/2025 13:52, Lew Pitcher wrote:
> 2) To address the authentication issue, I added
>       AuthInfo:relayhost.dns.name "U:USERNAME" "P:PASSWORD" "M:LOGIN PLAIN"
>     (substituting the appropriate ISP webmail values for USERNAME and PASSWORD)
>     to my /etc/mail/access file, and rebuilt the /etc/mail/access.db file.

Thanks for sharing your answer Lew

As I hadn't come across "M:LOGIN PLAIN" before I had a poke around 
sendmail 8.18.1 source.  There I found some information on SMTP 
AUTHENTICATION in the cf/README file which includes

----
The RHS for an AuthInfo: entry in the access map should consists of a
list of tokens, each of which has the form: "TDstring" (including
the quotes).  T is a tag which describes the item, D is a delimiter,
either ':' for simple text or '=' for a base64 encoded string.
Valid values for the tag are:

	U	user (authorization) id
	I	authentication id
	P	password
	R	realm
	M	list of mechanisms delimited by spaces

Example entries are:

AuthInfo:other.dom "U:user" "I:user" "P:secret" "R:other.dom" "M:DIGEST-MD5"
AuthInfo:host.more.dom "U:user" "P=c2VjcmV0"

User id or authentication id must exist as well as the password.  All
other entries have default values.  If one of user or authentication
id is missing, the existing value is used for the missing item.
If "R:" is not specified, realm defaults to $j.  The list of mechanisms
defaults to those specified by AuthMechanisms.

Since this map contains sensitive information, either the access
map must be unreadable by everyone but root (or the trusted user)
or FEATURE(`authinfo') must be used which provides a separate map.
Notice: It is not checked whether the map is actually
group/world-unreadable, this is left to the user.
----

I also found the following pages helpful:
https://www.sendmail.org/~ca/email/auth.html
https://www.samlogic.net/articles/smtp-commands-reference-auth.htm

Back to comp.mail.sendmail | Previous | NextPrevious in thread | Find similar


Thread

Need help with SMART_HOST Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-09-01 18:12 +0000
  Re: Need help with SMART_HOST Marco Moock <mm@dorfdsl.de> - 2025-09-01 20:39 +0200
    Re: Need help with SMART_HOST Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-09-01 19:02 +0000
    Re: Need help with SMART_HOST Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-09-01 23:18 +0000
      Followup Re: Need help with SMART_HOST Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-09-03 12:52 +0000
        Re: Followup Re: Need help with SMART_HOST Stacey Marshall <stacey.marshall@gmail.com> - 2025-09-08 15:49 +0100

csiph-web