search for: imapsieve_mailbox1_name

Displaying 20 results from an estimated 235 matches for "imapsieve_mailbox1_name".

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 foun...
2018 Jun 11
2
Sieve_default
...e 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_mailbox3_causes = COPY imapsiev...
2018 Feb 13
2
Setting up sieve with spam learning
...ric 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_bin_dir = /usr/lib/dovecot/sieve...
2020 Oct 21
2
Sieve_before
...into 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 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.s...
2018 Dec 04
2
set seen flag and junk moving a mail manually to JUNK
...That's probably not what you want, because 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 >...
2018 Jun 13
3
Sieve_default
...ilbox 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...
2020 Oct 22
0
Sieve_before
...ded-character 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:/et...
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
...s/report-ham.sieve' Yes, in 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/siev...
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 (ge...
2017 Apr 05
4
Using filter in an imapsieve script?
...+vnd.dovecot.execute sieve_filter_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", "...
2020 Oct 30
1
Sieve filter script EXECUTION FAILED
...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_mailbox3_causes = COPY imapsiev...
2020 May 09
3
SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma
I tried with following: require ["imap4flags"]; if not hasflag :is "\\Seen" { setflag "\\Seen"; } And then this in plugins.conf: plugin { sieve_plugins = sieve_imapsieve imapsieve_mailbox1_name = Trash imapsieve_mailbox1_before = file:/etc/dovecot/sieve/trash.sieve } It works in outlook, the mail is opened (mark as read) when it goes to trash. But in Samsung Email it doesn't work. (or it works when I select in Samsung email, "Move to Folder" and then "Trash", bu...
2018 Apr 12
2
ACL for system users?
...ix = ? 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 = /etc/dovecot/sieve/final ? sieve_ext...
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
...", "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 undelete expunge copy mailbox_delete m...
2018 Aug 14
2
imapsieve wrong matches on APPEND cause
...sieve_extprograms sieve_before = /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...
2018 May 07
3
imapsieve: script not triggered
...e a script whenever a user copies a mail to his Spam folder (spam autolearning). Unfortunately this script is never executed regardless what I?m configuring for imapsieve. It looks like dovecot doesn?t really load the plugin? The "dovecot -n" output is attached. I already tried setting imapsieve_mailbox1_name to *, but even this does not execute the script? Also I tried a mailbox without mail_crypt enabled, no success as well. In the attached mail.log (mail_debug=yes) you can see, that imap_sieve_plugin is loaded, but it isn?t really executed. The normal (LMTP) sieve is working - if a mail is incoming...
2019 May 30
2
failed to pipe to program sa-learn-spam.sh
...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
...s > pass = yes > } > passdb { > args = username_format=%n /etc/dovecot/passwd > driver = passwd-file > } > plugin { > imapsieve_mailbox1_before = file:/etc/dovecot/sieve/learn-spam.sieve > imapsieve_mailbox1_cause = COPY FLAG > imapsieve_mailbox1_name = Junk > imapsieve_mailbox2_before = file:/etc/dovecot/sieve/learn-ham.sieve > imapsieve_mailbox2_causes = COPY > imapsieve_mailbox2_from = Junk > imapsieve_mailbox2_name = * > sieve = ~/dovecot.sieve > sieve_after = /etc/dovecot/sieve/after >...