-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchkexp.conf
More file actions
90 lines (89 loc) · 2.11 KB
/
chkexp.conf
File metadata and controls
90 lines (89 loc) · 2.11 KB
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
#
# chkexp.conf
#
# The configuration file is an executable perl file, containing a multi-dimensional perl hash.
#
# Valid services are DNSSEC, SMTP, IMAP, POP3 and HTTPS
# Object is either a fully qualified hostname or a DNS zone (for the DNSSEC service)
# Threshold is in days for DNSSEC, SMTP, IMAP, POP3 and in hours for DNSSEC
# The Contact field, is a comma separated line email address to receive notification mails.
#
# Syntax:
#
# %CFG = (
# 'DNSSEC' => {
# 'domain.cc' => {
# 'threshold' => '24',
# 'contact' => 'hostmaster@domain.cc,info@domain.cc',
# }
# },
# 'SMTP' => {
# 'smtp.domain.cc' => {
# 'threshold' => '30',
# 'contact' => 'postmaster@domain.cc',
# 'type' => 'host'
# },
# 'domain.com' => {
# 'threshold' => '30',
# 'contact' => 'postmaster@domain.cc',
# 'type' => 'mx'
# }
# },
# 'IMAP' => {
# 'imap.domain.cc' => {
# 'threshold' => '30',
# 'contact' => 'postmaster@domain.cc',
# }
# },
# 'POP3' => {
# 'pop3.domain.cc' => {
# 'threshold' => '30',
# 'contact' => 'postmaster@domain.cc',
# }
# },
# 'HTTPS' => {
# 'www.domain.cc' => {
# 'threshold' => '30',
# 'contact' => 'webmaster@domain.cc',
# }
# }
# );
#
# NB! Remember to check sanity of config file with perl -c chkexp.conf after changes.
#
# When Who What
# 2009-07-07 fredrik@xpd.se created.
%CFG = (
'DNSSEC' => {
'domain.se' => {
'threshold' => '24',
'contact' => 'hostmaster@domain.se,hostmaster@domain.org',
},
'domain.cc' => {
'threshold' => '24',
'contact' => 'hostmaster@domain.se',
}
},
'SMTP' => {
'domain.cc' => {
'threshold' => '30',
'contact' => 'postmaster@domain.se,hostmaster@domain.org',
'type' => 'mx',
},
'smtp1.domain.cc' => {
'threshold' => '30',
'contact' => 'postmaster@domain.se,postmaster@domain.org',
'type' => 'host',
},
'smtp2.domain.cc' => {
'threshold' => '30',
'contact' => 'postmaster@domain.se',
'type' => 'host',
},
'smtp3.domain.cc' => {
'threshold' => '30',
'contact' => 'postmaster@domain.se',
'type' => 'host',
},
}
);