]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/ref-mailto-conf.html
Merge changes from CUPS 1.4svn-r8628.
[thirdparty/cups.git] / doc / help / ref-mailto-conf.html
CommitLineData
8ca02f3c 1<HTML>
2<!-- SECTION: References -->
3<HEAD>
4 <TITLE>mailto.conf</TITLE>
178cb736 5 <LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
8ca02f3c 6</HEAD>
7<BODY>
8
178cb736
MS
9<H1 CLASS="title">mailto.conf</H1>
10
8ca02f3c 11<P>The <VAR>/etc/cups/mailto.conf</VAR> file contains several
12directives that defines the local mail server and email
13notification preferences for CUPS. Each directive is listed on a
14line by itself followed by its value. Comments are introduced
15using the number sign ("#") character at the beginning of a
16line.</P>
17
18
19<H2 CLASS="title"><A NAME="Cc">Cc</A></H2>
20
21<H3>Examples</H3>
22
23<PRE CLASS="command">
24Cc bigbrother@domain.com
25Cc John Doe &lt;jd@domain.com>
26</PRE>
27
28<H3>Description</H3>
29
30<P>The <CODE>Cc</CODE> directive specifies an additional
31recipient ("carbon copy") for all email notifications. The
32default is to not send a copy to anyone but the subscriber.</P>
33
34
35<H2 CLASS="title"><A NAME="From">From</A></H2>
36
37<H3>Examples</H3>
38
39<PRE CLASS="command">
40From printserver@domain.com
41From Your Happy Printer &lt;printserver@domain.com>
42</PRE>
43
44<H3>Description</H3>
45
46<P>The <CODE>From</CODE> directive specifies the sender of email
47notifications. The default is the <A
48HREF="ref-cupsd-conf.html#ServerAdmin"><TT>ServerAdmin</TT><A>
49address defined in the <VAR>cupsd.conf</VAR> file.</P>
50
51
52<H2 CLASS="title"><A NAME="Sendmail">Sendmail</A></H2>
53
54<H3>Examples</H3>
55
56<PRE CLASS="command">
57Sendmail /usr/sbin/sendmail
58Sendmail /usr/lib/sendmail -bm -i
59</PRE>
60
61<H3>Description</H3>
62
63<P>The <CODE>Sendmail</CODE> directive specifies the command to
64run to deliver an email locally. This directive cannot be used
65with the <TT>SMTPServer</TT> directive, and if both
66<TT>Sendmail</TT> and <TT>SMTPServer</TT> lines appear in the
67<VAR>mailto.conf</VAR> file, only the last line is used. The
68default is <TT>/usr/sbin/sendmail</TT>.</P>
69
70
71<H2 CLASS="title"><A NAME="SMTPServer">SMTPServer</A></H2>
72
73<H3>Examples</H3>
74
75<PRE CLASS="command">
76SMTPServer mail.domain.com
77SMTPServer 192.168.2.1
78</PRE>
79
80<H3>Description</H3>
81
82<P>The <CODE>SMTPServer</CODE> directive specifies a hostname or
83IP address of a (possibly remote) SMTP mail server. This
84directive cannot be used with the <TT>Sendmail</TT> directive,
85and if both <TT>Sendmail</TT> and <TT>SMTPServer</TT> lines
86appear in the <VAR>mailto.conf</VAR> file, only the last line is
87used. The default is to use the <TT>Sendmail</TT> command
88instead.</P>
89
90
91<H2 CLASS="title"><A NAME="Subject">Subject</A></H2>
92
93<H3>Examples</H3>
94
95<PRE CLASS="command">
96Subject [CUPS]
97Subject URGENT EMAIL NOTIFICATION
98</PRE>
99
100<H3>Description</H3>
101
102<P>The <CODE>Subject</CODE> directive specifies a prefix string to
103add to the subject of each email notification. The default is to
104not add a prefix string.</P>
105
106
107</BODY>
108</HTML>