7.54
on page 569), which can also be used to observe this process.
After sendmail opens the /path for reading, but before it reads the file, it sets the controlling
user to be the owner of the file (if one is not already set, and provided that
file ownership cannot be given away with chown(1)). The controlling user provides
the uid and gid identities of the sender when delivering mail from the queue
(?§11.12.3 on page 447).
The :include: file can neither deliver through programs nor append to files if any of
the following situations are true:
??? If the owner of the :include: file has a shell that is not listed in /etc/shells (?§4.8.3
on page 180)
??? If th e:include: file is group- or world-writable (see also the DontBlameSendmail
option, ?§4.5.5 on page 168)
??? If th e:include: file is group-writable and the UnsafeGroupWrites option
(?§24.9.125 on page 1114) is true
??? If sendmail is not running as root because the RunAsUser option (?§24.9.102 on
page 1083) has been defined (see also the DontBlameSendmail option, ?§4.5.5 on
page 168)
13.2.1 Comments in :include: Lists
IDA and V8 sendmail allow comments in :include: files. Comment lines begin witha
# character. If the # doesn??™t begin the line, it is treated as the beginning of an address,
thus allowing valid usernames that begin with a # (suchas #1user) to appear first in a
line by prefixing them with a space:
# Management ?†? a comment
frida
george@wash.
Pages:
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875