Mail Administration Guide
只搜尋這本書
以 PDF 格式下載這本書

Index

Symbols

!, inuucp mail headers4, 6
", in recipient names66, 77
#
.....beginning ofsendmail.cf lines77
$
.....inqf files50
.....sendmail metasymbol specifier88 to 91
.....sendmail special macrospecifier84 to 88
$-
.....address-rewriting metasymbol88
.....macro86
$#mailer, address-rewritingmetasymbol90
$%l, address-rewriting metasymbol89
$%x, address-rewriting metasymbol89
$%y, address-rewriting metasymbol89
$*, address-rewriting metasymbol88
$+, address-rewriting metasymbol88
$:, address-rewriting metasymbol90
$:user, address-rewritingmetasymbol90
$=m class88
$=w class88
$=x, address-rewriting metasymbol88
$>n, address-rewriting metasymbol90
$@, address-rewriting metasymbol90
$@host, address-rewriting metasymbol90
$[host$], address-rewritingmetasymbol90, 91
${x name$}, address-rewritingmetasymbol90, 91
$~x, address-rewriting metasymbol88
$n, address-rewriting metasymbol90
$OPENWINHOME/bin/mailtoolcommand,Seemailtoolcommand
$x
.....address-rewriting metasymbol88, 90
%, in mailbox names9
(), in recipient names66, 77
*
.....$* address-rewriting metasymbol88
.....inpostmaster password field47
-,See dash (-)
".", replying to122
.,See dot (.)
/, in recipient names67
<>, in recipient names66, 77
?
.....headers and82
.....in macros87
@,See at sign (@)
@:@, in alias database119
[],$[host$] address-rewritingmetasymbol90, 91
\, in recipient names66, 77
_, in mailbox names8
{},${x name$} address-rewritingmetasymbol90, 91
|
.....in macros87
.....in recipient names67

Numerics

-7 flag (mailer description)125

A

A field (mailer description)95
-a flag (mailer description)123
$a macro (sendmail) program)85, 87
-a option (aliasadmin command)42
adding
.....aliases to/etc/mail/aliasesfile45 to 46
.....aliases to NIS+ mail_aliases table42
addresses4 to 7, 23
.....% in9
.....@ in4, 7, 92
.....bang-style (!)4, 6
.....case sensitivity4, 5
.....comments excluded from124
.....described4 to 7
.....domain,See domain names
.....how addressing works23 to 24
.....local4, 9
.....mail6 to 7
.....parsing bysendmail program63, 83
.....resolution agents2, 32
.....rewriting rules68, 76 to 77, 84 to 96
............defining a rule (R)83
............error message generation93
............left-hand side88
............mailers90, 94 to 95
............metasymbols ($)88 to 91
............right-hand side89 to 91
............rule set 076, 92, 93, 97
............rule set 176, 77, 93, 98
............rule set 276, 93
............rule set 376, 92, 97, 98
............rule set 476, 93, 95
............rule set 997
............rule set 1096
............rule set 1196
............rule set 2096
............rule set 2196, 98
............rule set 2498
............rule set R76, 83
............rule set S76, 83
............semantics91 to 96
............setting current rule set (S)83
............special classes88
............special macros ($)84 to 88
............standard rule sets76 to 77
............testing97 to 98
......route-based6
......route-independent7
......verifying15, 56
administering mail configuration49 to 55
......See also adding; changing;configuring; deleting
Administration Tool, Database Manager,alias administration and37, 38, 40
aliasadmin command41 to 43
......adding entries by command line (-a)42
......adding entries by editing (-e)42
......changing entries (-c)43
......deleting entries (-d)43
......described15, 37, 41
......initiating tables (-I)41
......listing all entries (-l)41, 42
......listing individual entries (-m)41, 43
aliases9 to 10, 37 to 48
......alternative alias files, using119
......creating9 to 10, 37 to 48
............DNS aliases files46
.........../etc/mail/aliases file38, 44 to 46
...........examples9 to 10
............mailrc file37
...........newaliases program38, 46
...........NIS aliases map39, 43 to 44
...........NIS+ mail_aliases table40 to 42
...........overview9 to 10, 37
...........postmaster47 to 48
...........user creation of10
....defined9
....disallowing aliasing118
....DNS46
....duplicate message copies and63
..../etc/mail/aliases file
...........creating38
...........described38, 44 to 45
...........adding entries45 to 46
...........binary form of15
...........creating44 to 46
...........deleting entries46
...........described8, 10, 15, 34
...........local mail and remote connectionconfiguration and26
...........local mail only configurationand25
...........NIS and43 to 44
...........permissions setting for38, 75
...........postmaster alias45, 47 to 48
...........root alias45
....host
...........DNS46
...........NIS and NIS+35
....initializing databases
...........NIS+ mail_aliases table41
...........sendmail program argumentfor117
....local addresses and4
....loops56, 63
....mail client configuration and35
.....mailrc file10, 37
....naming9
....necessity for9, 24
....NIS (mail.aliases map)8, 43 to 44
...........administering10, 39, 43 to 44
...........creating39, 43 to 44
............described39
............/etc/mail/aliases fileand43 to 44
............host aliases35
............postmaster alias44, 47
............root alias44
......NIS+ (mail_aliases table)8, 40 to 43
............adding entries42
............administering10, 15, 41 to 43
............changing entries43
............creating40 to 42
............deleting entries43
............described40
............host aliases35
............initiating41
............listing41
............postmaster alias47
......permissions setting for databases38, 75
......portability and flexibility of aliasfiles9
......postmaster
............/etc/mail/aliases file45, 47 to 48
............NIS or NIS+44, 47
............setting up47 to 48
......rebuilding databases119, 120
......RHS validation for120
......root
............/etc/mail/aliases file45
............NIS44
......sendmail usage of18 to 19, 39, 63, 118
......SMTP inverts3
......uniqueness requirements37
......update-request handling24
......user creation of10
......uses for9, 10
......verifying55
aliases.dir file15, 46
aliases.pag file15, 46
angle brackets (<>), in recipientnames66, 77
Apparently To: header line82
argument vector template (mailerdescription)95
argument vector/exit status interface(sendmail program)62
arguments (sendmail program)
.....described,Seesendmail program,arguments to
.....processing63
ARPANET mode argument (sendmailprogram)117
asterisk (*)
.....$* address-rewriting metasymbol88
.....inpostmaster password field47
asynchronous delivery mode72, 119
at sign (@)
.....$@ address-rewriting metasymbol90
.....$@host address-rewritingmetasymbol90
.....@:@ in alias database119
.....appending @domain123 to 124
.....in addresses4, 7, 92
audio files, mailbox space requirementsand13
automatic mounting,/var/maildirectory34, 12
automatic reply,Seevacation command
automount_master file34

