Hi Rimas,
I've got a mail with some tips on how to configure it. And I got it working now with Dovecot LDA. On Debian Jessie with Exim 4.88 (self compiled using OpenSSL instead of GnuTLS), VExim 2.2.1 and Dovecot as IMAP server I did something like this:
- apt-get install dovecot-managesieved
- added a transport rule to exim4.conf:
dovecot_virtual_delivery:
driver = pipe
return_output
command = /usr/lib/dovecot/dovecot-lda -d $local_part@$domain -f $sender_address
message_prefix =
message_suffix =
delivery_date_add
envelope_to_add
return_path_add
log_output
user = 90
group = 90
temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78
- activated this transport in router virtual_domains:
file_transport = dovecot_virtual_delivery
- changed Dovecots user lookup via MySQL in dovecot-sql.conf:
user_query = \
select smtp as home, users.uid, users.gid \
from users,domains \
where localpart = '%n' \
and domain = '%d' \
and users.domain_id = domains.domain_id
- activated Sieve in 20-managesieve.conf
- activated Sieve in 15-lda.conf:
mail_plugins = $mail_plugins sieve
- granted permission to the userdb in 10-master.conf:
mode = 0777
- reloaded Exim and Dovecot
Maybe I've forgotten some part but something like this should do it.
Greetings
Michael