summaryrefslogtreecommitdiff
path: root/debian/sendmail-base.sendmail.logrotate
blob: 3f409e69bee4cb75ba411131cb45436dc5cb3930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Sample Logrotate file for sendmail
#
#               C A V E A T    E M P T O R
#
# If you're using the stock syslog package, do *NOT* enable anything
# in this file, doing so may result in dual rotations of the logfiles
# and/or loss of logged data.  The syslog package, by default, will
# rotate standard log files based upon various criteria !!!
#
#/var/log/mail/mail.alert {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}
#
#/var/log/mail/mail.crit {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}
#
#/var/log/mail/mail.debug {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}
#
#/var/log/mail/mail.emerg {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}
#
#/var/log/mail/mail.err {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}
#
#/var/log/mail/mail.info {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}
#
#/var/log/mail/mail.log {
#	create 0660 root mail
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#	postrotate
#		/etc/init.d/sysklogd reload
#		endscript
#}
#
#/var/log/mail/mail.notice {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}
#
#/var/log/mail/mail.warn {
#        notifempty
#        rotate 4
#        size 100k
#        weekly
#        compress
#        missingok
#}