Questions tagged [sieve]
Sieve is a language for filtering email messages. It can be implemented in mail server or mail client.
118 questions
0
votes
0
answers
17
views
Trigger scripts via dovecot imapsieve without actually touching the read-only mailbox
Configuring a Sieve script to run after IMAP flag changes like so:
[..]
dovecot_config_version = 2.4.0
protocol imap {
mail_plugins {
acl = yes
imap_acl = yes
imap_sieve = yes
}
}
...
4
votes
2
answers
551
views
Dovecot is not allowing global sieve extensions
I'm running dovecot-2.4.1-4 and postfix-3.10.5-1 on my Debian 13 machine. These are the default dovecot and postfix versions which got installed via "apt".
Everything is working fine with ...
0
votes
1
answer
311
views
Dovecot imap_sieve plugin copies messages instead of moving messages
I have successfully configured Postfix + Dovecot + IMAP. And I just also installed spamassassin, spamc, spamass-milter, and configured imap_sieve plugin to combat spam.
Output of doveconf -n:
# 2.3.13 ...
0
votes
1
answer
141
views
Dovecot/Pigeonhole: How to specify default directory permission for newly created ./sieve directory for fresh uers?
I am running Dovecot 2.3.20 with enabled Sieve support. I am using virtual mail boxes for several hosted virtual domains. The system account and group which owns (shall own) the directories and mail ...
0
votes
1
answer
1k
views
Sieve for making copy of email reaching a certain alias of an account
My email provider has support for the sieve language (RFC 5228) in advanced mode email filters, but states they "cannot provide additional support on this subject". I'd want to use sieve to ...
1
vote
2
answers
3k
views
Roundcube unable to connect to managesieve server
EDIT I connected with sieve-connect using PLAIN and an authentication method, and the login went ahead just fine. So I think there's an issue in Roundcube's config.
$ ./sieve-connect.pl --debug -s ...
0
votes
1
answer
224
views
PigeonHole/Dovecot configuration for Sieve extension "Spamtest" with respect to "rspamd"
I try to configure the Sieve extension "Spamtest" (see Pigeonhole Sieve: Spamtest and Virustest Extensions) for rspamd. Rspamd is configured to add the extended mail header (...
1
vote
1
answer
1k
views
Dovecot process synchronization for duplicate email detection
We have a dovecot server version 2.3.16 with sieve duplicate extension enabled to detect and discard duplicates. We have duplicate routing in Postfix virtual_aliases file which causes duplicate copies ...
1
vote
0
answers
573
views
How to move Spam emails to Spam folder With RoundCube and Dovecot-Pigeonhole
OS: Rocky Linux 9.2
Services: Dovecot, Dovecot-Pigeonhole, Postfix, Spamassassin, RoundCube
I'm trying to move emails flagged as spam by postfix and spamassassin to spam folder using Dovecot-...
1
vote
0
answers
370
views
managesieve - default sieve not applying
I set up my mail server on Debian 11 (postfix, dovecot, spamassassin, roundcube) and I got an issue with managesieve.
In "90-sieve.conf" I set:
sieve_default = /var/lib/dovecot/sieve/default....
3
votes
1
answer
957
views
Sieve rules to match raw header values
This worked in procmail, but it seems procmail was abandoned in Sept 2001. I had a rule that would sense when utf-8 was used in the 'To:' header to write my name using emoji or non-Latin characters. ...
0
votes
2
answers
918
views
sieve vacation using from: not reply-to:
Sieve vacation answers fine, but uses the from: field but not the reply-to: field, which would make much more sense (to me).
Using sieve with roundcube, sieve script is
require ["vacation"];
...
0
votes
0
answers
843
views
Dovecot + imap_sieve learning spam
Have dovecot+sieve. It's most often recommended that users train spamassassin/rspamd in the following way:
A Spam folder is created in each mailbox (Junk type)
Further, through the imap_sieve plugin, ...
0
votes
1
answer
1k
views
Dynamically move mails into matching mailboxes with sieve fileinto regex
I'm trying to create a sieve script, which files mails into mailboxes (or sub-directories of the inbox) matching a certain subject identifier.
For example if the subject includes 123 (three digits, 0-...
0
votes
0
answers
2k
views
Setting up managesieve on Dovecot
I'm trying to get my head around setting up managesieved so that my users can make use of it. So far I have done:
apt-get install dovecot-sieve dovecot-managesieved
After some debugging, I found out ...