1
.\" Hey, EMACS: -*- nroff -*-
2
.\" First parameter, NAME, should be all caps
3
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4
.\" other parameters are allowed: see man(7), man(1)
5
.TH UPDATE-EXIM4DEFAULTS 8 "March 26, 2003" EXIM4
6
.\" Please adjust this date whenever revising the manpage.
8
.\" Some roff macros, for reference:
9
.\" .nh disable hyphenation
10
.\" .hy enable hyphenation
11
.\" .ad l left justify
12
.\" .ad b justify to both left and right margins
13
.\" .nf disable filling
14
.\" .fi enable filling
15
.\" .br insert line break
16
.\" .sp <n> insert n+1 empty lines
17
.\" for manpage-specific macros, see man(7)
18
.\" \(oqthis text is enclosed in single quotes\(cq
19
.\" \(lqthis text is enclosed in double quotes\(rq
21
update\-exim4defaults \- Manage exim4 daemon default file.
23
.B update\-exim4defaults
24
.I [ \-\-qflags flags ]
25
.I [ \-\-queuerunner combined|separate|ppp|no ]
26
.I [ \-\-queuetime time ]
27
.I [ \-\-commonoptions options ]
28
.I [ \-\-queuerunneroptions options ]
29
.I [ \-\-smtplisteneroptions options ]
30
.I [ \-\-remove\-common options ]
31
.I [ \-\-remove\-queue options ]
32
.I [ \-\-remove\-smtp options ]
38
.B update\-exim4defaults
39
allows to set run parameters for the
42
.I /etc/default/exim4.
43
Its main purpose is for interaction with packages enhancing
45
like virus-scanners that need to change the way the exim daemon is started.
51
Print short usage instructions and exit.
54
Set qflags, special flags given to exim directly after the \(lq\-q\(rq. See
58
.I \-\-queuerunner combined|separate|ppp|no
59
Should the init script start one daemon that listens on the smtp port for
60
incoming connections and runs the queue at regular intervals
62
, or should it start two separate daemons, one listening on the smtp port,
63
the other running the queue
65
, or should the queue only be run by /etc/ppp/ip\-up.d/exim4
67
, or shouldn't we run the queue at all, for example if you'd rather do this
72
In which intervals should we run the queue? This passed as option
74
to Exim, e.g. \-q30m or \-qq1h.
76
.I \-\-commonoptions options
77
Options passed both to queue\-running and listening instances of Exim.
79
.I \-\-queuerunneroptions options
80
Options only passed to the instance of Exim running the queue.
82
.I \-\-smtplisteneroptions options
83
Options only passed to the instance of Exim listening on the SMTP port.
87
.B update\-exim4defaults
88
exits with an error if at least one of the options \-\-queuetime,
89
\-\-commonoptions, \-\-queuerunneroptions or \-\-smtplisteneroptions is used and the
90
corresponding value in /etc/default/exim4 is
92
set to a nonempty value.
94
.I \-\-remove\-common option
95
Try to remove the given option from COMMONOPTIONS.
97
.I \-\-remove\-queue option
98
Try to remove the given option from QUEUERUNNEROPTIONS.
100
.I \-\-remove\-smtp option
101
Try to remove the given option from SMTPLISTENEROPTIONS.
103
The \-\-remove\-commands cannot be used at the same time as any of \-\-commonoptions,
104
\-\-queuerunneroptions or \-\-smtplisteneroptions. The \-\-remove\-commands will
105
additionally remove whitespace at the begining and the end of the option and
106
exchange multiple spaces wi a single one.
109
create a default /etc/default/exim4 file and exit immediately. Unless
112
.B update\-exim4defaults
113
exits (successfully) without doing anything if /etc/default/exim4 already
114
exists. All other options are ignored.
119
change was successfull or nothing needed to be done.
122
generic error: wrong options, unreadable configuration file, etc.
125
QUEUEINTERVAL was already set.
128
COMMONOPTIONS was already set.
131
QUEUERUNNEROPTIONS was already set.
134
SMTPLISTENEROPTIONS was already set.
137
QFLAGS was already set.
140
\-\-remove\-something failed, i.e. the value of the option was not changed.
142
Exit codes 2 to 32 will be summed up, if more than one unsuccesful option was
147
.I /etc/default/exim4
148
The configuration file.
151
The Exim init\-script.
153
.I /etc/ppp/ip\-up.d/exim4
154
The queuerunner in this file also uses COMMONOPTIONS and QUEUERUNNEROPTIONS and
155
does not run if QUEUERUNNER=no.
159
/usr/share/doc/exim4\-base/
162
Andreas Metzler <ametzler at downhill.at.eu.org>