I’m working into a VPS installed on Ubuntu 18.04 LTS, with Virtualmin.
Now I’ve installed Sieve and activated plugin in RC, but the filters are not working.
From the command line,
telnet name.my-domain.tld 4190 I see:
Trying MY-IP-ADDRESS…
Connected to name.mydomain.tld.
Escape character is ‘^]’.
“IMPLEMENTATION” “Dovecot (Ubuntu) Pigeonhole”
“SIEVE” “fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext”
“NOTIFY” “mailto”
“SASL” “PLAIN LOGIN”
“STARTTLS”
“VERSION” “1.0”
OK “Dovecot (Ubuntu) ready.”
So, It seems that both Dovecot and Sieve are working but the two do not interact with each other.
Furthermore, in the Managesieve plugin of RC there is the file: managesieve.php with references about “vacation”, but in Sieve I don’t find anything related to the management of the vacation.
Where is this management and the relative filter?
Thanks in advance for the help.
These are the configuration files in Dovecot (without comment).
/etc/dovecot/dovecot.conf
## Dictionary server settings
dict {
#quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
#expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
}
!include conf.d/*.conf
!include_try local.conf
local_name nameserver.my-domain.tld {
ssl_cert = </home/server1/ssl.cert
ssl_key = </home/server1/ssl.key
}
local_name domain2-tld {
ssl_cert = </home/user1/ssl.cert
ssl_key = </home/user1/ssl.key
}
/etc/dovecot/conf.d/15-lda.conf
postmaster_address = postmaster@my-domain.tld
protocol lda {
Space separated list of plugins to load (default is global mail_plugins).
#mail_plugins = $mail_plugins
mail_plugins = $mail_plugins sieve
}
/etc/dovecot/conf.d/20-lmtp.conf
protocol lmtp {
postmaster_address = postmaster@my-domain.tld
mail_plugins = $mail_plugins sieve
}
/etc/dovecot/conf.d/90-sieve.conf
plugin {
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_default = /var/lib/dovecot/sieve/default.sieve
sieve_global_dir = /var/lib/dovecot/sieve/
sieve_global_path = /var/lib/dovecot/sieve/default.sieve
}
In ~/sieve there is the file roundcube.sieve with my filters creted in RC.
roundcube.sieve
require [“fileinto”];
rule:[ZZZ-Test]
if header :contains “subject” “ZZZ-Test”
{
fileinto “ZZZ-Test”;
}
rule:[User 1]
if header :is “from” “user1@domain.tld”
{
fileinto “ZZZ-Test”;
}