]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/help/ref-mailto-conf.html
Merge changes from CUPS 1.4svn-r7874.
[thirdparty/cups.git] / doc / help / ref-mailto-conf.html
1 <HTML>
2 <!-- SECTION: References -->
3 <HEAD>
4 <TITLE>mailto.conf</TITLE>
5 </HEAD>
6 <BODY>
7
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
13 line.</P>
14
15
16 <H2 CLASS="title"><A NAME="Cc">Cc</A></H2>
17
18 <H3>Examples</H3>
19
20 <PRE CLASS="command">
21 Cc bigbrother@domain.com
22 Cc John Doe &lt;jd@domain.com>
23 </PRE>
24
25 <H3>Description</H3>
26
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>
30
31
32 <H2 CLASS="title"><A NAME="From">From</A></H2>
33
34 <H3>Examples</H3>
35
36 <PRE CLASS="command">
37 From printserver@domain.com
38 From Your Happy Printer &lt;printserver@domain.com>
39 </PRE>
40
41 <H3>Description</H3>
42
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>
47
48
49 <H2 CLASS="title"><A NAME="Sendmail">Sendmail</A></H2>
50
51 <H3>Examples</H3>
52
53 <PRE CLASS="command">
54 Sendmail /usr/sbin/sendmail
55 Sendmail /usr/lib/sendmail -bm -i
56 </PRE>
57
58 <H3>Description</H3>
59
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>
66
67
68 <H2 CLASS="title"><A NAME="SMTPServer">SMTPServer</A></H2>
69
70 <H3>Examples</H3>
71
72 <PRE CLASS="command">
73 SMTPServer mail.domain.com
74 SMTPServer 192.168.2.1
75 </PRE>
76
77 <H3>Description</H3>
78
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
85 instead.</P>
86
87
88 <H2 CLASS="title"><A NAME="Subject">Subject</A></H2>
89
90 <H3>Examples</H3>
91
92 <PRE CLASS="command">
93 Subject [CUPS]
94 Subject URGENT EMAIL NOTIFICATION
95 </PRE>
96
97 <H3>Description</H3>
98
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>
102
103
104 </BODY>
105 </HTML>