The default-auth-info file contains a list of values, one value per line, in the following
order:
First
The username that sendmail uses to check allowable permissions, such as
authuser (should never be root).
Second
The username of the user allowed to set up the connection, such as authuser
(should never be root).
Third
The clear-text password used to authorize the mail connection. This should be a
password dedicated to this use, not a plain-text copy of any user??™s (especially
root??™s) password.
Fourth
The administrative zone for authentication. In general, this should be your DNS
domain. If no realm is specified (this item is missing), sendmail will substitute
the value of the $j macro (?§21.9.59 on page 830).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
198 | Chapter 5: Authentication and Encryption
Fifth
With V8.11 only, the preferred mechanism for connection authentication. This
should match one of the mechanisms listed in the AuthMechanisms option
(?§24.9.5 on page 975).
For example, one such default-auth-info file??™s contents might look like this:
user
user
foobar
our.official.domain
CRAM-MD5 ?†? V8.11 only
This file must live in a directory, all components of which are writable only by root.
The file itself must be readable or writable only by root, and optionally readable by
the user defined by the TrustedUser option (?§24.
Pages:
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379