2 <!-- SECTION: References -->
4 <TITLE>mailto.conf
</TITLE>
8 <P>The
<VAR>/etc/cups/mailto.conf
</VAR> file contains several
9 directives that defines the local mail server and email
10 notification preferences for CUPS. Each directive is listed on a
11 line by itself followed by its value. Comments are introduced
12 using the number sign (
"#") character at the beginning of a
16 <H2 CLASS=
"title"><A NAME=
"Cc">Cc
</A></H2>
21 Cc bigbrother@domain.com
22 Cc John Doe
<jd@domain.com
>
27 <P>The
<CODE>Cc
</CODE> directive specifies an additional
28 recipient (
"carbon copy") for all email notifications. The
29 default is to not send a copy to anyone but the subscriber.
</P>
32 <H2 CLASS=
"title"><A NAME=
"From">From
</A></H2>
37 From printserver@domain.com
38 From Your Happy Printer
<printserver@domain.com
>
43 <P>The
<CODE>From
</CODE> directive specifies the sender of email
44 notifications. The default is the
<A
45 HREF=
"ref-cupsd-conf.html#ServerAdmin"><TT>ServerAdmin
</TT><A>
46 address defined in the
<VAR>cupsd.conf
</VAR> file.
</P>
49 <H2 CLASS=
"title"><A NAME=
"Sendmail">Sendmail
</A></H2>
54 Sendmail /usr/sbin/sendmail
55 Sendmail /usr/lib/sendmail -bm -i
60 <P>The
<CODE>Sendmail
</CODE> directive specifies the command to
61 run to deliver an email locally. This directive cannot be used
62 with the
<TT>SMTPServer
</TT> directive, and if both
63 <TT>Sendmail
</TT> and
<TT>SMTPServer
</TT> lines appear in the
64 <VAR>mailto.conf
</VAR> file, only the last line is used. The
65 default is
<TT>/usr/sbin/sendmail
</TT>.
</P>
68 <H2 CLASS=
"title"><A NAME=
"SMTPServer">SMTPServer
</A></H2>
73 SMTPServer mail.domain.com
74 SMTPServer
192.168.2.1
79 <P>The
<CODE>SMTPServer
</CODE> directive specifies a hostname or
80 IP address of a (possibly remote) SMTP mail server. This
81 directive cannot be used with the
<TT>Sendmail
</TT> directive,
82 and if both
<TT>Sendmail
</TT> and
<TT>SMTPServer
</TT> lines
83 appear in the
<VAR>mailto.conf
</VAR> file, only the last line is
84 used. The default is to use the
<TT>Sendmail
</TT> command
88 <H2 CLASS=
"title"><A NAME=
"Subject">Subject
</A></H2>
94 Subject URGENT EMAIL NOTIFICATION
99 <P>The
<CODE>Subject
</CODE> directive specifies a prefix string to
100 add to the subject of each email notification. The default is to
101 not add a prefix string.
</P>