~ubuntu-branches/ubuntu/raring/gnarwl/raring-proposed

« back to all changes in this revision

Viewing changes to debian/gnarwl.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Zanolin
  • Date: 2010-03-20 06:33:26 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100320063326-x17by7dedvhx4clm
Tags: 3.6.dfsg-1
* New upstream release. ( Closes: #555109, #334873, #495957, #437046 )
* Repackaged to remove non-dfsg schema files (ISPev.schema, ISPev2.schema).
  ( Closes: #457279 )
* New maintainer upload.  
* Updated Spanish Debconf po ( Closes: #549665 )

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
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
6
 
# put on the format:
7
 
#
8
 
# 1. Only whitespaces (no tabs) are allowed as delimeter between key and 
9
 
#    value(s).
10
 
# 2. Whitespaces can neither be escaped nor quoted.
11
 
# 3. Macros must be declared before use.
12
 
#
13
 
 
14
 
 
15
 
# Name of the macro, refering to the "From:" field of a received mail
16
 
map_sender $sender
17
 
 
18
 
# Name of the macro, refering to the "To:" or "Cc:" field of a received mail
19
 
map_receiver $recepient
20
 
 
21
 
# Name of the macro, refering to the "Subject:" field of a received mail
22
 
map_subject $subject
23
 
 
24
 
# Bind a database field to a macroname
25
 
map_field $begin vacationStart
26
 
 
27
 
# Bind a database field to a macroname
28
 
map_field $end vacationEnd 
29
 
 
30
 
# Bind a database field to a macroname
31
 
map_field $fullname cn
32
 
 
33
 
# Bind a database field to a macroname
34
 
map_field $deputy vacationForward
35
 
 
36
 
# LDAP Server to bind to
37
 
server localhost
38
 
 
39
 
# Port, the LDAP server is listening on
40
 
port 389
41
 
 
42
 
# search scope (base|one|sub)
43
 
scope sub
44
 
 
45
 
# Destinguished name to bind with (leave empty to bind anonymously)
46
 
login
47
 
 
48
 
# Password to bind with (leave empty to bind anonymously)
49
 
password
50
 
 
51
 
# Which protocol <0|2|3> to use for binding. The deafult is 0, which stands
52
 
# for "autodetect".
53
 
protocol 0
54
 
 
55
 
# From where to start searching the LDAP tree (you have to change this!)
56
 
base o=my_organization
57
 
 
58
 
# Query filter to use for ldapsearch
59
 
queryfilter (&(mail=$recepient)(vacationActive=TRUE))
60
 
 
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).
65
 
result vacationInfo
66
 
 
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/
70
 
 
71
 
# File permissions to use for newly created database files
72
 
umask 0644
73
 
 
74
 
# After how many hours the block on a specific sender/receiver combo expires.
75
 
# Set to 0 to deactivate this feature (not recommended).
76
 
blockexpire 48
77
 
 
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
82
 
 
83
 
# Ignore mails, that specify too many receivers
84
 
maxreceivers 64
85
 
 
86
 
# Ignore mails with too many headerlines (avoid DOS attacks)
87
 
maxheader 512
88
 
 
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.
92
 
charset ISO8859-1
93
 
 
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
99
 
 
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
104
 
 
105
 
# The contents of this textfile are pasted in front of each outgoing mail.
106
 
forceheader /usr/var/lib/gnarwl/header.txt
107
 
 
108
 
# The contents of this textfile are appended to each outgoing mail.
109
 
forcefooter /usr/var/lib/gnarwl/footer.txt
110
 
 
111
 
# Whitespace delimeted list of headernames, which may contain receiving 
112
 
# emailaddresses (case insignificant).
113
 
recvheader To Cc
114
 
 
115
 
# Set loglevel (0|1|2|3). A higher loglevel always contains all lower
116
 
# loglevels.
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.
120
 
# 3 - Debug. 
121
 
loglevel 1