Displaying 20 results from an estimated 231 matches for "imapsieve_mailbox1_causes".
2018 May 12
3
Marks as read on mover to Archive
How would I setup dovecot so that when messages are moved to the Archive mailbox, they are marked as read?
Would it be similar to the imap-sieve for spam tagging?
imapsieve_mailbox1_name = Junk
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
Or is there a simpler method?
If it matters:
mailbox Archive {
auto = subscribe
special_use = \Archive
--
According to the philosopher Ly Tin Weedle, chaos is found in greatest
abundance wherever or...
2018 Jun 11
2
Sieve_default
I created a sieve_default to move any spam-tagged messages into the Junk mailbox automatically, but it doesn?t appear to be working (though the other imapsieve_mailbox? scripts are working).
From doveconf -n
plugin {
imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Junk
imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_name = *
imapsieve_mailbox3_before = file:/usr/lib/dovecot/sieve/mark-read.sieve
imapsieve_...
2018 Feb 13
2
Setting up sieve with spam learning
...subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve vnd.dovecot.imapsieve
plugin {
imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Junk
imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_name = *
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
sieve_pipe_bi...
2020 Oct 21
2
Sieve_before
...ter vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vnd.dovecot.pipe vnd.dovecot.filter vnd.dovecot.execute
}
plugin {
imapsieve_mailbox1_name = Junk
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_before = file:/etc/dovecot/sieve/global/report-spam.sieve
imapsieve_mailbox2_name = *
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_before = file:/etc/dovecot/sieve/global/report-ham.sieve
sieve_global = /etc/dovecot/s...
2018 Aug 09
3
imapsieve wrong matches on APPEND cause
...g.
Could you please let me know how to fix this?
More details.
Here is what I have in my plugin section of dovecot.conf:
---------------------------------------- %<
----------------------------------------
plugin {
imapsieve_mailbox1_before = file:/var/vmail/sieve/global/learn-spam.sieve
imapsieve_mailbox1_causes = COPY APPEND
imapsieve_mailbox1_from = Inbox
imapsieve_mailbox1_name = Spam
imapsieve_mailbox2_before = file:/var/vmail/sieve/global/learn-ham.sieve
imapsieve_mailbox2_causes = COPY APPEND
imapsieve_mailbox2_from = Spam
imapsieve_mailbox2_name = Inbox
sieve =
file:/var/vmail/sieve/%d...
2018 Dec 04
2
set seen flag and junk moving a mail manually to JUNK
...ecause the 'setflag' command
> replaces all existing flags. In any case, I recommend you use this
> method instead:
>
> plugin {
> sieve_pipe_bin_dir = /etc/dovecot/sievepipe
>
> # Message moved into Spam folder
> imapsieve_mailbox1_name = Junk
> imapsieve_mailbox1_causes = COPY
> imapsieve_mailbox1_before = file:/etc/dovecot/sievepipe/report-spam
>
> # Message moved out of Spam folder
> imapsieve_mailbox2_name = *
> imapsieve_mailbox2_from = Junk
> imapsieve_mailbox2_causes = COPY
> imapsieve_mailbox2_before = file:/etc/...
2018 Jun 13
3
Sieve_default
...ve any spam-tagged messages into the Junk mailbox automatically, but it doesn?t appear to be working (though the other imapsieve_mailbox? scripts are working).
>> From doveconf -n
>> plugin {
>> imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
>> imapsieve_mailbox1_causes = COPY
>> imapsieve_mailbox1_name = Junk
>> imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
>> imapsieve_mailbox2_causes = COPY
>> imapsieve_mailbox2_from = Junk
>> imapsieve_mailbox2_name = *
>> imapsieve_mailbox3_before = fi...
2020 Oct 22
0
Sieve_before
...ator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vnd.dovecot.pipe vnd.dovecot.filter vnd.dovecot.execute
> }
>
> plugin {
>
> imapsieve_mailbox1_name = Junk
> imapsieve_mailbox1_causes = COPY
> imapsieve_mailbox1_before = file:/etc/dovecot/sieve/global/report-spam.sieve
>
> imapsieve_mailbox2_name = *
> imapsieve_mailbox2_from = Junk
> imapsieve_mailbox2_causes = COPY
> imapsieve_mailbox2_before = file:/etc/dovecot/sieve/global/report-ham.sieve
&g...
2018 Dec 04
2
set seen flag and junk moving a mail manually to JUNK
Hi there!
I want to set the \seen and the Junk Flag to an email, which i move
manually to my Junk-Folder.
I tried a lot... but nothing worked like expected.
I have a sieve-filter, which takes an email and copy it to a pipe to
rspamc. This filter is working correctly, i get a debug-message from the
script, which is called through the sieve-filter.
But adding another rule (addflag
2020 Apr 01
2
sieve compile error
...conf.d/20-imap.conf, imapsieve and vnd.dovecot.pipe are
explicitly enabled:
protocol imap { mail_plugins = $mail_plugins imap_sieve imap_acl
mail_max_userip_connections = 50
plugin {sieve_plugins = sieve_imapsieve sieve_extprograms # From
elsewhere to Spam folder imapsieve_mailbox1_name = Spam
imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_before =
file:/etc/dovecot/sieve-scripts/report-spam.sieve # From Spam folder
to elsewhere imapsieve_mailbox2_name = * imapsieve_mailbox2_from =
Spam imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_before =
file:/etc/dovecot/sieve-scripts/report-ham.sieve#sieve_p...
2020 May 22
3
What causes mails to get striked-over only, and not deleted?
I have tried with this sieve config:
imapsieve_mailbox1_name = Sent
imapsieve_mailbox1_causes = COPY APPEND
imapsieve_mailbox1_after = file:/etc/dovecot/sieve/sent.sieve
and this sieve file (sent.sieve):
discard;
This should clearly cause the mail to be deleted right?
But whats happen, is that the mail is not deleted, its just marked for
deletion (gets a strike-through in Microsoft Ou...
2017 Apr 05
4
Using filter in an imapsieve script?
...ter_bin_dir = /etc/dovecot/sieve-filters
sieve_pipe_bin_dir = /etc/dovecot/sieve-filters
sieve_execute_bin_dir = /etc/dovecot/sieve-filters
sieve_filter_exec_timeout = 10000
sieve_pipe_exec_timeout = 10000
sieve_execute_exec_timeout = 10000
imapsieve_mailbox1_name = Sent
imapsieve_mailbox1_causes = COPY APPEND
imapsieve_mailbox1_before =
file:/home/vmail/domain/user/dovecot-crypt-sent.sieve
}
and the content of the sieve script is:
require ["environment", "vnd.dovecot.filter", "variables", "imapsieve",
"vnd.dovecot.pipe", "vnd.dov...
2020 Oct 30
1
Sieve filter script EXECUTION FAILED
...matched
> 32: jump if result is false
> 32: not jumping
> 34: filter action
> 34: execute program `darkmode.sh'
> 34: [[EXECUTION ABORTED]]
Here is the relevant part of doveconf -n
plugin {
imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Junk
imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_name = *
imapsieve_mailbox3_before = file:/usr/lib/dovecot/sieve/mark-read.sieve
imapsieve_...
2018 Apr 12
2
ACL for system users?
...taj
??? special_use = \Junk
? }
? prefix =
? subscriptions = yes
? type = private
}
passdb {
? driver = pam
}
plugin {
? acl = vfile
? acl_shared_dict = file:/var/lib/dovecot/kundividitaj/shared-mailboxes
? imapsieve_mailbox1_before =
file:/etc/dovecot/sieve/imapsieve/report-spam.sieve
? imapsieve_mailbox1_causes = COPY FLAG
? imapsieve_mailbox1_name = Spamujo
? imapsieve_mailbox2_before =
file:/etc/dovecot/sieve/imapsieve/report-ham.sieve
? imapsieve_mailbox2_causes = COPY
? imapsieve_mailbox2_from = Spamujo
? imapsieve_mailbox2_name = *
? sieve = file:~/sieve;active=~/.dovecot.sieve
? sieve_after...
2018 Oct 18
3
Fatal: setgid, imap connections dropped.
On 16.10.2018 21.32, J. de Meijer wrote:
> I'm still trying to fix this problem. Hopefully someone can help.
>
> I've upgraded dovecot to 2.3.3
> # dovecot --version
> 2.3.3 (dcead646b)
>
> That didn't help.
>
> Next I switched 10-auth.conf to use a local password file (instead of LDAP)
Can you provide doveconf -n please?
Aki
2020 Apr 22
2
Seive + Spamprobe terminates with signal 6
...home/u/${rhs}/home/${lhs}/.spamprobe", "receive"];
addheader :last "X-Spam" "${SCORE}";
if header :matches "X-Spam" "SPAM*" { fileinto "Junk"; }
plugin {
imapsieve_mailbox1_before = file:/etc/dovecot/sieve/retrain-as-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Junk
imapsieve_mailbox2_before = file:/etc/dovecot/sieve/retrain-as-good.sieve
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_name = *
listescape_char = mail_log_cached_only = yes
mail_log_events = delete unde...
2018 Aug 14
2
imapsieve wrong matches on APPEND cause
...= /var/vmail/sieve/global/spam-global.sieve
sieve =
file:/var/vmail/sieve/%d/%n/scripts;active=/var/vmail/sieve/%d/%n/active-scr
ipt.sieve
#------------------------
# Spam learning
#------------------------
# From elsewhere to Spam folder
imapsieve_mailbox1_name = Spam
imapsieve_mailbox1_causes = COPY APPEND
imapsieve_mailbox1_before =
file:/var/vmail/sieve/global/learn-spam.sieve
# From Spam folder to elsewhere
imapsieve_mailbox2_name = *
imapsieve_mailbox2_from = Spam
imapsieve_mailbox2_causes = COPY APPEND
imapsieve_mailbox2_before = file:/var/vmail/sieve/globa...
2019 May 30
2
failed to pipe to program sa-learn-spam.sh
...lity = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
>
> plugin {
> imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
> imapsieve_mailbox1_causes = COPY
> imapsieve_mailbox1_name = Junk
> ?
It WAS working.
--
Women and cats will do as they please, and men and dogs should relax an
get used to the idea.
2019 Jan 11
2
managesieve configuration
Hi Dominik,
I have set ssl = required in 10-ssl.conf globally but no ssl here:
service managesieve-login {
inet_listener sieve {
port = 4190
}
...
}
Nevertheless, STARTTLS is offered
"IMPLEMENTATION" "Dovecot Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
2018 Aug 14
0
imapsieve wrong matches on APPEND cause
...tails.
>
> Here is what I have in my plugin section of dovecot.conf:
>
> ---------------------------------------- %<
> ----------------------------------------
>
> plugin {
>
> ? imapsieve_mailbox1_before =
> file:/var/vmail/sieve/global/learn-spam.sieve
>
> ? imapsieve_mailbox1_causes = COPY APPEND
>
> ? imapsieve_mailbox1_from = Inbox
>
> ? imapsieve_mailbox1_name = Spam
>
> ? imapsieve_mailbox2_before = file:/var/vmail/sieve/global/learn-ham.sieve
>
> ? imapsieve_mailbox2_causes = COPY APPEND
>
> ? imapsieve_mailbox2_from = Spam
>
> ? imapsi...