2
# This is an example configfile for gnarwl(8) v3.1, listing every
3
# available directive. Empty lines and lines beginning with a pound symbol
4
# are ignored by the software. Please keep in mind, that gnarwl uses a
5
# very basic parser for reading this file. Therefore some restrictions are
8
# 1. Only whitespaces (no tabs) are allowed as delimeter between key and
10
# 2. Whitespaces can neither be escaped nor quoted.
11
# 3. Macros must be declared before use.
15
# Name of the macro, refering to the "From:" field of a received mail
18
# Name of the macro, refering to the "To:" or "Cc:" field of a received mail
19
map_receiver $recepient
21
# Name of the macro, refering to the "Subject:" field of a received mail
24
# Bind a database field to a macroname
25
map_field $begin vacationStart
27
# Bind a database field to a macroname
28
map_field $end vacationEnd
30
# Bind a database field to a macroname
31
map_field $fullname cn
33
# Bind a database field to a macroname
34
map_field $deputy vacationForward
36
# LDAP Server to bind to
39
# Port, the LDAP server is listening on
42
# search scope (base|one|sub)
45
# Destinguished name to bind with (leave empty to bind anonymously)
48
# Password to bind with (leave empty to bind anonymously)
51
# Which protocol <0|2|3> to use for binding. The deafult is 0, which stands
55
# From where to start searching the LDAP tree (you have to change this!)
56
base o=my_organization
58
# Query filter to use for ldapsearch
59
queryfilter (&(mail=$recepient)(vacationActive=TRUE))
61
# The attribute to querying for. The content of this field will be pasted
62
# between header and footer (see also: forceheader and forcefooter
63
# directives) afterwards all macros are expanded and the result is piped
64
# through to the MTA (see also: mta directive).
67
# The files in this directory are used to keep track on who was sent
68
# an automatic reply from whom and when.
69
blockfiles /usr/var/lib/gnarwl/block/
71
# File permissions to use for newly created database files
74
# After how many hours the block on a specific sender/receiver combo expires.
75
# Set to 0 to deactivate this feature (not recommended).
78
# How to send mail. Specify full name to your MTA plus arguments. Only the
79
# map_sender and map_receiver macros are expanded. This program must be
80
# able to accept email from stdin.
81
mta /usr/sbin/sendmail -F $recepient
83
# Ignore mails, that specify too many receivers
86
# Ignore mails with too many headerlines (avoid DOS attacks)
89
# If outgoing mail may contain non ASCII characters, specify your locale
90
# charset here for character conversion. Check iconv(1) for allowed values.
91
# Leave blank to disable this feature.
94
# If gnarwl reads a mailheaderline, that exactly matches an entry in this
95
# database file, the mail will be ignored (usefull for preventing autoreplies
96
# to mailinglists). Case does matter, no wildcard expansion.
97
# Leave empty to deactivate.
98
badheaders /usr/var/lib/gnarwl/badheaders.db
100
# Gnarwl will never autoreply for emailaddresses found in the blacklist
101
# (usefull for preventing autoreplies from root, postmaster, etc.). Leave
102
# Empty to disable this feature.
103
blacklist /usr/var/lib/gnarwl/blacklist.db
105
# The contents of this textfile are pasted in front of each outgoing mail.
106
forceheader /usr/var/lib/gnarwl/header.txt
108
# The contents of this textfile are appended to each outgoing mail.
109
forcefooter /usr/var/lib/gnarwl/footer.txt
111
# Whitespace delimeted list of headernames, which may contain receiving
112
# emailaddresses (case insignificant).
115
# Set loglevel (0|1|2|3). A higher loglevel always contains all lower
117
# 0 - Critical messages only. Anything, gnarwl cannot continue afterwards.
118
# 1 - Warnings. Gnarwl can continue, but with reduced functionality.
119
# 2 - Info. General information on gnarwl's status.