Hello,
I’m trying to make filters working, but without success. I don’t know.
I make filter for example:
if subject containts “test” then move message to spam, but nothing happens.
In log I see no errors.
Feb 3 10:43:55 server1 dovecot: managesieve-login: Login: user=<info-pavelfucik.cz>, method=PLAIN, rip=::1, lip=::1, mpid=9023, secured, session=<az//wqidENgAAAAAAAAAAAAAAAAAAAAB>
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: Effective uid=1008, gid=1004, home=/home/pavelfucik.cz/homes/info
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: maildir++: root=/home/pavelfucik.cz/homes/info/Maildir, index=, indexpvt=, control=, inbox=/home/pavelfucik.cz/homes/info/Maildir, alt=
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: Pigeonhole version 0.5.4 () initializing
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file storage: Using active Sieve script path: /home/pavelfucik.cz/homes/info/.dovecot.sieve
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file storage: Using script storage path: /home/pavelfucik.cz/homes/info/sieve
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file storage: Using permissions from /home/pavelfucik.cz/homes/info/sieve: mode=0700 gid=-1
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file storage: Relative path to sieve storage in active link: sieve/
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file storage: sync: Synchronization active
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file script: Opened scriptroundcube' from
/home/pavelfucik.cz/homes/info/sieve/roundcube.sieve’
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file storage: Using Sieve script path: /home/pavelfucik.cz/homes/info/sieve/tmp/roundcube_1580723035.M164614P9023.server1.fucajz.cz.sieve
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Debug: sieve: file script: Opened scriptroundcube' from
/home/pavelfucik.cz/homes/info/sieve/tmp/roundcube_1580723035.M164614P9023.server1.fucajz.cz.sieve’
Feb 3 10:43:55 server1 dovecot: imap-login: Login: user=<info-pavelfucik.cz>, method=PLAIN, rip=::1, lip=::1, mpid=9025, secured, session=
Feb 3 10:43:55 server1 dovecot: imap(info-pavelfucik.cz)<9025>: Debug: Effective uid=1008, gid=1004, home=/home/pavelfucik.cz/homes/info
Feb 3 10:43:55 server1 dovecot: imap(info-pavelfucik.cz)<9025>: Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Feb 3 10:43:55 server1 dovecot: imap(info-pavelfucik.cz)<9025>: Debug: maildir++: root=/home/pavelfucik.cz/homes/info/Maildir, index=, indexpvt=, control=, inbox=/home/pavelfucik.cz/homes/info/Maildir, alt=
Feb 3 10:43:55 server1 dovecot: managesieve(info-pavelfucik.cz)<9023><az//wqidENgAAAAAAAAAAAAAAAAAAAAB>: Disconnected: Logged out bytes=198/639
Feb 3 10:43:55 server1 dovecot: imap(info-pavelfucik.cz)<9025>: Logged out in=44 out=652 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
/etc/dovecot/conf.d/20-managesieve.conf
ManageSieve specific settings
Uncomment to enable managesieve protocol:
protocols = $protocols sieve
Service definitions
service managesieve-login {
inet_listener sieve {
port = 4190
}inet_listener sieve_deprecated {
port = 2000
}Number of connections to handle before starting a new process. Typically
the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
is faster. <doc/wiki/LoginProcess.txt>
service_count = 1
Number of processes to always keep waiting for more connections.
process_min_avail = 0
If you set service_count=0, you probably need to grow this.
vsz_limit = 64M
}service managesieve {
Max. number of ManageSieve processes (connections)
process_limit = 1024
}Service configuration
protocol sieve {
Maximum ManageSieve command line length in bytes. ManageSieve usually does
not involve overly long command lines, so this setting will not normally
need adjustment
managesieve_max_line_length = 65536
Maximum number of ManageSieve connections allowed for a user from each IP
address.
NOTE: The username is compared case-sensitively.
mail_max_userip_connections = 10
Space separated list of plugins to load (none known to be useful so far).
Do NOT try to load IMAP plugins here.
#mail_plugins =
MANAGESIEVE logout format string:
%i - total number of bytes read from client
%o - total number of bytes sent to client
managesieve_logout_format = bytes=%i/%o
To fool ManageSieve clients that are focused on CMU’s timesieved you can
specify the IMPLEMENTATION capability that Dovecot reports to clients.
For example: ‘Cyrus timsieved v2.2.13’
#managesieve_implementation_string = Dovecot Pigeonhole
Explicitly specify the SIEVE and NOTIFY capability reported by the server
before login. If left unassigned these will be reported dynamically
according to what the Sieve interpreter supports by default (after login
this may differ depending on the user).
#managesieve_sieve_capability =
#managesieve_notify_capability =The maximum number of compile errors that are returned to the client upon
script upload or script verification.
managesieve_max_compile_errors = 5
Refer to 90-sieve.conf for script quota configuration and configuration of
Sieve execution limits.
}
/etc/dovecot/conf.d/90-sieve.conf
plugin {
sieve = ~/.dovecot.sieve
sieve_global_path = /var/lib/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
sieve_global_dir = /var/lib/dovecot/sieve/}
Roundcube version: 1.4.2
Debian 10 Buster
Can you please help me?
Thank you.