AW: sieve filter bevor.spam, arnt take effect

Maurizio Caloro maurizio at caloro.ch
Mon Apr 12 17:10:56 EEST 2021


Thanks for your answer.... after remark this line restart the service and
nothing changed...

oot at nmail:/etc/dovecot# cat dovecot.conf
# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 4.9.0-12-amd64 x86_64 Debian 9.12

# Enable installed protocols
!include_try /usr/share/dovecot/protocols.d/*.protocol
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = yes
info_log_path = /var/log/mail.log
log_timestamp = %b %d %H:%M:%S Dovecot/
mail_access_groups = vmail
mail_location = maildir:~/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
copy include variables body enotify environment mailbox date ihave

passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}

postmaster_address = mca at caloro.ch

protocols = imap lmtp sieve

service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-client {
    mode = 0660
    user = mail
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}

service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    mode = 0600
    user = postfix
    group = postfix
  }
}

ssl = required
ssl_key = </etc/letsencrypt/live/nmail.caloro.ch/privkey.pem
ssl_cert = </etc/letsencrypt/live/nmail.caloro.ch/fullchain.pem

ssl_dh=</etc/dovecot/dh.pem

ssl_min_protocol=TLSv1.2
ssl_cipher_list = ECDHE-RSA-CHACHA20-POLY1305:ALL:!LOW:!SSLv2:!EXP:!aNULL

userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}

protocol imap {
        ssl_key = </etc/letsencrypt/live/nmail.caloro.ch/privkey.pem
        ssl_cert = </etc/letsencrypt/live/nmail.caloro.ch/fullchain.pem
        mail_plugins = " quota imap_quota"
}
protocol lmtp {
  # Space separated list of plugins to load (default is global
mail_plugins).
  mail_plugins = $mail_plugins sieve
}

service stats {
  unix_listener stats-reader {
    group = vmail
    mode = 0666
    user = vmail
  }
  unix_listener stats-writer {
    group = vmail
    mode = 0666
    user = vmail
  }
}

## ##  !include_try local.conf



-----Ursprüngliche Nachricht-----
Von: dovecot <dovecot-bounces at dovecot.org> Im Auftrag von Bernardo Reino
Gesendet: Montag, 12. April 2021 16:01
An: Dovecot Mailing List <dovecot at dovecot.org>
Betreff: Re: sieve filter bevor.spam, arnt take effect

Hello,
(Excuse me for top-posting, but the message below is too messy)

Your sieve config according to "dovecot -n" does not match what you have in
90-sieve.conf.

Have you deleted the line "!include conf.d/*.conf" in doveconf.conf?

Please double check that, as your config may not be what you'd expect it to
be..
Cheers.

On Mon, 12 Apr 2021, Maurizio Caloro wrote:

> Hello
>
> Please willing to filter "bevor spam" mail...
> filtering arnt take effect .. please i dont see the mistake.
> Thanks for any possible update
> Debian buster



More information about the dovecot mailing list