Hello,
My setup consists of the following:
- Freebsd 6.2 system with software installed from ports tree:
- Postfix 2.3.8,1
- postfixadmin 2.1.0_7
- mysql 5.0.33
- dovecot-1.0.r25
- dovecot-sieve 1.0.1
- clamav 0.90_3
- SpamAssassin 3.1.8_1
- amavisd-new 2.4.5_1,1
My mail setup is a virtual user setup with all users/domains sharing same UID:GID. Postfix and dovecot get their User information from mysql tables that are administered with postfixadmin.
Mail is filtered through clamav and spamassassin using amavisd-new setup as a content filter.
All users mail is delivered such as their maildir is /usr/local/vmail/%d/%u using dovecot's lda 'deliver' agent.
The system is working fine as configured.. Mail goes where it is supposed to.
Trying to get sieve support and unable to get this going. First step is simulating home directories.
From dovecot-mysql.conf ... changed user_query to user_query = SELECT maildir, 5000 AS uid, 5000 AS gid, @home := maildir AS home FROM mailbox WHERE username = '%u'
Added the following to a users maildir: .dovecot.sieve
require "fileinto";
fileinto "test";
Restart all daemons..
Mail still delivers to inbox. Nothing appears in /var/log/maillog or /usr/local/vmail/dovecot-deliver.log that shows anything but the message being delivered to the inbox.
HELP!
Brent.