B

-B argument (sendmail program)117
B code (qf files)50
-b flag (mailer description)123
$b macro (sendmail program)85, 87
-ba argument (sendmail program)117
background delivery mode72, 119
backslash (\), in recipient names66, 77
backups, mail servers and13
bang-style addressing4, 6
Bcc: header line118
-bd argument (sendmail program)69, 117
-bi argument (sendmail program)117
binary data, transmitting64
blank lines
......forcing at end of messages123
......sendmail.cf file77
blank substitute,sendmail configurationoption119
blind carbon copies118
-bm argument (sendmail program)117
body of mail messages50, 63 to 64, 117
body type argument (sendmailprogram)117
body type code (qf file)50
bounced messages,See undeliveredmessages
-bp argument (sendmail program)51, 117
brackets,See curly brackets ({}); squarebrackets ([])
-bs argument (sendmail program)117
-bt argument (sendmail program)56, 97 to 98, 117
-bv argument (sendmail program)55, 117

C

-C argument (sendmail program)70, 117
-c argument (sendmail program)119
C class definition (sendmail.cf file)21, 36, 79 to 80
C code (qf files)50
-C flag (mailer description)94, 123 to 124
-c flag (mailer description)124
$c macro (sendmail program)85, 87, 88
-c option (aliasadmin command)43
cached connections120
carbon copies118
......See also multiple recipients
case sensitivity
......See also uppercase preservation
......classes21, 79
......domain addresses4, 5
.....macros21, 77
Cc: header line93, 118
changing
.....aliases in/etc/mail/aliasesfile45 to 46
.....aliases in NIS+ mail_aliases table43
checking aftern recipients (sendmail.cffile)119
classes
.....C class definition21, 36, 79 to 80
.....case sensitivity21, 79
.....examples80
.....F class definition79
.....file containing16
.....G class definition21, 79 to 80
.....sendmailvars table and16, 21 to 22, 79 to 80
.....sendmailvars.org_dir tableand16, 21, 79 to 80
.....special88
.....V class21, 80
clients,See mail clients
colon (:)
.....$: address-rewriting metasymbol90
.....$:user address-rewritingmetasymbol90
command-line arguments,Seesendmailprogram, arguments to
comments, excluding from addresses124
communications protocols,See protocols
conditionals (configuration)87
configuration files
.....See alsomain.cf file;sendmail.cffile;subsidiary.cf file
.....alternative70, 117
.....creating from scratch96 to 98
.....default20
.....described19, 66
.....domain-based naming and96
.....mail clients20
.....mail gateways20
.....mail hosts20
.....mail servers20
.....policies and96
......purpose of96 to 97
......RFCs and96
......using existing,Seesendmail.cf file
configuration table (sendmailprogram)6, 16, 21 to 22
configuration types11 to 14, 24 to 29
......basic elements11, 24, 32
......local mail and remote connection26
......local mail only25
......remote mail25 to 26
......two domains and a gateway27 to 29
......typical configuration11, 26
configuring31 to 48
......administering a configuration49 to 55
......aliases,See aliases
......mail clients34 to 35
......mail gateways13 to 14, 32, 36 to 37
......mail hosts12, 35, 36
......mail servers33 to 34
......multifunction components32
......overview31 to 33
......preparation for32
......security and33
......testing a configuration48
connections to other systems
......verifying15, 57
continuation lines (sendmail.cf file)77
CR ddn-gateway entry (sendmail.cffile)36
creating
......See also adding; configuring
......aliases,See aliases, creating
......configuration files from scratch96 to 98
......postmaster mailbox47
crontab file57
curly brackets ({}),${x name$} address-rewriting metasymbol90, 91
custom mailers, user-specified60

D

