6 and earlier)
O UnixFromLine=format ?†? configuration file (V8.7 and later)
-OUnixFromLine=format ?†? command line (V8.7 and later)
define(`confFROM_LINE??,`format??) ?†? mc configuration (V8.7 and later)
The format is of type string. Under V8.6 and earlier, there was no default for format, so th e
$l macro always had to be defined. Beginning with V8.7, sendmail first checks to see
whether the UnixFromLine option was defined and uses that value if it was. Otherwise, it
checks to see whether the level of the configuration file is 6 or less. If it is and if the $l
macro was defined, it uses that value. Otherwise, it uses the default:
From $g $d
Here, $g (?§21.9.47 on page 824) holds the sender??™s address relative to the recipient, and $d
(?§21.9.30 on page 817) holds as its value the current date in Unix ctime(3) format.
The UnixFromLine option is not safe. If specified from the command line, it can cause sendmail
to relinquish its special privileges.
24.9.124.1 UnixFromLine in UUCP software
UUCP software requires all messages to begin with a header line that looks like this:
From sender date remote from
The sendmail program prefixes such a line to a mail message??™s headers if the F=U flag
(?§20.8.47 on page 781) is set for the delivery agent.* Prior to V8.7, if the local machine
supports UUCP, the $l macro must be supplied with ???From ???, sender, and date:
DlFrom $g $d
The rest of the information (the remote from ) is supplied by sendmail.
Pages:
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011