On 1/12/2010 5:06 AM, Per Laine wrote: > Hi all! > > This is my first post to the list and i hope I can get some help. > > I'm using postfix as MTA with dovecot IMAP on Ubuntu Karmic and I'm > trying to get server-side mail filtering with sieve. Everything seems > like it's working but it's not. I telnet localhost sive and list rules > and it seems like they are active. But it doesn't work. I host two > virtual domains with virtual users. > > I think that maybe it's something with the transport from postfix => > dovecot but i really don't have a clue. > > Anyone with a similar setup who can be of any assistance? >
This is because your virtual delivery is using the virtual(8) agent which does not use sieve. You need to define a pipe transport in master.cf that points to dovecot's deliver agent. A good reading is here: http://www.postfix.org/VIRTUAL_README.html#in_virtual_other > Postfix version 2.6.5 > Dovecot version 1.1.11 > > my main.cf: > We prefer 'postconf -n' because it makes it easier to read and it sees what Postfix sees. > virtual_mailbox_domains = /etc/postfix/vhosts > virtual_mailbox_base = /home/vmail > virtual_mailbox_maps = hash:/etc/postfix/vmaps > virtual_minimum_uid = 1000 > virtual_uid_maps = static:5000 > virtual_gid_maps = static:5000 > A good start, but no virtual_transport statement.