[cvs] [Wiki] changed: SorkVacationWithGnarwl

Wiki Guest wikiguest at horde.org
Thu Nov 29 10:48:48 UTC 2007


guest [203.147.0.30]  Thu, 29 Nov 2007 02:48:48 -0800

Modified page: http://wiki.horde.org/SorkVacationWithGnarwl
New Revision:  1.8
Change log:  correct postfix configuration

@@ -7,15 +7,17 @@
 Horde version:       3.1.3
 vacation version:   3.0

 (For those who don't want to use gnarwl, a "traditional" vacation program
for ldap is available at http://www.etc.msys.ch/sources/ldapvacation/).
+
+Note for freebsd user. Downloaded gnarwl package does not support openldap,
build from port instead.

 First, define a postfix transport map for your specific internal autoreply
domain.
 If your domain is "example.com" and your autoreply domain is to be
"autoreply.example.com", then you would add the following to
 /etc/postfix/transport:

 <code>
-autoreply.example.com    gnarwl:
+autoreply.example.com    gnarwl:example.com
 </code>

 Next, create the database files from the above file.  The following command
should create the appropriate transport.db file:

@@ -38,9 +40,9 @@
 <code>
 </snip>
 # gnarwl autoresponder
 gnarwl    unix  -       n       n       -       -       pipe
-  flags=F  user=gnarwl argv=/usr/bin/gnarwl -a $user
+  flags=F  user=gnarwl argv=/usr/bin/gnarwl -a ${user}@${nexthop} -s
${sender}
 </snip>
 </code>

 Create an LDAP vacation alias map called
ldap-virtual_alias_maps-vacation.cf:
@@ -52,9 +54,9 @@
 server_port = 389
 search_base = ou=mail,...
 query_filter =
(&(objectClass=MailAccount)(objectClass=Vacation)(mail=%s)(accountActive=TRUE)(vacationActive=TRUE))
 result_attribute = mail
-result_filter = %s,%s at autoreply.example.com
+result_filter = %s,%u at autoreply.example.com
 bind = no
 </snip>
 </code>

@@ -101,9 +103,9 @@
 This should return the following if the vacation has been enabled,
otherwise nothing.

 <code>
 <snip>
-vacationtest at example.com,vacationtest at example.com@autoreply.example.com
+vacationtest at example.com,vacationtest at autoreply.example.com
 </snip>
 </code>

 If this works so far, configure gnawrl to suit your needs (only the ldap
part and the header config is included):


More information about the cvs mailing list