Sieve scripts igniored
Sam R
sr42354 at gmail.com
Fri Jan 7 14:10:06 UTC 2022
Thank you Aki and Juergen!
The default sieve location was different than mine, /home/vmail/
name.firstname at mail.xxx.fr insted of /home/vmail/name.firstname
The solution :
vi /etc/dovecot/conf.d/90-sieve.conf
sieve = file:/home/vmail/%n/sieve;active=/home/vmail/%n/.dovecot.sieve
Cheers
Samuel
Le ven. 7 janv. 2022 à 12:45, Aki Tuomi <aki.tuomi at open-xchange.com> a
écrit :
>
> > On 07/01/2022 13:20 Sam R <sr42354 at gmail.com> wrote:
> >
> >
> > Hello,
> >
> > I have an issue with Sieve plugin, I can drive rules remotely with
> sieve://myserver.fr:4190/?tls=YES (http://myserver.fr:4190/?tls=YES), the
> rules are well created under /home/vmail/name.firstname, but these are
> never executed.
> >
> > I have also read
> https://doc.dovecot.org/configuration_manual/sieve/troubleshooting/, but
> I don't see any evident mistake.
> >
> > here is my dovecot -n :
> >
> > # 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf
> > # Pigeonhole version 0.5.13 (cdd19fe3)
> > # OS: Linux 5.10.0-8-amd64 x86_64 Debian 11.0 ext4
> > # Hostname: mail.xxx.fr (http://mail.xxx.fr)
> > auth_debug = yes
> > auth_gssapi_hostname = $ALL
> > auth_krb5_keytab = /etc/dovecot/dovecot.keytab
> > auth_mechanisms = login plain gssapi
> > mail_location = maildir:/home/vmail/%n/Maildir/
> > mail_privileged_group = mail
> > managesieve_notify_capability = mailto
> > managesieve_sieve_capability = fileinto reject envelope
> encoded-character vacation subaddress comparator-i;ascii-numeric relationa
> l regex imap4flags copy include variables body enotify environment mailbox
> date index ihave duplicate mime foreverypart extracttex t
> > namespace inbox {
> > inbox = yes
> > location =
> > mailbox Drafts {
> > special_use = \Drafts
> > }
> > mailbox Junk {
> > special_use = \Junk
> > }
> > mailbox Sent {
> > special_use = \Sent
> > }
> > mailbox "Sent Messages" {
> > special_use = \Sent
> > }
> > mailbox Trash {
> > special_use = \Trash
> > }
> > prefix =
> > }
> > passdb {
> > driver = pam
> > }
> > passdb {
> > driver = pam
> > }
> > plugin {
> > sieve = file:~/sieve;active=~/.dovecot.sieve
> > }
> > protocols = " imap lmtp sieve pop3"
> > service lmtp {
> > executable = lmtp -L
> > unix_listener /var/spool/postfix/private/dovecot-lmtp {
> > group = postfix
> > mode = 0666
> > user = postfix
> > }
> > }
> > service managesieve-login {
> > inet_listener sieve {
> > port = 4190
> > }
> > }
> > ssl = required
> > ssl_cert = </etc/letsencrypt/live/mail.xxx.fr/fullchain.pem (
> http://mail.xxx.fr/fullchain.pem)
> > ssl_client_ca_dir = /etc/ssl/certs
> > ssl_client_ca_file = /etc/letsencrypt/live/mail.xxx.fr/chain.pem (
> http://mail.xxx.fr/chain.pem)
> > ssl_dh = # hidden, use -P to show it
> > ssl_key = # hidden, use -P to show it
> > userdb {
> > driver = passwd
> > }
> > userdb {
> > args = uid=vmail gid=vmail home=/home/vmail/%u allow_all_users=yes
> > driver = static
> > }
> > userdb {
> > driver = passwd
> > }
> > protocol lmtp {
> > mail_plugins = " sieve"
> > }
> > protocol lda {
> > mail_plugins = " sieve"
> > }
> >
> > Thanks for helping.
> >
> > kind regards.
> >
> > Samuel
>
> Try mail_debug=yes and see what you get in logs.
>
> Aki
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220107/f476f462/attachment.htm>
More information about the dovecot
mailing list