SV: SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating ne
Doesn't work in Samsung Email still. And with COPY FLAG set, it doesn't work with outlook either. You need APPEND for it to work in outlook. It currently works in outlook with either no causes restriction, or with COPY FLAG APPEND. But not in Samsung Email. And what I understand, leaving .causes out, should have it match ALL causes. If I look in the dovecot.log with debugging on, it looks like this: May 10 03:53:38 imap-login: Info: Login: user=, method=PLAIN, rip=192.168.2.2, lip=192.168.1.10, mpid=3385220, session= May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Loading modules from directory: /usr/lib/dovecot/modules May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Module loaded: /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Added userdb setting: plugin/=yes May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Effective uid=1001, gid=1001, home= May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:/var/mail/asterisk2:INBOX=/var/mail/asterisk May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: fs: root=/var/mail/asterisk2, index=, indexpvt=, control=, inbox=/var/mail/asterisk, alt= May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Mailbox INBOX: Mailbox opened because: SELECT May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Mailbox Trash: Mailbox opened because: UID MOVE May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: Mailbox INBOX: UID 1068: Opened mail because: copying May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: imapsieve: mailbox Trash: MOVE event May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Error: User sebast...@sebbe.eu doesn't have home dir set, disabling duplicate database May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Pigeonhole version 0.5.7.2 () initializing May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Sieve imapsieve plugin for Pigeonhole version 0.5.7.2 () loaded May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: imapsieve: Static mailbox rule [1]: mailbox=`Trash' from=`*' causes=(COPY FLAG APPEND) => before=`file:/etc/dovecot/sieve/trash.sieve' after=`file:/etc/dovecot/> May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: imapsieve: Static mailbox rule [2]: mailbox=`Sent' from=`*' causes=(APPEND) => before=(none) after=`file:/etc/dovecot/sieve/sent.sieve' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: imapsieve: Matched static mailbox rule [1] May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: file storage: Using Sieve script path: /etc/dovecot/sieve/trash.sieve May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: file script: Opened script `trash' from `/etc/dovecot/sieve/trash.sieve' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: file storage: Using Sieve script path: /etc/dovecot/sieve/trash.sieve May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: file script: Opened script `trash' from `/etc/dovecot/sieve/trash.sieve' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Opening script 1 of 2 from `/etc/dovecot/sieve/trash.sieve' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Loading script /etc/dovecot/sieve/trash.sieve May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Script binary /etc/dovecot/sieve/trash.svbin successfully loaded May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: binary save: not saving binary /etc/dovecot/sieve/trash.svbin, because it is already stored May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Executing script from `/etc/dovecot/sieve/trash.svbin' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Opening script 2 of 2 from `/etc/dovecot/sieve/trash.sieve' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Loading script /etc/dovecot/sieve/trash.sieve May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Script binary /etc/dovecot/sieve/trash.svbin successfully loaded May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: binary save: not saving binary /etc/dovecot/sieve/trash.svbin, because it is already stored May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Debug: sieve: Executing script from `/etc/dovecot/sieve/trash.svbin' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Info: sieve: left message in mailbox 'Trash' May 10 03:53:38 imap(sebast...@sebbe.eu)<3385218>: Info: Connection closed (SELECT finished 0.127 secs ago) in=77 out=928 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 May 10 03:53:38 imap(sebast...@sebbe.eu)<3385220>: Info: Connection closed (CLOSE finished 0.010 secs ago) in=160 out=1192 deleted=0 expunged=0 trashed=1 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 May 10 03:53:44 imap(sebast...@sebbe.eu)<33
Re: SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma
On 10/5/20 3:33 am, Sebastian Nielsen wrote: And then this in plugins.conf: plugin { sieve_plugins = sieve_imapsieve imapsieve_mailbox1_name = Trash imapsieve_mailbox1_before = file:/etc/dovecot/sieve/trash.sieve } Maybe adding this will help... imapsieve_mailbox1_causes = COPY FLAG
Re: Unable to disable TLSv1.3 or fallback to TLSv1.2 when 1 cipher is disabled
I have an operational need to disable TLSv1.3 due to inadequate support to exclude certain ciphers. There is no need to disable TLSv1.3 and attempts to do so will be flagged as “downgrade attacks”. Let us ignore TLSv1.2 as a downgrade option. And focus on TLSv1.3 for its entirety of this thread. If the ciphersuite (not cipher for that's a TLSv1.2 term), but a ciphersuite for TLSv1.3 needs to have its set of ciphers: * Reordered, or * disabled We cannot do it at the moment given this snapshot of Dovecot.
Re: Support for MULTISEARCH
Am 10.05.20 um 00:22 schrieb Daniel Miller: Thank you - I'm aware of the virtual folder option and do use it. My interest is for a Windows client, EM Client, which I otherwise really enjoy. Unfortunately, they've implemented server-side searching only via MULTISEARCH - for reasons passing my understanding. So I was hoping to hear Dovecot either already had support or there were plans to implement it. Virtual folder does not scale. Thank you for naming a client that does multisearch! Peter On 6.5.2020 3.57, Daniel Miller wrote: Does Dovecot presently support the MULTISEARCH command, or are there plans to do so? If you mean RFC7377, that is not supported. ref. https://www.imapwiki.org/Specs I would suggest evaluating if searching a single virtual folder could work for your use case. ref. https://doc.dovecot.org/configuration_manual/virtual_plugin/ br, Teemu
Re[2]: Support for MULTISEARCH
Thank you - I'm aware of the virtual folder option and do use it. My interest is for a Windows client, EM Client, which I otherwise really enjoy. Unfortunately, they've implemented server-side searching only via MULTISEARCH - for reasons passing my understanding. So I was hoping to hear Dovecot either already had support or there were plans to implement it. --- Daniel -- Original Message -- From: "Teemu Huovila" To: dovecot@dovecot.org Sent: 5/8/2020 5:49:34 AM Subject: Re: Support for MULTISEARCH On 6.5.2020 3.57, Daniel Miller wrote: Does Dovecot presently support the MULTISEARCH command, or are there plans to do so? If you mean RFC7377, that is not supported. ref. https://www.imapwiki.org/Specs I would suggest evaluating if searching a single virtual folder could work for your use case. ref. https://doc.dovecot.org/configuration_manual/virtual_plugin/ br, Teemu --- Daniel
Dovecot v2.3.4.1 Debian 10.3 mbox format - Error: chdir(/var/spool/mail/domain/user) failed: Not a directory
Hi colleagues, I am trying to setup dovecot and have a strange problem. I configured it to: #dovecot -n|grep ^mail mail_gid = mail mail_location = mbox:/var/spool/mail/%d/mailboxes/%n:INBOX=/var/spool/mail/%d/%n mail_uid = mail And also setup exim4 to use it. I sent a test message and observe a mailbox file /var/spool/mail/domain/user, containing this message. But when I try to access dovecot with a client (thunderbird), client cannot fetch mail, and I observe error in the dovecot's log: May 09 23:35:51 imap(user@domain)<25179>: Error: chdir(/var/spool/mail/domain/user) failed: Not a directory What is it, and how to solve it? Thank you. Kind regards, Viktor
SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma
Another problem, is that running discard; on the Sent folder, just marks the email for deletion - ergo it gets a strike-through. It doesn't get deleted. Tried with both Before and After. Otherwise, the discard; on Sent folder works fine - ergo it only selects emails that were written through IMAP, it doesn't select emails written from appendfile in exim4, which is good. So now I somehow need to get exim4 to actually delete the email completely and not just mark it for deletion. -Ursprungligt meddelande- Från: Sebastian Nielsen Skickat: den 9 maj 2020 19:33 Till: dovecot@dovecot.org Ämne: 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", but if I select "Delete", the mail is trashed without becoming read) (I have checked, the sieve script gets executed) -Ursprungligt meddelande- Från: dovecot-boun...@dovecot.org För Marc Roos Skickat: den 9 maj 2020 18:30 Till: dovecot Ämne: RE: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma Someone just told me about imapsieve. Sieve rules for folders. I assume that could solve your issue. https://wiki.dovecot.org/HowTo/AntispamWithSieve -Original Message- Sent: 09 May 2020 17:32 To: dovecot@dovecot.org Subject: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new mails Dovecot version: 2.3.7.2 (3c910f64b) (pkg shipped by: Ubuntu-Desktop 20.04) I want to accomplish 2 things in dovecot: 1: I want to force all mails inside Trash to have an "opened"/"read" flag and "Non-Recent" flag. Basically Status: RO This regardless how the flag appears, either by copying/moving the mail into trash, creating a new mail in trash, flagging email in Trash or whatever. Basically, no email in Trash should ever be able to have a recent or unread flag. I tried with a static mail filter and sieve filter to add \\seen to the email upon COPY (as mentioned here: https://dovecot.org/pipermail/dovecot/2017-November/110122.html ), but regardless how I do it, it doesn't work when Samsung Email client trashes an unread email, AND/OR also, it causes weird issues like duplicate email in the trash folder sometimes. Best would be some event filter that executes for every mail that somehow end up in Trash, that checks if \\seen is present, if not, then it will add it, on all emails in trash? But how I do to prevent the duplicate copy that appears sometimes? 2: I want to prohibit email clients from ever creating a new mail in Sent folder. If its possible to allow MOVE and/or COPY, it should be allowed, only new mail should be prohibited. (also note that external processes must be able to create new mail in Sent) HOWEVER - this prohibition must be silent - ergo the newly created email is simply discarded. No error message or error codes should be returned to IMAP client. (The reason I want this, is because I have configured my outgoing SMTP server to populate Sent, and some email clients doesn't have the option to "Don't store a copy of the email in Sent folder" resulting in duplicates) Best regards, Sebastian Nielsen smime.p7s Description: S/MIME Cryptographic Signature
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", but if I select "Delete", the mail is trashed without becoming read) (I have checked, the sieve script gets executed) -Ursprungligt meddelande- Från: dovecot-boun...@dovecot.org För Marc Roos Skickat: den 9 maj 2020 18:30 Till: dovecot Ämne: RE: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma Someone just told me about imapsieve. Sieve rules for folders. I assume that could solve your issue. https://wiki.dovecot.org/HowTo/AntispamWithSieve -Original Message- Sent: 09 May 2020 17:32 To: dovecot@dovecot.org Subject: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new mails Dovecot version: 2.3.7.2 (3c910f64b) (pkg shipped by: Ubuntu-Desktop 20.04) I want to accomplish 2 things in dovecot: 1: I want to force all mails inside Trash to have an "opened"/"read" flag and "Non-Recent" flag. Basically Status: RO This regardless how the flag appears, either by copying/moving the mail into trash, creating a new mail in trash, flagging email in Trash or whatever. Basically, no email in Trash should ever be able to have a recent or unread flag. I tried with a static mail filter and sieve filter to add \\seen to the email upon COPY (as mentioned here: https://dovecot.org/pipermail/dovecot/2017-November/110122.html ), but regardless how I do it, it doesn't work when Samsung Email client trashes an unread email, AND/OR also, it causes weird issues like duplicate email in the trash folder sometimes. Best would be some event filter that executes for every mail that somehow end up in Trash, that checks if \\seen is present, if not, then it will add it, on all emails in trash? But how I do to prevent the duplicate copy that appears sometimes? 2: I want to prohibit email clients from ever creating a new mail in Sent folder. If its possible to allow MOVE and/or COPY, it should be allowed, only new mail should be prohibited. (also note that external processes must be able to create new mail in Sent) HOWEVER - this prohibition must be silent - ergo the newly created email is simply discarded. No error message or error codes should be returned to IMAP client. (The reason I want this, is because I have configured my outgoing SMTP server to populate Sent, and some email clients doesn't have the option to "Don't store a copy of the email in Sent folder" resulting in duplicates) Best regards, Sebastian Nielsen smime.p7s Description: S/MIME Cryptographic Signature
RE: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new mails
Someone just told me about imapsieve. Sieve rules for folders. I assume that could solve your issue. https://wiki.dovecot.org/HowTo/AntispamWithSieve -Original Message- Sent: 09 May 2020 17:32 To: dovecot@dovecot.org Subject: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new mails Dovecot version: 2.3.7.2 (3c910f64b) (pkg shipped by: Ubuntu-Desktop 20.04) I want to accomplish 2 things in dovecot: 1: I want to force all mails inside Trash to have an "opened"/"read" flag and "Non-Recent" flag. Basically Status: RO This regardless how the flag appears, either by copying/moving the mail into trash, creating a new mail in trash, flagging email in Trash or whatever. Basically, no email in Trash should ever be able to have a recent or unread flag. I tried with a static mail filter and sieve filter to add \\seen to the email upon COPY (as mentioned here: https://dovecot.org/pipermail/dovecot/2017-November/110122.html ), but regardless how I do it, it doesn't work when Samsung Email client trashes an unread email, AND/OR also, it causes weird issues like duplicate email in the trash folder sometimes. Best would be some event filter that executes for every mail that somehow end up in Trash, that checks if \\seen is present, if not, then it will add it, on all emails in trash? But how I do to prevent the duplicate copy that appears sometimes? 2: I want to prohibit email clients from ever creating a new mail in Sent folder. If its possible to allow MOVE and/or COPY, it should be allowed, only new mail should be prohibited. (also note that external processes must be able to create new mail in Sent) HOWEVER - this prohibition must be silent - ergo the newly created email is simply discarded. No error message or error codes should be returned to IMAP client. (The reason I want this, is because I have configured my outgoing SMTP server to populate Sent, and some email clients doesn't have the option to "Don't store a copy of the email in Sent folder" resulting in duplicates) Best regards, Sebastian Nielsen
Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new mails
Dovecot version: 2.3.7.2 (3c910f64b) (pkg shipped by: Ubuntu-Desktop 20.04) I want to accomplish 2 things in dovecot: 1: I want to force all mails inside Trash to have an "opened"/"read" flag and "Non-Recent" flag. Basically Status: RO This regardless how the flag appears, either by copying/moving the mail into trash, creating a new mail in trash, flagging email in Trash or whatever. Basically, no email in Trash should ever be able to have a recent or unread flag. I tried with a static mail filter and sieve filter to add \\seen to the email upon COPY (as mentioned here: https://dovecot.org/pipermail/dovecot/2017-November/110122.html ), but regardless how I do it, it doesn't work when Samsung Email client trashes an unread email, AND/OR also, it causes weird issues like duplicate email in the trash folder sometimes. Best would be some event filter that executes for every mail that somehow end up in Trash, that checks if \\seen is present, if not, then it will add it, on all emails in trash? But how I do to prevent the duplicate copy that appears sometimes? 2: I want to prohibit email clients from ever creating a new mail in Sent folder. If its possible to allow MOVE and/or COPY, it should be allowed, only new mail should be prohibited. (also note that external processes must be able to create new mail in Sent) HOWEVER - this prohibition must be silent - ergo the newly created email is simply discarded. No error message or error codes should be returned to IMAP client. (The reason I want this, is because I have configured my outgoing SMTP server to populate Sent, and some email clients doesn't have the option to "Don't store a copy of the email in Sent folder" resulting in duplicates) Best regards, Sebastian Nielsen smime.p7s Description: S/MIME Cryptographic Signature
Re: ot: copy physical mail files ?
Voytek Eymont wrote: dumb question warning: I have two email accounts, me@tld1 and me@tld2 often, get emails intended (by me) for me@tld2 sent to me@tld1 this is purely for my own preferred record keeping preference, as I run the server, is it 'a really bad things' if I simply copy relevant mail files from /var/vmail/vmail1/tld1/cur to /var/vmail/vmail1/tld2.../cur ? rather than forward emails as I have been doing? thanks I used to move mail files around but now use "doveadm move". You can probably move mail from me@tld1 to me@tld2 with something like: doveadm move -u me@tld2 INBOX user me@tld1 MAILBOX INBOX subject party where party is a string that appears only in the subject line of the emails you want to move. Richard.
converting old uucp buffer files to maildir
Hi *, besides my dovecot maildir structure, that has been migrated from an Exchange server, I have an even older mail structure in an ancient uucp style. The program named CrossPoint I used for this isn't wideley known, but it used so called mpuffer files in a plain text format. It is the program I still use to write for example this mail. I wonder if there already exists a program or script to convert the files from this program to the Dovecot maildir structure or some Howto for writing it myself. The format of these files looks like shown below. Mails are separated by two new lines. < snip snip snip >- EMP: /archiv/net/dovecot^M KOP: ^M OEM: dovecot@dovecot.org^M ABS: ricardomach...@gmail.com (Ricardo Machini Barbosa)^M WAB: dovecot-boun...@dovecot.org^M BET: Header search on Dovecot with SOLR^M ROT: perth.mydomain.de!localhost!perth.hirmke.de!aqua.hirmke.de!elvis.otherdomain.de!rachael.otherdomain.de!talvi.dovecot.org!talvi.dovecot.org!mail-qk1-x72e.google.com!smtp.gmail.com!DESKTOP4CIJMB3^M MID: 078901d61d7e$0964bcd0$1c2e3670$@gmail.com^M EDA: 20200428165659W-03^M LEN: 6112^M MAILER: Microsoft Outlook 16.0^M X-XP-Boundary: =_NextPart_000_078A_01D61D64.E4184820^M MIME-Type: multipart/alternative; boundary="=_NextPart_000_078A_01D61D64.E4184820"^M U-Content-Type: multipart/alternative; boundary="=_NextPart_000_078A_01D61D64.E4184820"^M U-Sender: dovecot-boun...@dovecot.org^M U-Received: from localhost (localhost [127.0.0.1]) by perth.mydomain.de (Postfix) with ESMTP id 245AF862DA8 for <>; Tue, 28 Apr 2020 18:58:11 +0200 (CEST)^M U-Authentication-Results: perth.mydomain.de (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com^M U-Received: from perth.mydomain.de ([127.0.0.1]) by localhost (perth.hirmke.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RVP0-5mmK3XH for <>; Tue, 28 Apr 2020 18:58:09 +0200 (CEST)^M U-Received: from aqua.mydomain.de (aqua.hirmke.de [192.168.1.11]) by perth.hirmke.de (Postfix) with ESMTP id 66A8B862D97 for <>; Tue, 28 Apr 2020 18:58:07 +0200 (CEST)^M U-Received: by aqua.mydomain.de (Postfix, from userid 10) id 56D88506E; Tue, 28 Apr 2020 18:58:07 +0200 (CEST)^M U-Received: from rachael.otherdomain.de ([193.175.24.38]) by elvis.otherdomain.de with esmtp (Exim 3.36 #1) id 1jTTYK-0007WE-00 for ; Tue, 28 Apr 2020 18:57:48 +0200^M U-Received: from talvi.dovecot.org (talvi.dovecot.org [94.237.25.159]) by rachael.otherdomain.de (Postfix) with ESMTPS id 9C19510642C45 for <>; Tue, 28 Apr 2020 18:57:46 +0200 (CEST)^M U-Received: from talvi.dovecot.org (localhost.localdomain [127.0.0.1]) by talvi.dovecot.org (Postfix) with ESMTP id 12ABD2B3C9F; Tue, 28 Apr 2020 19:57:06 +0300 (EEST)^M X-Original-To: dovecot@dovecot.org^M U-Delivered-To: dovecot@dovecot.org^M U-Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by talvi.dovecot.org (Postfix) with ESMTPS id D48EB2B3C6F for ; Tue, 28 Apr 2020 19:57:03 +0300 (EEST)^M U-Received: by mail-qk1-x72e.google.com with SMTP id c63so22534959qke.2 for ; Tue, 28 Apr 2020 09:57:03 -0700 (PDT)^M U-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version:thread-index :content-language; bh=u9iSrDj6VaHxbCoUFYZ7Zp0PHd/EPA66NRtYVeLn0+Q=; b=QUqHsAo0P6JkAidluC5utFcRyQ3AaJXn6GJwM/l+wJE0XM40Ks/0A5uNE16l76pTNU 37Uu5RETZXTMIvyJHkCgJXDVQS5RPep8U0Bw//DMBSC09XMaxVDVu0hVln2UQvNhFkZy 3DvfA1z1HOMmUlVpyYuAVgJa1FUd7VB34jmKmyrB4+0PS39Cbo9+rVZvyKNxHj/z8Kh+ l/ivk5e35L2eq1cUiomqhcus8m7vZ3edA0wEQbU4Z5p3oGBQcGb/5pe3NczjRjJ0oF1q 5OEcIXAxiREMU3DuiYkJCQE28hPMFf10/1/NtGLwlFGdLTseq8LwMM9hY9h8aKmkFAyB Xrvg==^M X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :thread-index:content-language; bh=u9iSrDj6VaHxbCoUFYZ7Zp0PHd/EPA66NRtYVeLn0+Q=; b=VvYSZ0dCKbTlD3JWsIM+c/IvKn4ODGwMBBDIlHSpKHVjLOX3bAQk5NLCdJgsVrHTH3 eX+fCHmwyIgoaa2bMZK45aURu0H/kELwUc4k/ToQ+MLikNLe7J1GEcDeG2R0Mzk6oOCs wX3JHFLfpK0shX+XRLiJju8Xmk+dFnPWZcQKYVEsBsSIG4y4LaOEE9NCCWcUfmlwqXIH CUBJ/xVHAvrA/Tc4krWhLgjR6M0m8pKM+hX0XvlEcQM9aNgFOzVUJDyM0AgW/hWvurNb fPqEgehT3b2YieMUR90+aYHybQddNGb0PSaD33ocmNb4jhNyuQIWx/B2niV/lRhd68Mm 2IaQ==^M X-Gm-Message-State: AGi0Pub1W8n/ZsL3XKsrqZB7wN3LxZgnRvleyGc7wO5LZcvfpihQoI5H tsYQUwckNuvUN4/JneVuDEGcKyPY^M X-Google-Smtp-Source: APiQypIGqpcSdvRH6NE1wbVeWc8EFZqdGP6OWn+bpMR2BCfPfi4m+swvYIadz5cfAuOe3TXSjYk1Jg==^M X-Received: by 2002:a37:9ad0:: with SMTP id c199mr26948945qke.472.1588093022024; Tue, 28 Apr 2020 09:57:02 -0700 (PDT)^M U-Received: from DESKTOP4CIJMB3 ([2804:14c:90:81be:7d50:c076:9537:75cb]) by smtp.gmail.com with ESMTPSA id w42sm14281733qtj.63.2020.04.28.09.57.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2020 09:57:01 -0700 (PDT)^M U-Thread-Index: AdYdffFdO2elBIGpSdyo3M9jdQ9BUQ==^M U-Content-Language: pt-br^M U-Conte
Re: Ms Exchange vs dovecot
Hi Marc, >I have recently been working/testing with exchange 2016 and started >thinking if I should even migrate to this platform. I assume more people >here have experience with exchange and this idea. I was an Exchange admin for years and even had an Exchange server at home for about 20 years - just for fun and for testing purposes. Three months ago I migrated to dovecot and baikal - and dropped Exchange completely. This worked flawless, so *I* don't miss Exchange at all. But: You can't compare dovecot with Exchange, because dovecot is a mail server, Exchange is a groupware server. This is why I added a baikal server to my infrastructure. Baikal is a Cal- and CardDAV server, that can replace the calendar und contact parts of Exchange. Nevertheless you loose many features of an Exchange server after migrating to such a setup, so if your users got used to these feature, it wouldn't be possible to drop Exchange. It is only feasable for small environments with few people or in a new environment, where nobody has used an Exchange Server until now. IMHO. This was not your question, it is meant as background information, if you wouldn't already know that. For your environment I can't tell if it is possible to migrate to Exchange, because you didn't write, if you already have an Active Directory in place, which is necessary for Exchange on premise. If you want to use Microsoft's Azure AD and the Exchange cloud services on top, you have to migrate your users to Azure AD. In any case you need an Active Directory for Exchange server. >I was wondering if this is possible with a dovecot setup > 1. public folder can be implemented with a public mailbox? Yes, but public folders in Exchange are dying for years. They still exist, but are only supported so so. Public mailboxes in dovecot are supported full fledged. > 2. authorize users via groups access to mailboxes/folders of the public >folder/mailbox. I think I saw ACL's with dovecot, does this compare to >'folder permissions' Not really, but I'm not an expert for permissions on public mailboxes. > 3. is it possible with sieve to apply a rule on any mailbox/folder? >Thus if I 'drag' a message to a folder, the sieve rule is activated? You can configure a folder to act on incoming mail in the folder properties. I never tested, though, if "incoming" also applies when copying to a folder. Bye. Michael. -- Michael Hirmke
RE: Ms Exchange vs dovecot
On May 9, 2020 1:21:09 PM GMT+02:00, Marc Roos wrote: > > >I was wondering about the sieve rules, because I thought they were >executed during mail delivery in the lmtp process. You can also 'guess' > >this a bit from syntax of the rules or the single file they are stored >in. Thus if you 'drag' messages between folders, they are not executed. > There is IMAP sieve that can execute a sieve script after an IMAP event. See https://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve > >Off topic: >I know Exchange is a different solution. What I think is stupid, is >that >they store mail in a database still. Making it difficult to scale. (I >wonder if they have such solution in their cloud) Better would be per >user of course. I also do not like that they try and push users to >their >cloud with all this 365 advertising in the on premises solution. Sooner > >or later on premises will be gone. > >Public folder is not removed, they were thinking of it, and community >complained (afaik), so they kept it, still there in 2019. (although >changed) > > > > >-Original Message- >From: MIhai Badici [mailto:mi...@badici.ro] >Sent: 09 May 2020 12:32 >To: dovecot@dovecot.org >Subject: Re: Ms Exchange vs dovecot > >First of all, Exchange is a complete solution. Dovecot is a imap/pop3 >server ( a good one, sure... ) > >So replacing exchange means to find an integrated solution. > >about the questions: public folder was removed in exchange. IMHO they >made the right choice :) > >There is a different thing, need different tools and different client >app. You can create shared mailboxes ( i think it's a little demand for > >that, but yes) > >Sieve rules should work ( never tried actually) > >I can see a need for an integration with folders only when you work >with >webmail (like roundcube) . In this scenario ( a liitle bit like gmail) > >is good to see the folders and attach them ( or save) > >I use the kolab plugins for roundcube and there is a sort of >integration >between the chwala ( files plugin) and any webdav capable file server ( > >I use owncloud/nextcloud). So you can share files, edit etc using >owncloud but also attach them and save them from webmail. You can find >a >lot of plugins in owncloud to deal with files, even editing with >onlyoffice . IMHO, that's the way, there is no need to create a client >app to deal with all; maybe other people will not agree but... > > > >On 5/9/20 1:07 PM, Marc Roos wrote: >> >> My, my, did not expect this discussion. It is our own fault we are >> stuck with google and microsoft monopolies. If small companies would >> combine effort (resources and cash) and would not reinvent/create the > >> wheel constantly on our own little islands, we would have much better > >> products. So respect for the dovecot team. >> >> The reason I am asking is that, the public folder solution is not as >> it was in 2000. Exchange 2016+ do not support CDO etc. Nobody >> transitioned between the two? >> >> 1. public folder can be implemented with a public mailbox? >> >> 2. authorize users via groups access to mailboxes/folders of the >> public folder/mailbox. I think I saw ACL's with dovecot, does this >> compare to 'folder permissions' >> >> 3. is it possible with sieve to apply a rule on any mailbox/folder? >> Thus if I 'drag' a message to a folder, the sieve rule is activated? >> >> -- Christian Kivalo
RE: Ms Exchange vs dovecot
I was wondering about the sieve rules, because I thought they were executed during mail delivery in the lmtp process. You can also 'guess' this a bit from syntax of the rules or the single file they are stored in. Thus if you 'drag' messages between folders, they are not executed. Off topic: I know Exchange is a different solution. What I think is stupid, is that they store mail in a database still. Making it difficult to scale. (I wonder if they have such solution in their cloud) Better would be per user of course. I also do not like that they try and push users to their cloud with all this 365 advertising in the on premises solution. Sooner or later on premises will be gone. Public folder is not removed, they were thinking of it, and community complained (afaik), so they kept it, still there in 2019. (although changed) -Original Message- From: MIhai Badici [mailto:mi...@badici.ro] Sent: 09 May 2020 12:32 To: dovecot@dovecot.org Subject: Re: Ms Exchange vs dovecot First of all, Exchange is a complete solution. Dovecot is a imap/pop3 server ( a good one, sure... ) So replacing exchange means to find an integrated solution. about the questions: public folder was removed in exchange. IMHO they made the right choice :) There is a different thing, need different tools and different client app. You can create shared mailboxes ( i think it's a little demand for that, but yes) Sieve rules should work ( never tried actually) I can see a need for an integration with folders only when you work with webmail (like roundcube) . In this scenario ( a liitle bit like gmail) is good to see the folders and attach them ( or save) I use the kolab plugins for roundcube and there is a sort of integration between the chwala ( files plugin) and any webdav capable file server ( I use owncloud/nextcloud). So you can share files, edit etc using owncloud but also attach them and save them from webmail. You can find a lot of plugins in owncloud to deal with files, even editing with onlyoffice . IMHO, that's the way, there is no need to create a client app to deal with all; maybe other people will not agree but... On 5/9/20 1:07 PM, Marc Roos wrote: > > My, my, did not expect this discussion. It is our own fault we are > stuck with google and microsoft monopolies. If small companies would > combine effort (resources and cash) and would not reinvent/create the > wheel constantly on our own little islands, we would have much better > products. So respect for the dovecot team. > > The reason I am asking is that, the public folder solution is not as > it was in 2000. Exchange 2016+ do not support CDO etc. Nobody > transitioned between the two? > > 1. public folder can be implemented with a public mailbox? > > 2. authorize users via groups access to mailboxes/folders of the > public folder/mailbox. I think I saw ACL's with dovecot, does this > compare to 'folder permissions' > > 3. is it possible with sieve to apply a rule on any mailbox/folder? > Thus if I 'drag' a message to a folder, the sieve rule is activated? > >
Re: Ms Exchange vs dovecot
First of all, Exchange is a complete solution. Dovecot is a imap/pop3 server ( a good one, sure... ) So replacing exchange means to find an integrated solution. about the questions: public folder was removed in exchange. IMHO they made the right choice :) There is a different thing, need different tools and different client app. You can create shared mailboxes ( i think it's a little demand for that, but yes) Sieve rules should work ( never tried actually) I can see a need for an integration with folders only when you work with webmail (like roundcube) . In this scenario ( a liitle bit like gmail) is good to see the folders and attach them ( or save) I use the kolab plugins for roundcube and there is a sort of integration between the chwala ( files plugin) and any webdav capable file server ( I use owncloud/nextcloud). So you can share files, edit etc using owncloud but also attach them and save them from webmail. You can find a lot of plugins in owncloud to deal with files, even editing with onlyoffice . IMHO, that's the way, there is no need to create a client app to deal with all; maybe other people will not agree but... On 5/9/20 1:07 PM, Marc Roos wrote: My, my, did not expect this discussion. It is our own fault we are stuck with google and microsoft monopolies. If small companies would combine effort (resources and cash) and would not reinvent/create the wheel constantly on our own little islands, we would have much better products. So respect for the dovecot team. The reason I am asking is that, the public folder solution is not as it was in 2000. Exchange 2016+ do not support CDO etc. Nobody transitioned between the two? 1. public folder can be implemented with a public mailbox? 2. authorize users via groups access to mailboxes/folders of the public folder/mailbox. I think I saw ACL's with dovecot, does this compare to 'folder permissions' 3. is it possible with sieve to apply a rule on any mailbox/folder? Thus if I 'drag' a message to a folder, the sieve rule is activated?
RE: Ms Exchange vs dovecot
My, my, did not expect this discussion. It is our own fault we are stuck with google and microsoft monopolies. If small companies would combine effort (resources and cash) and would not reinvent/create the wheel constantly on our own little islands, we would have much better products. So respect for the dovecot team. The reason I am asking is that, the public folder solution is not as it was in 2000. Exchange 2016+ do not support CDO etc. Nobody transitioned between the two? 1. public folder can be implemented with a public mailbox? 2. authorize users via groups access to mailboxes/folders of the public folder/mailbox. I think I saw ACL's with dovecot, does this compare to 'folder permissions' 3. is it possible with sieve to apply a rule on any mailbox/folder? Thus if I 'drag' a message to a folder, the sieve rule is activated?
Re: Ms Exchange vs dovecot
On 08 May 2020, at 19:02, Eric Broch wrote: > Microsoft and Bill Gates are like inoperable tumors. Your outdated knee-jerking is entirely off-topic. Please find a political list if you want to continue your screed. -- The way I see it, the longer I put it off, the better it'll end up being. Heck, school doesn't start for another 43 minutes.
Re: What's a Reasonable Inbox Size?
On 08 May 2020, at 12:54, a...@globalchangemusic.org wrote: >> It depends on what you consider reasonable. >> >> The processing time of file operation that iterates through a mailbox >> will generally go up proportinately with size. If you do a text search >> without some indexing system like Solr, it will take a very long time. >> >> If the mailbox is just some archive that you pile up and forget about it >> except for once in a blue moon retrieval, then it might be reasonable. >> >> If it's an active mailbox, it will be a pain to navigate, in the same >> way a single folder with 100K files or a file cabinet with huge stacks >> of envelopes. >> >> I would guess some partioning of the large mailboxes into smaller >> mailboxes would help with active mailboxes. Most people spend most of >> their time on new/recent messages, so making time or size or subject >> based volmes wouldn't be a bad idea. >> >> If the bulk of the size are redundant copies of attachments, then Dovecot's >> *dbox support de-duping which would aso help. > > So, generally speaking, you don't want to have inboxes that just sync all day > long, due to massive amounts of small files in the inbox. This may be OK in > the case of a rarely accessed archive folder, but not good for regularly > accessed inboxes, etc.? Not really since most GUI clients keep all the folders synced, so moving files to different, smaller count mailboxes doesn’t reduce the number of files accessed. The issue is if you have a folder with millions of files in it, most file systems don’t deal well with this. But with mbox, each “folder” is a single file, and making a single multi-GB text file that has to be parsed is a definitely issue on any file system. -- ALL WORK AND NO PLAY MAKES BART A DULL BOY ALL WORK AND NO PLAY MAKES BART A DULL BOY ALL WORK AND NO PLAY MAKES BART A DULL BOY Bart chalkboard Ep. 1F07
Re: Unable to disable TLSv1.3 or fallback to TLSv1.2 when 1 cipher is disabled
On 08 May 2020, at 09:43, Steve Egbert wrote: > I have an operational need to disable TLSv1.3 due to inadequate support to > exclude certain ciphers. There is no need to disable TLSv1.3 and attempts to do so will be flagged as “downgrade attacks”. > Much to my dismay, the `ssl_protocols` had been renamed and re-functionalized > into `ssl_min_protocol`. > > Now, there is no way to exclude a specific group of one or more TLS versions. There is no way to disable a more secure protocol, that is correct. This is how it should be and I am sure this decision was intentional to prevent many many different attack vectors. > I'm still being hammered with the following error with Thunderbird 76.0b3, > Dovecot 2.3.4.1-5+deb10u1, Debian 11: > > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL: where=0x10, ret=1: > before SSL initialization > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL: where=0x2001, ret=1: > before SSL initialization > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1: > before SSL initialization > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL: where=0x2001, ret=1: > before SSL initialization > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL alert: where=0x4008, > ret=582: fatal protocol version > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL: where=0x2002, ret=-1: > error > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL error: SSL_accept() > failed: error:14209102:SSL > routines:tls_early_post_process_client_hello:unsupported protocol > May 8 11:15:47 ns1 dovecot: imap-login: Disconnected (disconnected before > auth was ready, waited 0 secs): user=<>, rip=XX.XX.XX.XX, lip=XX.XX.XX.XX, > TLS handshaking: SSL_accept() failed: error:14209102:SSL > routines:tls_early_post_process_client_hello:unsupported protocol, > session= > May 8 11:15:47 ns1 dovecot: imap-login: Debug: SSL error: SSL_accept() > syscall failed: Invalid argument Thunderbird 76 works fine with dovecot 2.3.10 (I just checked). Not sure what you did to your config or if this was something fixed since 2.3.4 > This occurred when specifying one TLSv1.3 cipher to be excluded in ssl_cipher > via an exclamation mark. If you disable a cipher that causes Tbird to drop from TLSv1.3 to TLSv1.2 this will probably be seen as a downgrade attack. What cipher are you disabling and why? > On a side note of IMAP client, Latest Mozilla Thunderbird had its pref > setting security.tls.version.fallback-limit to 4 (TLSv1.3), of which I have > adjusted it to 3 (TLSv1.2) and it works when Dovecot is set to TLSv1.2. AFAIK you cannot force TLSv1.2 when you have TLSv1.3 available. -- I WILL NOT EXPOSE THE IGNORANCE OF THE FACULTY Bart chalkboard Ep. 8F15
Re: ot: copy physical mail files ?
On 07 May 2020, at 23:15, Voytek Eymont wrote: > hmmm, I use Squirrel web mail, don't have mail client, except on phone > (maybe Android mail client can do...? not sure, must check) Squiirrelmail has been abandoned for many years and hasn’t seen significant updates in about a decade. It does not work well with mobile devices. It is long past time to move on. I moved to Roundcube, but Horde is also good. -- 'An appointment is an engagement to see someone, while a morningstar is a large lump of metal used for viciously crushing skulls. It is important not to confuse the two.’