On Tue, 4 Jun 2024 at 11:19, Celal.Dikici via Postfix-users <
postfix-users@postfix.org> wrote:

> Hello,
> For the e-mail infrastructure we use roundcube 1.6.6 postfix 3.7.10,
> dovecot 2.3.19.1 installed on debian 12.05.  We use the larry theme as the
> interface. We use managesieve plugin for filtering. I have extracted some
> configurations below. Although the services are working properly, the
> filtering rules are not working. Although I have activated the Sieve logs,
> no negative logs are being sent. It is as if postfix/dovecot is not talking
> to managesieve. I wonder where I am doing wrong?
> Thank you for your help.
>
> *dovecot -n*
> protocol lmtp {
>
> mail_plugins = sieve
>
> }
>
> protocol lda {
>
> mail_plugins = sieve
>
> }
>
> *postconf -n*
> virtual_transport = lmtp:unix:private/dovecot
>

You seem to have enabled sieve in both lmtp and lda in dovecot (have you
restarted dovecot since then?).

Logs would help. Is postfix really delivering mail via dovecot? I see you
have virtual_transport defined, but don't see virtual users/domains. Are
you really using virtual users? Paste here log from postfix for delivering
email which should be filtered via sieve, something like this:

kenny postfix/pipe[22010]: 24xxxx31C: to=<x...@xxx.sk>, orig_to=<x...@yyy.sk>,
relay=dovecot, delay=1.8, delays=1.7/0/0/0.06, dsn=2.0.0, status=sent
(delivered via dovecot service)

LMTP/LDA should log info about sieve processing to the same log destination
as rest of dovecot, for example:

kenny dovecot: lda(marki@xxx)<26865><wrvDNj1BXxxxnI7+Cg>: sieve:
msgid=<20240603221836.xxx@xxx>: stored mail into mailbox 'INBOX'




-- 
  bye, Marki
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to