]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/ref-mailto-conf.html
Merge changes from CUPS 1.3.1.
[thirdparty/cups.git] / doc / help / ref-mailto-conf.html
CommitLineData
8ca02f3c 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
9directives that defines the local mail server and email
10notification preferences for CUPS. Each directive is listed on a
11line by itself followed by its value. Comments are introduced
12using the number sign ("#") character at the beginning of a
13line.</P>
14
15
16<H2 CLASS="title"><A NAME="Cc">Cc</A></H2>
17
18<H3>Examples</H3>
19
20<PRE CLASS="command">
21Cc bigbrother@domain.com
22Cc John Doe &lt;jd@domain.com>
23</PRE>
24
25<H3>Description</H3>
26
27<P>The <CODE>Cc</CODE> directive specifies an additional
28recipient ("carbon copy") for all email notifications. The
29default 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">
37From printserver@domain.com
38From 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
44notifications. The default is the <A
45HREF="ref-cupsd-conf.html#ServerAdmin"><TT>ServerAdmin</TT><A>
46address 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">
54Sendmail /usr/sbin/sendmail
55Sendmail /usr/lib/sendmail -bm -i
56</PRE>
57
58<H3>Description</H3>
59
60<P>The <CODE>Sendmail</CODE> directive specifies the command to
61run to deliver an email locally. This directive cannot be used
62with 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
65default 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">
73SMTPServer mail.domain.com
74SMTPServer 192.168.2.1
75</PRE>
76
77<H3>Description</H3>
78
79<P>The <CODE>SMTPServer</CODE> directive specifies a hostname or
80IP address of a (possibly remote) SMTP mail server. This
81directive cannot be used with the <TT>Sendmail</TT> directive,
82and if both <TT>Sendmail</TT> and <TT>SMTPServer</TT> lines
83appear in the <VAR>mailto.conf</VAR> file, only the last line is
84used. The default is to use the <TT>Sendmail</TT> command
85instead.</P>
86
87
88<H2 CLASS="title"><A NAME="Subject">Subject</A></H2>
89
90<H3>Examples</H3>
91
92<PRE CLASS="command">
93Subject [CUPS]
94Subject URGENT EMAIL NOTIFICATION
95</PRE>
96
97<H3>Description</H3>
98
99<P>The <CODE>Subject</CODE> directive specifies a prefix string to
100add to the subject of each email notification. The default is to
101not add a prefix string.</P>
102
103
104</BODY>
105</HTML>