-d argument (sendmail program)69, 98, 117
D code (qf files)50
-D flag (mailer description)124
$d macro (sendmail program)85, 87
D macro definition (sendmail.cf file)6, 21, 36, 77 to 79
-d option (aliasadmin command)43
daemons
.....See alsosendmail daemon
.....listening daemon, listing PID of16
.....MAILER-DAEMON8, 57, 121
.....mail-notification daemon17
...../usr/sbin/in.comsatdaemon17
dash (-)
.....$- address-rewriting metasymbol88
.....$- macro86
.....mailbox names with8
Database Manager (Administration Tool)
.....alias administration and37, 38, 40
databases (alias),See aliases
Date: header line87, 124
ddn mailer
.....mail gateway configuration and36
.....specifying insendmail.cf36
dead.letter files65
debugging
.....See also testing; troubleshooting
.....mconnect program for15, 57
.....sendmail program69, 98, 117
.....version number macro and87
decoding binary data64
defaults
.....configuration files20
...../etc/syslog.conf file54 to 55
.....group ID for mailers120
.....load limiting72
.....log level120
.....mailer3
.....mailtool command15
.....mailx command16
......sendmail program5, 36, 81, 117
......sendmail.cf file36, 81
......syslogd message destination53
....../var/mail directorypermissions33
deleting
......aliases in/etc/mail/aliasesfile46
......aliases in NIS+ mail_aliases table43
......local host names88
delivery agents,See mailers
delivery mode (sendmail.cf file)20, 72, 119
delivery speed20, 72
DeskSet Mail Tool, binary datatransmission and64
desktop-publishing files, mailbox spacerequirements and13
dfstab file33
diagnostic information,Seetroubleshooting
directories
......See alsospecific directories
......mail queue121
displaying,See listing
distribution lists, mailbox names and8
Dmmaildomain entry (sendmail.cffile)36
DMsmartuucp entry (sendmail.cffile)36
DNS
......aliases files46
......MX records46, 122, 123
......NIS and100, 101
......NIS+ and100, 101
dollar sign ($)
......inqf files50
......sendmail metasymbol specifier88 to 91
......sendmail special macro specifier84 to 88
domain aliases, DNS46
domain names
.....See also addresses
.....case sensitivity4, 5
.....class of88
.....described4 to 6
.....mail domain name5, 21, 36, 98, 99 to 100, 101 to 102
.....namespace domain name5
.....network domain name5
.....network vs. mail5
.....reverse-order5
.....sendmail program and60
.....SMTP appends3
domains
.....defined4
.....top-level U.S.5
.....two domains and a gatewayconfiguration27 to 29
dot (.)
.....hidden dot algorithm125
.....ignoring dots in incomingmessages119, 120
.....in domain addresses4
.....in mailbox names8
.....replying to "." in data122
double quotation marks (")
.....in recipient names66, 77
.....replying to "." in data122
.....stripping before calling mailer125
DR ddn-gateway entry (sendmail.cffile)36, 77 to 78
dual-function components,configuring32
duplicate message copies,troubleshooting63

E

-e argument (sendmail program)119
E code (qf files)50
E field (mailer description)95
-E flag (mailer description)124
-e flag (mailer description)94, 124
$e macro (sendmail program)85
-e option (aliasadmin command)42
editing,See adding; changing; deleting
empty messages, disallowing119
encoding binary data64
end-of-line indicator (mailerdescription)95
envelope file63
error detection,See debugging;troubleshooting
error handling,sendmail program65, 119 to 120
error mailer93
error messages
......address-rewriting rule set 093
......appending info to119
......disallowing120
......disposition of119 to 120
......logger for17, 53, 57, 73
......MAILER-DAEMON121, 124
......MIME format120
......printing119
......sending back to sender120
......"Services unavailable"65
Errors-To: header line82, 120
/etc/automount_master file34
/etc/dfs/dfstab file33
/etc/hosts file
......local mail and remote connectionconfiguration and27
......local mail only configuration and25
......loghost55
......mail client configuration and35
......mail hosts configuration and35
......NIS mail.aliases map and44
......remote mail configuration and26
......sendmail address-rewriting rulesand89, 91
/etc/inet/hosts file, designatingsystems as hosts in12
/etc/mail directory, contents of15 to 16
/etc/mail/aliases file
......See also aliases
......adding entries45 to 46
......binary form of15
.....creating38, 44 to 46
.....deleting entries46
.....described8, 10, 15, 34, 38, 44 to 45
.....local mail and remote connectionconfiguration and26
.....local mail only configuration and25
.....NIS and43 to 44
.....permissions setting for38, 75
.....postmaster alias45, 47 to 48
.....root alias45
/etc/mail/aliases.dir file15, 46
/etc/mail/aliases.pag file15, 46
/etc/mail/Mail.rc file15
/etc/mail/mailx.rc file16
/etc/mail/main.cf file,Seemain.cffile
/etc/mail/sendmail.cf file,Seesendmail.cf file
/etc/mail/sendmail.hf file16
/etc/mail/sendmail.pid file16
/etc/mail/sendmail.st file15, 16
/etc/mail/subsidiary.cf file16, 20, 25, 26, 27
/etc/named.boot file46
/etc/nsswitch.conf file18, 21, 46
/etc/sendmailvars table6, 16, 21 to 22, 77 to 80
/etc/syslog.conf file54 to 55
/etc/vfstab file
.....local mail and remote connectionconfiguration and27
.....mail clients and13, 34
.....mail servers and12
.....remote mail configuration and26
...../var/mail directory mountingand34, 12
ether mailer
.....described3, 96
.....mail gateway configuration and36
.....specifying insendmail.cf36, 95 to 96
Ethernet, testing mail configuration on48
exclamation point (!), inuucp mailheaders4, 6
expensive mailers119, 124
exporting/var directory33

F

-F argument (sendmail program)118
-f argument (sendmail program)118
F class definition (sendmail.cf file)79
F code (qf files)50
F field (mailer description)93 to 94
-F flag (mailer description)95, 124
-f flag (mailer description)93, 124
$f macro (sendmail program)85, 87
file protection modes (sendmail.cffile)20, 74 to 75
files
......See alsospecific files
......assendmail message recipients64, 66
......mail-services15 to 18
flags
......See alsosendmail program,arguments to
......mailer-description74, 93 to 96, 103, 123 to 125
flushing queue, old messages only71
forcing
......mail queue52
......name service to run120
......queue52
forged names, avoiding124
.forward files (sendmail program)22, 120
forward slash (/), in recipient names67
forwarding mail
......disallowing118
......individual specification of60
......search path setting for120
......setting up24
......troubleshooting mail problemsand22
From: header line93, 119, 120, 124, 125
Full-Name: header line87, 125

G

G class definition (sendmail.cf file)21, 79 to 80
-g flag (mailer description)124
$g macro (sendmail program)85, 87
gateways,See mail gateways
gethostbyname command87, 100 to 101
gethostname command87
greater than sign (>),$>n address-rewriting metasymbol90
group ID for mailers, setting default120
group mailing lists60

H

-h argument (sendmail program)118
H code (qf files)51
-h flag (mailer description)124
$h macro (sendmail program)85, 87, 92, 95
hardware components11 to 14
headers
.....Apparently To: line82
.....Bcc: line118
.....Cc: line93, 118
.....Date: line87, 124
.....defining insendmail.cf file82
.....Errors-To: line82, 120
.....From: line93, 119, 120, 124, 125
.....Full-Name: line87, 125
.....Message-Id: line87, 124
.....old format121
.....queue files51
.....Return-Path: line124
.....Return-Receipt-To: line82
.....sendmail program and63 to 64, 65, 67, 82
.....smartuucp3
.....SMTP3
......special interpretations82
......To: line82, 93, 118
......tracing message route via57
......UNIX-styleFrom lines119, 120, 124, 125
......uucp3
......X-Authentication-Warning:line121
help file, SMTP16, 120
hidden dot algorithm125
hop count87, 118, 120
hosts file,See/etc/hosts file
hosts,See mail hosts
hosts.byname map (NIS)89, 91, 100 to 102
hyphen (-),See dash (-)

I

-i argument (sendmail program)119
-I flag (mailer description)124
$i macro (sendmail program)85, 87
-I option (aliasadmin command)41
IDENT protocol timeout122
ignoring dots in incoming messages119, 120
in.comsat daemon17
initializing alias databases
......NIS+ mail_aliases table41
......sendmail program argumentfor117
initiating queue file122
input, stripping to seven bits123
inserting,See adding
interactive delivery mode72, 119
Internet,sendmail program as Internetmail gateway61

J

$j macro (sendmail program)85

K

$k macro (sendmail program)85

L

L code (qf files)51
L field (mailer description)95, 124
-L flag (mailer description)124
-l flag (mailer description)124
$l macro (sendmail program)85
L macro definition (sendmail.cf file)6, 21, 36, 77 to 79
-l option (aliasadmin command)41, 42
$%l, address-rewriting metabsymbol89
left-hand side of mail addresses88
limits,See load limiting; maximums; timeintervals
line length, limiting124
links, in/usr/bin directory15
listening daemon, listing PID for16
listing
.....See also printing
.....mail queue15
.....NIS+ mail_aliases table41
.....PID of listening daemon16
Lmmaildomain entry (sendmail.cffile)36
load limiting (sendmail program)20, 72 to 73, 123
local addresses4, 9
local aliases file,See/etc/mail/aliases file
local mail and remote connectionconfiguration26
local mail only configuration25
local mailer93, 95 to 96
local mode
.....mail client in23
log
.....sendmail logging argument118
.....system17, 53 to 55, 57, 73
log level
....../etc/syslog.conf file55
......sendmail.cf file20, 73, 120
loghost (/etc/hosts file)53, 55
loops, alias56, 63
lowercase,See case sensitivity

M

-M argument (sendmail program)52, 118
-m argument (sendmail program)119
$=m class88
M code (qf files)51
M control line (sendmail.cf file)84
-M flag (mailer description)124
-m flag (mailer description)93 to 94, 95, 124
$m macro (sendmail program)85
m macro (sendmail.cf file)6, 21, 36, 78, 86
-m option (aliasadmin command)41, 43
macros (configuration)21, 67
......case sensitivity21, 77
......conditionals87
......D macro definition6, 21, 36, 77 to 79
......examples78
......file containing16
......L macro definition6, 21, 36, 77 to 79
......m macro6, 21, 36, 78, 86
......naming77
......OM option120
......p macro86
......qf files50
......R macro36, 78
......required85 to 86
......sendmailvars table and6, 16, 21 to 22, 77 to 79
......sendmailvars.org_dir tableand16, 21, 77 to 79
......special ($)84 to 88
......uses for67
mail addresses
.....See also addresses
.....defined6 to 7
mail aliases,See aliases
mail client
.....local mode23
.....remote mode23
mail clients
.....configuration file for20
.....configuring34 to 35
.....defined13, 32
.....local mail only configuration and25, 26
.....mail server and12
.....mailboxes automatically createdfor34, 35
.....NFS-mounted file systems and33, 34 to 35
.....remote mail configuration and25
.....remote mode13
mail command2, 15, 18
mail configuration files,See configurationfiles
mail configurations,See configurationtypes
mail connections, testing15, 57
mail daemons,See daemons
mail delivery agents,See mailers
mail delivery paths,See delivery paths
mail domain names5, 21, 36, 98, 99 to 100, 101 to 102
.....See also domain names
mail exchange (MX) records (DNS)46, 122, 123
mail forwarding,See forwarding mail
mail gateways
.....candidates for36
.....configuration files for20
.....configuring13 to 14, 32, 36 to 37
.....defined13, 32
.....local mail and remote connectionconfiguration and26
.....security and14
.....sendmail program as gateway61
.....sendmail.cf file and13, 20, 36
......SMTP and3
......testing48
......two domains and a gatewayconfiguration27 to 29
mail headers,See headers
mail host
......remote mail configuration and25
mail hosts12
......address-rewriting rules84 to 93
......aliases
............DNS46
............NIS and NIS+35
......candidates for12, 35
......configuration file for12, 20
......configuring12, 35, 36
......defined12, 32
......deleting local host names88
......designating systems as12
......dual-function32
......local mail and remote connectionconfiguration and26
......local mail only configuration and25
......name services andsendmailprogram and100 to 102
......name set for a host88
......sendmail.cf file and20, 35
......two domains and a gatewayconfiguration and27
......uppercase preserved in names124
mail hosts,See also/etc/hosts file
mail macros,See macros (configuration)
mail messages
......body of50, 63 to 64, 117
......carbon copies118
......collection bysendmail program63 to 64
......delivery bysendmail program64
......duplicate copies received63
......empty, disallowing119
......headers,See headers
......queue,See mail queue
......size setting73
......timeouts20, 71, 122
......tracking57, 87
.....undelivered,See undeliveredmessages
mail problems,See debugging;troubleshooting
mail queue49 to 52
.....delivering each job in separateprocess123
.....described49
.....directory for121
.....flushing old messages71
.....forcing52
.....format of files50 to 51
.....initiating queue file122
.....listing15
.....mail server and12
.....moving52
.....overlarge51
.....printing51 to 52, 117
.....queueing rather than running121
.....retransmission and65
.....running51, 68, 118
.....running old53
.....running subset52, 118
.....temporary queue file mode120
.....time interval for running51, 68, 71, 118
.....timeouts for messages20, 71, 122
mail queue delivery mode72, 119
mail routers,See routers;sendmailprogram
mail security,See security
mail servers12 to 13
.....backups and13
.....candidates for13
.....configuration file for20
.....configuring33 to 34
.....defined12, 32
.....dual-function32
.....local mail and remote connectionconfiguration and26
.....local mail only configuration and25
.....mail clients and12
.....mailboxes on7 to 9, 13
.....NFS-mounted file systems and12, 33
.....remote mail configuration and25
......security permissions on33
......space requirements13
......two domains and a gatewayconfiguration and27
mail services
......administering49 to 55
......configurations11 to 14, 24 to 29, 32
......configuring31 to 48
......hardware components11 to 14
......planning mail systems24 to 29
......programs and files15 to 22
......software components2 to 10
......testing48
......troubleshooting22, 55 to 58
mail transport agents
......See alsosendmail program
......defined2
mail user agents
......described2, 15
......mail command2, 15, 18
......mailtool command2, 15, 17, 63
......mailx command2, 15, 16, 18, 63
mail.aliases map,See NIS, aliases(mail.aliases map)
mail.local mailer16, 18
Mail.rc file15
mail_aliases table,See NIS+, aliases(mail_aliases table)
mailboxes
......automatic creation bysendmailprogram34, 35
......automatic mounting of34
......defined7, 12
......files for16
......location of7 to 8
......mail servers and7 to 8, 13
......mailer for16, 18
......naming8
......necessity for24
......NFS-mounted file systems and7 to 8, 33
......postmaster,Seepostmastermailbox
......root in NIS44
.....space requirements13
.....spooling space for33
mailcompat filter15
MAILER-DAEMON8, 57, 121, 124
mailers
.....custom, user-specified60
.....ddn mailer36
.....defined3
.....error mailer93
.....ether mailer3, 36, 95 to 96
.....expensive119, 124
.....group ID for, setting default120
.....internal name36, 67, 93
.....local mailer93, 95 to 96
.....mail gateway configuration and36
.....mail.local mailer16, 18
.....smartuucp mailer3, 36
.....Solaris mailers described3 to 4
.....specifying insendmail
............flags for103, 123 to 125
.....specifying insendmail.cf
............address-rewriting rules90
............flags for74, 93 to 96
............internal name specification(DM)36, 67, 93
............program and interfacespecification (M)84
............semantics of descriptions93 to 96
.....user ID for, setting default122
.....uucp mailer4, 36, 48
.....uux mailer4
mail-forwarding information,See/etc/mail/aliases file
mail-notification daemon17
mailq command15, 51 to 52, 121
.mailrc file10, 37
mailsort program66
mailstats program15, 58
mailtool command
.....default settings for15
.....described2, 17
.....sendmail program interfacewith63
mailx command
......alias expansion18
......default settings16
......described2, 15
......sendmail program interfacewith63
mailx.rc file16
main.cf file
......See alsosendmail.cf file
......described16, 20
......local mail and remote connectionconfiguration and27
......mail gateway configuration and20, 36
......mail host configuration and12, 35, 36
......sample105
map (aliases),See NIS, aliases (mail.aliasesmap)
maximums
......See also load limiting; time intervals
......cachable open connections120
......cached connection idle time120
......hop count120
......line length124
......message size73
mconnect program15, 57
message collection (sendmailprogram)63 to 64
message delivery (sendmailprogram)64
message headers,See headers
message queue,See mail queue
message timeouts20, 71, 122
message tracking57, 87
Message-Id: header line87, 124
messages,See mail messages
metasymbols, address-rewriting rules88 to 91
MIME format, error messages in120
minus sign,See dash (-)
mounting
......See also NFS-mounted file systems
...../var/mail directory12
mounting,/var/mail directory34
moving
.....mail queue52
mqueue directory16, 50 to 51
multifunction components,configuring32
multiple recipients124
.....See also carbon copies
MX (mail exchange) records (DNS)46, 122, 123

N

-n argument (sendmail program)118
-n flag (mailer description)124
$n macro (sendmail program)85
name services
.....See also NIS; NIS+
.....forcing name service to run120
.....sendmail program interactionwith98 to 102
named.boot file46
name-rewriting rules,See addresses,rewriting rules
namespace domain names5
naming
.....See also addresses; domain names
.....aliases9
.....forged name avoidance124
.....macros77
.....mail host name set88
.....mailboxes8
.....mailer internal names36, 67, 93
.....schemes for,sendmail programand60
.....sendmail recipient namesformat66
net mail groups, mailbox names for8
network domain names5
New Zealand, domain names in5
newaliases program15, 38, 46
NFS-mounted file systems
......mail clients and33, 34 to 35
......mail servers and12, 33
......mailboxes and7 to 8, 33
NIS
......aliases (mail.aliases map)8, 43 to 44
............administering10, 39, 43 to 44
............creating39, 43 to 44
............described39
............/etc/mail/aliases fileand43 to 44
............host aliases35
............postmaster alias44, 47
............root alias44
......DNS and100, 101
......forwarding mail and24
......hosts.byname map89, 91, 100 to 102
......local mail and remote connectionconfiguration and27
......local mail only configuration and25
......mail domain name99 to 100, 101
......remote mail configuration and26
......sendmail program requirementsfor98 to 102
NIS+
......aliases (mail_aliases table)8, 40 to 43
............adding entries42
............administering10, 15, 41 to 43
............changing entries43
............creating40 to 42
............deleting entries43
............described40
............host aliases35
............initiating41
............listing41
............postmaster alias47
......DNS and100, 101
......forwarding mail and24
......host table100 to 102
......local mail and remote connectionconfiguration and27
......local mail only configuration and25
......mail domain name99 to 100, 101
......remote mail configuration and26
.....sendmail program requirementsfor98 to 102
.....sendmailvars.org_dir file16, 21, 77 to 79, 79 to 80, 100
nistbladm command100
notification daemon17
nsswitch.conf file18, 21, 46

O

-o argument (sendmail program)118
.....See also sendmail.cf file, options
$o macro (sendmail program)85
O7 option (sendmail.cf file)123
OA option (sendmail.cf file)119
Oa option (sendmail.cf file)119
OB option (sendmail.cf file)119
Ob option (sendmail.cf file)119
OC option (sendmail.cf file)119
Oc option (sendmail.cf file)119
OD option (sendmail.cf file)119
Od option (sendmail.cf file)72, 119
OE option (sendmail.cf file)119
Oe option (sendmail.cf file)119 to 120
OF option (sendmail.cf file)74, 120
Of option (sendmail.cf file)120
Og option (sendmail.cf file)74, 120
OH option (sendmail.cf file)120
Oh option (sendmail.cf file)120
OI option (sendmail.cf file)120
Oi option (sendmail.cf file)120
OJ option (sendmail.cf file)120
Oj option (sendmail.cf file)120
OK option (sendmail.cf file)120
Ok option (sendmail.cf file)120
OL option (sendmail.cf file)120
Ol option (sendmail.cf file)120
OM option (sendmail.cf file)120
Om option (sendmail.cf file)120
On option (sendmail.cf file)120
OO option (sendmail.cf file)120 to 121
Oo option (sendmail.cf file)121
OP option (sendmail.cf file)121
Op option (sendmail.cf file)121
operation mode arguments (sendmailprogram)117
options,Seesendmail.cf file, options
OQ option (sendmail.cf file)121
Oq option (sendmail.cf file)53, 73, 121
Or option (sendmail.cf file)71, 122
OS option (sendmail.cf file)122
Os option (sendmail.cf file)122
OT option (sendmail.cf file)71, 122
Ot option (sendmail.cf file)122
Ou option (sendmail.cf file)74, 122
output, stripping to seven bits125
OV option (sendmail.cf file)122
Ov option (sendmail.cf file)122
Ow option (sendmail.cf file)123
owner- prefix, mailbox names9
OX option (sendmail.cf file)72, 123
Ox option (sendmail.cf file)72, 123
OY option (sendmail.cf file)123
Oy option (sendmail.cf file)123
OZ option (sendmail.cf file)123
Oz option (sendmail.cf file)123

P

-p argument (sendmail program)118
P code (qf files)51
P control line (sendmail.cf file)81
P field (mailer description)93
-P flag (mailer description)124
-p flag (mailer description)124
$p macro (sendmail program)85, 87
p macro (sendmail.cf file)86
parentheses (), in recipient names66, 77
path names
.......forward files120
......mailers93
percent sign (%), in mailbox names9
permissions,See security
PID, listing for listening daemon16
planning mail systems24 to 29
plus sign (+),$+ address-rewritingmetasymbol88
postmaster alias
...../etc/mail/aliases file45, 47 to 48
.....NIS or NIS+44, 47
.....setting up47 to 48
postmaster mailbox8
.....creating47 to 48
.....necessity for24
.....testing48
postmaster, duties of49
PostScript files, mailbox spacerequirements and13
pound sign (#)
.....$#mailer address-rewritingmetasymbol90
.....beginning ofsendmail.cf lines77
precedence setting (sendmail.cffile)81
printing
.....error messages119
.....mail queue51 to 52, 117
priority factor123
privacy options (sendmail.cf file)121
problems,See debugging; troubleshooting
prog mailer name93
programs
.....See alsospecific programs
.....assendmail message recipients66
.....mail services15 to 22
protocols
.....See also Ethernet; SMTP; TCP/IP;UUCP
.....sendmail program and60
.....setting sending protocol118

Q

-q argument (sendmail program)53, 68, 71, 118, 121
$q macro (sendmail program)85, 86
qf files50 to 51
question mark (?)
......headers and82
......in macros87
queue delivery mode72, 119
queue,See mail queue
queueing messages for retransmission(sendmail program)65
quotation marks
......See also double quotation marks (")
......stripping before calling mailer125

R

-R argument (sendmail program)52, 118
R code (qf files)51
R control line (sendmail.cf file)83
R field (mailer description)94
-r flag (mailer description)93, 96, 124
$r macro (sendmail program)85, 87
R macro (sendmail.cf file)78
R rule set76, 83
read timeouts20, 71, 122
rebuilding alias databases119, 120
recipients
......checking aftern (sendmail.cffile)119
......files as recipients ofsendmailmessages64, 66
......multiple,See multiple recipients
......programs as recipients ofsendmailmessages66
......selecting52, 118
......sendmail names format for66, 76
......verifying55, 117
relay hosts,See mail hosts
relay mailers,See mailers
remote mail configuration25 to 26
remote mode
......mail client in23
-request suffix, mailbox names9
returned messages,See undeliveredmessages
Return-Path: header line124
Return-Receipt-To: header line82
rewriting rules,See addresses, rewritingrules
RFCs
.....configuration file constructionand96
.....RFC 100696
.....RFC 821124, 125
.....RFC 82277, 96
.....RFC 97696
RHS, validating for aliases120
right-hand side of mail addresses89 to 91
rmail program15
root alias
...../etc/mail/aliases file45
.....NIS44
route-based addressing6
route-independent addressing7
routers2, 18
.....See alsosendmail program
routing
.....explained23 to 24
.....local addresses and4
rules sets,See addresses, rewriting rules

S

-s argument (sendmail program)119
S code (qf files)51
S control line (sendmail.cf file)83
S field (mailer description)94 to 95
-S flag (mailer description)74, 93, 124
-s flag (mailer description)125
$s macro (sendmail program)85, 87
S rule set76, 83
security
.....aliases databases38, 75
...../etc/mail/aliases file38, 75
.....mail gateways and14
.....mail servers33
......sendmail.cf file protectionmodes20, 74 to 75
......sendmail.cf privacy options121
....../var/mail directory33
......version number macro and87
semantics
......address-rewriting rules91 to 96
......mailer descriptions93 to 96
senders, sending error messages to120
sendmail program18 to 22
......See alsosendmail.cf file
......address parsing63, 83
......alias usage by18 to 19, 39, 63
......argument processing63
......argument vector/exit statusinterface62
......arguments to68 to 70, 117 to 119
............-B (body type)117
............-b (operation mode)117
............-ba (ARPANET mode)117
............-bd (daemon mode)69, 117
............-bi (initialize aliasdatabase)117
............-bm (deliver mail)117
............-bp (print mail queue)51, 117
............-bs (SMTP on input side)117
............-bt (test mode)56, 97 to 98, 117
............-bv (verify recipients)55, 117
............-C (alternative configurationfile)70, 117
............-c (expensive mailers)119
............-d (debugging)69, 98, 117
............-e (error disposition)119
............-F (full name of user)118
............-f (obsolete)118
............-h (hop count)118
............-i (ignore dots)119
............-M (message-ID)118
............-m (send message to sender)119
............-n (aliasing/forwardingdisallowed)118
............-o (options)118
...................See also sendmail.cf file, op-tions
............-p (sending protocol)118
............-q (queue interval/queuesubset)53, 68, 71, 118, 121
............-R (recipient selection)52, 118
............-s (UNIX-styleFrom lines)119
............-t (carbon copies)118
............-T (queue timeout)119
............-v (verbose mode)53, 55, 118, 119
............-X (logging)118
.....as Internet mail gateway61
.....binary data and64
.....configuration file,Seemain.cf file;sendmail.cf file
.....configuration overview67 to 68
.....configuration parameter tuning70 to 75
.....configuration table6, 16, 21 to 22
.....debugging69, 98, 117
.....defaults5, 36, 81, 117
.....described16, 17 to 18, 59, 60 to 62
.....error handling65, 119 to 120
.....error message logger17, 53 to 55, 57, 73
.....features60 to 61
.....files as message recipients64, 66
......forward files22, 120
.....functions of2, 17 to 18, 61 to 62
.....how it works63 to 66
.....implementation66 to 68
.....interaction with other mailprograms61, 63
.....interface between user and2
.....interfaces between outside worldand62
.....mail queue and,See mail queue
.....mailbox creation by34
.....message bodies and63 to 64
.....message collection63 to 64
.....message delivery64
.....message headers and,See headers
.....name parsing68
.....name services requirements98 to 102
.....naming schemes accepted by60
.....network vs. mail domain namesand5
......policy and mechanics specificationfor2 to 4
......programs as message recipients66
......queue and,See mail queue
......recipient names format66
......returned messages,See undeliveredmessages
......RFC 822 and77
......"Services unavailable" message65
......SMTP and60, 62, 98, 117
......starting69, 117
......system log and17, 53 to 55, 57, 73
......TCP connections62
......"temporary failure" exit status65
......testing56, 97 to 98, 117
....../usr/bin links to15
sendmail.cf file75 to 98
......# at beginning of lines77
......address-rewriting rules68, 76 to 77, 84 to 96
............defining a rule (R)83
............error message generation93
............left-hand side88
............mailer-specific90, 94 to 95
............metasymbols ($)88 to 91
............purpose of68, 76, 83
............right-hand side89 to 91
............rule set 076, 92, 93, 97
............rule set 176, 77, 93, 98
............rule set 276, 93
............rule set 376, 92, 97, 98
............rule set 476, 93, 95
............rule set 997
............rule set 1096
............rule set 1196
............rule set 2096
............rule set 2196, 98
............rule set 2498
............rule set R76, 83
............rule set S76, 83
............semantics of91 to 96
............setting current rule set (S)83
............special classes88
............special macros ($)84 to 88
............standard rule sets76 to 77
............testing97 to 98
.....blank lines in77
.....classes
............C class definition21, 36, 79 to 80
............case sensitivity21
............examples80
............F class definition79
............file containing16
............G class definition21, 79 to 80
............sendmailvars table and16, 21 to 22, 79 to 80
............sendmailvars.org_dir tableand16, 21, 79 to 80
............special88
............V class21, 80
.....continuation lines in77
.....defaults36, 81
.....delivery mode20, 72, 119
.....described16, 17 to 18, 20 to 21, 66, 67, 75 to 77
.....file protection modes20, 74 to 75
.....header definition (H)67, 82
.....header special interpretations82
.....load limiting20, 72 to 73, 123
.....log level20, 73, 120
.....macros
............case sensitivity21, 77
............conditionals87
............D macro definition6, 21, 36, 77 to 79
............examples78
............file containing16
............L macro definition6, 21, 36, 77 to 79
............m macro6, 21, 36, 78, 86
............naming macros77
............OM option120
............p macro86
............R macro36, 78
............required macros85 to 86
............sendmailvars table and6, 16, 21 to 22, 77 to 79
............sendmailvars.org_dir tableand16, 21, 77
............special ($)84 to 88
............uses for67
......mail clients and20
......mail domain name specification (Dm,DR,Lm)6, 21, 36, 77 to 79
......mail gateways and13, 20, 36
......mail hosts and20, 35
......mail servers and20
......mailers
............address-rewriting rules for90, 94 to 95
............described3 to 4
............fields in mailer descriptions93 to 96
............flags in mailer descriptions93 to 96, 103, 123 to 125
............internal name specification(DM)36, 67
............program and interfacespecification (M)84
............semantics of mailerdescriptions93 to 96
......name service interaction98 to 102
......necessity for24
......options
............O7 (7-bit input)123
............Oa (@:@ in alias database)119
............OA (alias file)119
............OB (blank substitute)119
............Ob (empty messagesdisallowed)119
............OC (check aftern recipients)119
............Oc (expensive mailers)119
............Od (delivery mode)72, 119
............OD (rebuild alias database)119
............OE (append error messages)119
............Oe (error disposition)119 to 120
............OF (temporary queue filemode)74, 120
............Of (UNIX-styleFrom lines)120
............Og (group ID)74, 120
............Oh (hop count)120
............OH (SMTP help file)120
............Oi (ignore dots)120
............OI (name server)120
............OJ (.forward file searchpath)120
............Oj (MIME error messageformat)120
............OK (cached connection idletime)120
............Ok (maximum open connectionscachable)120
............Ol (Errors-To:header)120
............OL (log level)120
............OM (macro)120
............Om (send to sender)120
............On (RHS validation)120
............Oo (old format headers)121
............OO (server SMTP options)120 to 121
............OP (MAILER-DAEMON errormessages)121
............Op (privacy options)121
............OQ (queue directory)121
............Oq (queue factor)53, 73, 121
............Or (read timeouts)71, 122
............Os (queue file initiation)122
............OS (statistics)122
............OT (queue timeout)71, 122
............Ot (time zone)122
............Ou (user ID for mailers)74, 122
............OV (low priority MX)122
............Ov (verbose mode)122
............overview68, 81
............Ow (direct connect to host)123
............OX (load average value)72, 123
............Ox (load average value)72, 123
............OY (job delivery)123
............Oy (priority factor)123
............OZ (priority factor)123
............Oz (priority factor)123
.....precedence setting (P)81
.....purpose of75 to 77
.....sample105
.....syntax77 to 82
.....time intervals20, 70 to 72
............mail delivery speed20, 72
............message timeouts20, 71, 122
............queue interval51, 68, 71, 118
............read timeouts20, 71, 122
............time syntax options70
.....trusted user definition (T)81
......tuning parameters70 to 75
......variables
............global vs. local21
............setting6, 16, 21 to 22, 36, 77 to 80
sendmail.hf file16
sendmail.mx program18
sendmail.pid file16
sendmail.st file15, 16
sendmailvars table6, 16, 21 to 22, 77 to 80
sendmailvars.org_dir table16, 21, 77 to 80, 100
send-only mode15
servers,See mail servers
"Services unavailable" message65
setting up,See configuring
setuid,sendmail program and74
seven-bit input123
sharing/var directory33
Simple Mail Transfer Protocol,See SMTP
size of messages73
slash,See backslash (\); forward slash (/)
smartuucp mailer3, 36
SMTP (Simple Mail Transfer Protocol)
......Extended, running123
......headers3
......help file for16, 120
......local host name added toFrom:line124
......mail delivery agent2 to 4
......mailer description semantics and95
......selecting when contacting anothersendmail124
......sendmail program and60, 62, 98, 117
SMTP ports,mconnect cannot connectto57
SMTP servers
......load limiting and72, 123
......setting options120 to 121
software components2 to 10
speed
......See also time intervals
.....mail-delivery20, 72
spooling space, mail servers33
square brackets ([]),$[host$] address-rewriting metasymbol90, 91
statistics15, 122
stripping
.....input to seven bits123
.....output to seven bits125
.....quotation marks before callingmailer125
subsidiary.cf file16, 20, 25, 26, 27
SunOS 4.1
.....filter for mailbox format15
synchronous delivery mode72, 119
syntax
.....sendmail.cf file77 to 82
.....time syntax options70
syslog.conf file54 to 55
syslogd program17, 53 to 55
system log17, 53 to 55, 57, 73

T

-T argument (sendmail program)119
-t argument (sendmail program)118
T code (qf files)51
$t macro (sendmail program)85, 87
table (aliases),See NIS+, aliases(mail_aliases table)
TCP connections
.....mailer description semantics and93, 95
.....SMTP over,sendmail programand62
TCP/IP networks
.....mail delivery agent for2 to 3
.....sendmail program and60
"temporary failure" exit status,sendmailprogram65
temporary file protection modes74
temporary queue file mode120
testing
.....See also debugging; troubleshooting
......address-rewriting rules97 to 98
......aliases55
......connections to other systems15, 57
......mail configuration48
......recipient verification55, 117
......RHS for aliases120
......sendmail program56, 97 to 98, 117
time intervals20, 70 to 72
......@:@ in alias database119
......mail delivery speed20, 72
......message timeouts20, 71, 122
......queue interval51, 68, 71, 118
......read timeouts20, 71, 122
......time syntax options70
time zone, setting122
To: header line82, 93, 118
top-level domains5
tracking messages57, 87
transport agents
......See alsosendmail program
......defined2
troubleshooting22, 55 to 58
......See also debugging; testing
......aliases55
......duplicate message copies63
.......forward files and22
......mail delivered to wrong address22
......MAILER-DAEMON messages and57
......mailstats program and58
......sendmail program56
......system log and57
......tracing message route57, 87
......undelivered mail22, 55
......verifying connections to othersystems57
trusted user definition (sendmail.cffile)81

U

-U flag (mailer description)125
-u flag (mailer description)125
$u macro (sendmail program)85, 87, 92, 93, 95
undelivered messages
.....See also troubleshooting
.....error-caused65
.....storage of16, 65
.....timeout for20, 71, 122
.....troubleshooting22, 55
underscore (_), in mailbox names8
United Kingdom
.....domain names in5
United States
.....top-level domains5
UNIX argument vector/exit statusinterface,sendmailprogram62
UNIX over pipes interface,sendmailprogram62
UNIX-styleFrom lines119, 120, 124, 125
UNIX-to-UNIX Copy,Seeuucp mailer;UUCP (UNIX-to-UNIX CopyProtocol)
uppercase preservation
.....See also case sensitivity
.....host names124
.....user names125
user agents,See mail user agents
user ID for mailers
.....resetting not done124
.....setting default122
user names
.....mailbox names and8
.....uppercase preserved125
users
.....alias creation by10
.....custom mailer specification by60
.....full name argument (sendmailprogram)118
/usr/bin directory, mail servicescontents15
/usr/bin/aliasadmin command,Seealiasadmin command
/usr/bin/mail command2, 15, 18
/usr/bin/mailcompat filter15
/usr/bin/mailq command15, 51 to 52, 121
/usr/bin/mailstats program15, 58
/usr/bin/mailx command,Seemailxcommand
/usr/bin/mconnect program15, 57
/usr/bin/newaliases program15, 38, 46
/usr/bin/rmail program15
/usr/bin/vacation command15, 60, 66
/usr/lib directory, mail servicescontents16
/usr/lib/mail.local mailer16, 18
/usr/lib/sendmail program,Seesendmail program
/usr/sbin/in.comsat daemon17
/usr/sbin/syslogd error messagelogger17, 53 to 55
UUCP (UNIX-to-UNIX Copy Protocol)
......mailer description semantics and95
......mailers using3
......route-based addressing and6
......route-independent addressing and7
......sendmail program and60
uucp mailer
......described4
......mail gateway configuration and36
......sendmail program and18
......specifying insendmail.cf36
......testing mail configuration with48
uux mailer4

V

-v argument (sendmail program)53, 55, 118, 119
V class (sendmail.cf file)21, 80
$v macro (sendmail program)85, 87
vacation command15, 60, 66
validating,See testing
/var directory33
/var/mail directory
.....automatic mounting of34, 12
.....local mail and remote connectionconfiguration and26
.....local mail only configuration and25
.....mail client configuration and34, 35
.....mail servers configuration and12, 33 to 34
.....mailboxes created bysendmailprogram in34
.....mounting12, 34
.....remote mail configuration and26
.....remote mail only configurationand26
.....security permissions33
/var/mail/username files7, 18
/var/spool/mqueue directory16, 50 to 51
variables (sendmail.cf file)6, 16, 21 to 22, 36, 77 to 80
verbose mode (sendmail program)53, 55, 118, 119, 122
verifying,See testing
version number macro, security and87
vertical bar (|)
.....in macros87
.....in recipient names67
vfstab file,See/etc/vfstab file

W

$=w class87
$w macro (sendmail program)85, 87

X

-X argument (sendmail program)118
-X flag (mailer description)125
-x flag (mailer description)125
$x macro (sendmail program)86, 87
$%x, address-rewriting metabsymbol89
X-Authentication-Warning: header
.....line121

Y

$%y, address-rewriting metabsymbol89

Z

$z macro (sendmail program)86, 87