5 on
page 602). The second line (the no_default_msa feature; ?§17.8.35 on page 635) disables
all listening daemons. The second from last line (the DAEMON_OPTIONS; ?§24.9.27
on page 993) declares a single daemon withth e name authsmtp that will bind to
localhost (the loopback interface) and will listen on the nonstandard port numbered
26.?? The M=a tells this server to always require connection authentication. The
last line (the MAILER; ?§17.2.2.2 on page 590) allows mail to be relayed using smtp over
the Internet.
* Every component of a safe directory path must be owned and writable only by root.
?? If you wish to test as a user other than root, use a nonprivileged port number higher than 1028.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
190 | Chapter 5: Authentication and Encryption
Save this text to a file named test.mc, and then run the following command in the cf/cf
directory to create a cf file from that mc file:
# make test.cf
rm -f test.cf
m4 ../m4/cf.m4 test.mc > test.cf || ( rm -f test.cf && exit 1 )
echo "### test.mc ###" >>test.cf
sed -e ??™s/^/# /??™ test.mc >>test.cf
chmod 444 test.cf
You may then perform your tests by running the following command in one window
while sending email in another:
# ../../obj.*/sendmail/sendmail -Ctest.
Pages:
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364