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 Sieve from Thu, 02/16/2012 - 05:07
Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.
The Dovecot IMAP server has Sieve support via a plugin provided by the Pigeonhole Project
Installation
Download the latest source from the Pigeonhole download page:
cd /extra/src
wget http://www.rename-it.nl/dovecot/2.0/dovecot-2.0-pigeonhole-0.2.6.tar.gz
tar zxf dovecot-2.0-pigeonhole-0.2.6.tar.gz
cd dovecot-2.0-pigeonhole-0.2.6
Since we installed Dovecot from source, the configure script should find the installed dovecot-config
automatically:
./configure
make
make install
IMPORTANT: You need to recompile Pigeonhole when you upgrade Dovecot to a new version, because otherwise the Sieve interpreter plugin will fail to load with a version error.
A set of sample config files are installed to/usr/local/share/doc/dovecot/example-config/conf.d
, which you'll have to move to /usr/local/etc/dovecot/conf.d
:
cp /usr/local/share/doc/dovecot/example-config/conf.d/20-managesieve.conf /usr/local/etc/dovecot/conf.d/
cp /usr/local/share/doc/dovecot/example-config/conf.d/90-sieve.conf /usr/local/etc/dovecot/conf.d/
Edit /usr/local/etc/dovecot/conf.d/20-managesieve.conf
and uncomment a couple lines:
protocols = $protocols sieve
service managesieve-login {
inet_listener sieve {
port = 4190
}
service_count = 1
vsz_limit = 64M
}
The default /usr/local/etc/dovecot/conf.d/90-sieve.conf
should work without any adjustments.
Enable the Sieve plugin for Dovecot's LDA in /usr/local/etc/dovecot/conf.d/15-lda.conf
:
protocol lda {
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins sieve
}
Edit /usr/local/etc/dovecot/conf.d/10-master.conf
and give the vpopmail user and group some access privileges:
default_login_user = vpopmail
default_internal_user = vpopmail
service auth {
# auth_socket_path points to this userdb socket by default. It''s typically
# used by dovecot-lda, doveadm, possibly imap process, etc. Its default
# permissions make it readable only by root, but you may need to relax these
# permissions. Users that have access to this socket are able to get a list
# of all usernames and get results of everyone''s userdb lookups.
unix_listener auth-userdb {
mode = 0600
user = vpopmail
group = vchkpw
}
# Postfix smtp-auth
#unix_listener /var/spool/postfix/private/auth {
# mode = 0666
#}
# Auth process is run as this user.
user = $default_internal_user
}
service auth-worker {
# Auth worker process is run as root by default, so that it can access
# /etc/shadow. If this isn''t necessary, the user should be changed to
# $default_internal_user.
user = $default_internal_user
}
Restart Dovecot:
svc -t /service/dovecot-imap
To enable Sieve filtering for a domain, you must edit that domain's .qmail-default
file to use Dovecot's LDA instead of vdelivermail
:
|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver -d $EXT@$USER
- Log in to post comments