Relax chown requirements when check_owner is false
[hcoop/debian/exim4.git] / debian / manpages / exicyclog.8
CommitLineData
de45f55a
AM
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 EXICYCLOG 8 "March 26, 2003"
6.\" Please adjust this date whenever revising the manpage.
7.\"
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
20.SH NAME
21exicyclog \- Cycle exim's logfiles
22.SH SYNOPSIS
23.B eximcyclog
24.SH DESCRIPTION
25The
26.B exicyclog
27script can be used to cycle (rotate)
28.I mainlog
29and
30.I rejectlog
31files.
32This is not necessary if only syslog is being used.
33Some operating systems have their own standard mechanisms for log cycling,
34and these can be used instead of
35.B exicyclog
36if preferred.
37
38Each time
39.B exicyclog
40is run the file names get \(oqshuffled down\(cq by one.
41If the main log file name is mainlog (the default) then when
42.B exicyclog
43is run mainlog becomes mainlog.01, the previous mainlog.01 becomes mainlog.02
44and so on, up to a limit which is set in the script, and which defaults to 10.
45Reject logs are handled similarly.
46
47If no mainlog file exists, the script does nothing.
48Files that \(oqdrop off\(cq the end are deleted.
49All files with numbers greater than 01 are compressed, using a compression
50command which is configured by the COMPRESS_COMMAND setting in
51Local/Makefile.
52It is usual to run \(lqexicyclog\(rq daily from a root \(lqcrontab\(rq entry
53of the form
54
55 1 0 * * * su exim \-c /usr/exim/bin/exicyclog
56
57assuming you have used the name \(oqexim\(cq for the Exim user.
58You can run
59.B exicyclog
60as root if you wish, but there is no need.
61
62
63.SH BUGS
64This manual page needs a major re-work. If somebody knows better groff
65than us and has more experience in writing manual pages, any patches
66would be greatly appreciated.
67
68.SH SEE ALSO
69.BR exim (8),
70/usr/share/doc/exim4\-base/
71
72.SH AUTHOR
73This manual page was stitched together from spec.txt by
74Andreas Metzler <ametzler at downhill.at.eu.org>,
75for the Debian GNU/Linux system (but may be used by others).