]>
Commit | Line | Data |
---|---|---|
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 |
12 | directives that defines the local mail server and email | |
13 | notification preferences for CUPS. Each directive is listed on a | |
14 | line by itself followed by its value. Comments are introduced | |
15 | using the number sign ("#") character at the beginning of a | |
16 | line.</P> | |
17 | ||
18 | ||
19 | <H2 CLASS="title"><A NAME="Cc">Cc</A></H2> | |
20 | ||
21 | <H3>Examples</H3> | |
22 | ||
23 | <PRE CLASS="command"> | |
24 | Cc bigbrother@domain.com | |
25 | Cc John Doe <jd@domain.com> | |
26 | </PRE> | |
27 | ||
28 | <H3>Description</H3> | |
29 | ||
30 | <P>The <CODE>Cc</CODE> directive specifies an additional | |
31 | recipient ("carbon copy") for all email notifications. The | |
32 | default 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"> | |
40 | From printserver@domain.com | |
41 | From Your Happy Printer <printserver@domain.com> | |
42 | </PRE> | |
43 | ||
44 | <H3>Description</H3> | |
45 | ||
46 | <P>The <CODE>From</CODE> directive specifies the sender of email | |
47 | notifications. The default is the <A | |
48 | HREF="ref-cupsd-conf.html#ServerAdmin"><TT>ServerAdmin</TT><A> | |
49 | address 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"> | |
57 | Sendmail /usr/sbin/sendmail | |
58 | Sendmail /usr/lib/sendmail -bm -i | |
59 | </PRE> | |
60 | ||
61 | <H3>Description</H3> | |
62 | ||
63 | <P>The <CODE>Sendmail</CODE> directive specifies the command to | |
64 | run to deliver an email locally. This directive cannot be used | |
65 | with 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 | |
68 | default 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"> | |
76 | SMTPServer mail.domain.com | |
77 | SMTPServer 192.168.2.1 | |
78 | </PRE> | |
79 | ||
80 | <H3>Description</H3> | |
81 | ||
82 | <P>The <CODE>SMTPServer</CODE> directive specifies a hostname or | |
83 | IP address of a (possibly remote) SMTP mail server. This | |
84 | directive cannot be used with the <TT>Sendmail</TT> directive, | |
85 | and if both <TT>Sendmail</TT> and <TT>SMTPServer</TT> lines | |
86 | appear in the <VAR>mailto.conf</VAR> file, only the last line is | |
87 | used. The default is to use the <TT>Sendmail</TT> command | |
88 | instead.</P> | |
89 | ||
90 | ||
91 | <H2 CLASS="title"><A NAME="Subject">Subject</A></H2> | |
92 | ||
93 | <H3>Examples</H3> | |
94 | ||
95 | <PRE CLASS="command"> | |
96 | Subject [CUPS] | |
97 | Subject URGENT EMAIL NOTIFICATION | |
98 | </PRE> | |
99 | ||
100 | <H3>Description</H3> | |
101 | ||
102 | <P>The <CODE>Subject</CODE> directive specifies a prefix string to | |
103 | add to the subject of each email notification. The default is to | |
104 | not add a prefix string.</P> | |
105 | ||
106 | ||
107 | </BODY> | |
108 | </HTML> |