imapsieve: Change message flags on COPY
Leandro Lucarella
luca at llucax.com
Fri Aug 17 20:44:50 EEST 2018
On Friday 17 August 2018 01:41:39 CEST Stephan Bosch wrote:
> dovecot -n
Hi, here it is (I don't know why I get the SSLv2 warning because it is
disabled in ssl_protocols, any ideas about that too?).
BTW, even when storing the message in a different folder with fileinto,
the original message is still saved in the original mailbox. I also tried
using `discard;` and makes no difference, I can never get rid of the
original message.
# dovecot -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
doveconf: Warning: SSLv2 not supported by OpenSSL. Please consider
removing it from ssl_protocols.
doveconf: Warning: SSLv2 not supported by OpenSSL. Please consider
removing it from ssl_protocols.
# OS: Linux 4.15.0-30-generic x86_64 Ubuntu 18.04.1 LTS
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relationa
l regex imap4flags copy include variables body enotify environment mailbox
date index ihave duplicate mime foreverypart extracttex
t editheader vnd.dovecot.debug vnd.dovecot.environment imapsieve
vnd.dovecot.imapsieve vnd.dovecot.pipe vnd.dovecot.filter vnd.dov
ecot.execute
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = scheme=CRYPT username_format=%u /etc/dovecot/users
driver = passwd-file
}
plugin {
imapsieve_mailbox1_before = file:~/sieve/imapsieve.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = *
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_execute_bin_dir = /usr/local/lib/dovecot/sieve-bin
sieve_extensions = +editheader +vnd.dovecot.execute +vnd.dovecot.filter
+vnd.dovecot.pipe +vnd.dovecot.debug +vnd.dovecot.enviro
nment
sieve_filter_bin_dir = /usr/local/lib/dovecot/sieve-bin
sieve_pipe_bin_dir = /usr/lib/dovecot/sieve-bin
sieve_plugins = sieve_imapsieve sieve_extprograms
}
protocols = " imap lmtp sieve pop3 sieve"
service imap-login {
inet_listener imap {
port = 0
}
inet_listener imaps {
port = 1993
}
}
service pop3-login {
inet_listener pop3 {
port = 0
}
inet_listener pop3s {
port = 1995
}
}
ssl = required
ssl_cert = </etc/letsencrypt/live/xxx/fullchain.pem
ssl_cipher_list = EECDH+AESGCM:HIGH:!DHE:!EDH:!aNULL
ssl_dh_parameters_length = 2048
ssl_key = # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
ssl_protocols = !TLSv1 !TLSv1.1 !SSLv3 !SSLv2
userdb {
args = blocking=no
driver = passwd
}
protocol lmtp {
mail_plugins = " sieve"
}
protocol lda {
mail_plugins = " sieve"
}
protocol imap {
mail_plugins = " imap_sieve"
}
local_name xxx {
ssl_cert = </etc/letsencrypt/live/xxx/fullchain.pem
ssl_key = # hidden, use -P to show it
}
local_name yyy {
ssl_cert = </etc/letsencrypt/live/yyy/fullchain.pem
ssl_key = # hidden, use -P to show it
}
--
Leandro Lucarella (Luca)
https://llucax.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180817/e38719bc/attachment-0001.sig>
More information about the dovecot
mailing list