SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Revision of Autocreate folders from Wed, 06/03/2009 - 13:07
Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.
Dovecot has an Autocreate pluging that can automatically create and subscribe folders when a user logs in.
Installation
For Dovecot 1.1.x, the plugin must be downloaded and compiled by hand:
cd /extra/src
mkdir dovecot-autocreate
cd dovecot-autocreate
wget http://www.dovecot.org/patches/1.1/autocreate-plugin.c
Export an environment variable with the location of the source we used to compile Dove (1.1.5)
export DOVECOT=/extra/src/dovecot-1.1.5
Then compile the plugin:
gcc -fPIC -shared -g -Wall -I$DOVECOT -I$DOVECOT/src/lib \
-I$DOVECOT/src/lib-storage -I$DOVECOT/src/lib-mail \
-I$DOVECOT/src/lib-imap -DHAVE_CONFIG_H \
autocreate-plugin.c -o autocreate_plugin.so
Then copy the plugin into the Dovecot install:
cp autocreate_plugin.so /usr/local/lib/dovecot/imap/autocreate_plugin.so
Configuration
In the protocol imap
section of /usr/local/etc/dovecot.conf
edit (and uncomment) the plugins section to enable the plugin:
protocol imap {
mail_plugins = autocreate
mail_plugin_dir = /usr/local/lib/dovecot/imap
}
Further down in /usr/local/etc/dovecot.conf</code, edit the <code>plugin
section to add the commands to create and subscribe to some folders:
plugin {
autocreate = INBOX.testFolder
autosubscribe = INBOX.testFolder
autocreate2 = INBOX.testFolder2
autosubscribe2 = INBOX.testFolder2
autocreate3 = INBOX.testFolder.subfolder
autosubscribe3 = INBOX.testFolder2.subfolder
}
- Log in to post comments