Re: Containerize dovecot?

2021-08-24 Thread MRob
Thank to other responses with links that i'll learning from! Thanks you very much On 2021-08-24 00:35, Marc wrote: What are you trying to achieve with containerizing? hmm, easy deployment & scaling? also reslient against hardware crashes, etc. You have to take into account that your

Containerize dovecot?

2021-08-24 Thread MRob
Hello, anyone here has containerized dovecot? Can I ask general advice and experience please? are there any recommended articles/tutorial for containerize deploymnt and auto-scaling? Thank you.

Director vs Proxy

2021-08-24 Thread MRob
Hello, I understand director is like coordinated state database for the proxies. Is it like a special lookup resource for Dovecot proxy? If correct, makes sense proxies and directors should be deployed in pairs. But few places the docs talk about maybe different number of directors v. proxies

Re: Massive /tmp files

2021-01-22 Thread MRob
On 2021-01-22 16:02, @lbutlr wrote: On 21 Jan 2021, at 18:08, MRob wrote: Hello, I just found user who has single folder (standard maildir format) that filled with over 8mil files and 800GB in the /tmp subdirectory of that folder: Are they real files or hard links? They are files

Massive /tmp files

2021-01-21 Thread MRob
Hello, I just found user who has single folder (standard maildir format) that filled with over 8mil files and 800GB in the /tmp subdirectory of that folder: /email/domain/username/.Folder/tmp The files in there are normal maildir email files. I think the dir ran out of inode space so its

Re: MailCrypt plugin questions

2019-05-23 Thread MRob via dovecot
1. If I want per-user encryption am I correct I should configure global keys with all related settings override in the userdb lookup? 2. If I do not want to encrypt some user accounts, is it enough to omit the mail_crypt_global_private_key from the userdb lookup? In other word, mail_plugins

MailCrypt plugin questions

2019-05-23 Thread MRob via dovecot
I read the mailcrypt plugin document on the wiki and had couple questions. 1. If I want per-user encryption am I correct I should configure global keys with all related settings override in the userdb lookup? 2. If I do not want to encrypt some user accounts, is it enough to omit the

Re: How to get original recipient from Postfix when using LMTP?

2019-05-22 Thread MRob via dovecot
On 2019-05-22 08:18, Tuomo Soini via dovecot wrote: On Tue, 21 May 2019 18:24:46 + MRob via dovecot wrote: Many people prefer to use LMTP for delivery from postfix for better efficiency but X-Original-to header support still missing after many years. One affect of this is need to set

How to get original recipient from Postfix when using LMTP?

2019-05-21 Thread MRob via dovecot
Many people prefer to use LMTP for delivery from postfix for better efficiency but X-Original-to header support still missing after many years. One affect of this is need to set sieve_vacation_dont_check_recipient = yes which violate Sieve standard and cause auto-replyies sent to messages that

Do we need ssl_dh_parameters_length in version 2.3

2019-05-18 Thread MRob via dovecot
Hi, I couldn't really find documentation about ssl_dh_parameters_length except for mention in passing on the page https://wiki2.dovecot.org/SSL/DovecotConfiguration For version 2.3 and above is that setting necessary? If so what are the values I can use, is setting it high like 4096

Re: How to auto-subscribe to virtual namespace/prefix?

2019-05-08 Thread MRob via dovecot
one solution that work is put a mailbox into the parent namespace like: mailbox "Virtual/" { auto = subscribe } nothing in the "namespace myvirt" would work. On 2019-05-08 21:02, MRob via dovecot wrote: FYI in subscription file for namespace I see empty line when

Re: How to auto-subscribe to virtual namespace/prefix?

2019-05-08 Thread MRob via dovecot
FYI in subscription file for namespace I see empty line when the top level prefix is subscribed. Works perfectly just need to make it automatic On 2019-05-08 20:50, MRob via dovecot wrote: In virtual namespace I can have: namespace myvirt { location = blah prefix=Virtual/ separator

How to auto-subscribe to virtual namespace/prefix?

2019-05-08 Thread MRob via dovecot
In virtual namespace I can have: namespace myvirt { location = blah prefix=Virtual/ separator=/ mailbox "My folder" { auto = subscribe } } And i see email clients successful display subscribed "My folder" but the top-level prefix "Virtual/" is not subscribed. I see the Virtual/

Re: dynamic virtual mailboxes?

2019-05-05 Thread MRob via dovecot
On 2019-05-05 02:37, Daniel Miller via dovecot wrote: On 5/3/2019 11:22 AM, MRob via dovecot wrote:> That is not dynamically generated and it isn't limited to just one mailbox (dovecot terminology here is confusing, normally a mailbox is a mail account (user), but in this context "ma

Re: dynamic virtual mailboxes?

2019-05-03 Thread MRob via dovecot
On 2019-05-03 16:03, Daniel Miller via dovecot wrote: On 5/2/2019 12:47 PM, MRob via dovecot wrote: hi, I spent time learning about virtual mailboxes. Is there some way to create dynamic virtual mailboxes? I mean, when I look at a mailbox, I want to see only unread messages or flagged messages

Re: Understanding virtual mailboxes (examples in 15-mailboxes.conf)

2019-05-03 Thread MRob via dovecot
On 2019-05-01 22:14, Daniel Miller via dovecot wrote: On 4/30/2019 11:13 PM, MRob via dovecot wrote: The examples in 15-mailboxes.conf # If you have a virtual "All messages" mailbox:   #mailbox virtual/All {   #  special_use = \All   #  comment = All my messages   #}   # I

dynamic virtual mailboxes?

2019-05-02 Thread MRob via dovecot
hi, I spent time learning about virtual mailboxes. Is there some way to create dynamic virtual mailboxes? I mean, when I look at a mailbox, I want to see only unread messages or flagged messages in that mailbox.

Understanding virtual mailboxes (examples in 15-mailboxes.conf)

2019-05-01 Thread MRob via dovecot
The examples in 15-mailboxes.conf # If you have a virtual "All messages" mailbox: #mailbox virtual/All { # special_use = \All # comment = All my messages #} # If you have a virtual "Flagged" mailbox: #mailbox virtual/Flagged { # special_use = \Flagged # comment = All my

Re: Multi-dbox storage space

2019-02-03 Thread MRob
On 2019-02-03 21:12, Philon wrote: On 03 Feb 2019, at 22:07, MRob wrote: Hi, I originally picked mdbox because I had the impression from reading about it on the mailing list that it was more performant and that it would conserve disc space. But lately i found mailboxes have nearly double

Multi-dbox storage space

2019-02-03 Thread MRob
Hi, I originally picked mdbox because I had the impression from reading about it on the mailing list that it was more performant and that it would conserve disc space. But lately i found mailboxes have nearly double the storage as reported. I mean, IMAP QUOTA reports around 900MB for one

Re: Is possible to override Dovecot variables or Sieve env vars and extdata lookups

2018-03-19 Thread MRob
On 2018-03-19 06:31, Aki Tuomi wrote: On 19.03.2018 06:40, MRob wrote: Are the dovecot environment variables mutable? I'd like to override like: set "${env.vnd.dovecot.username}" "someu...@example.org" Or better, I prefer to override %u Dovecot variable during the userd

Is possible to override Dovecot variables or Sieve env vars and extdata lookups

2018-03-18 Thread MRob
Are the dovecot environment variables mutable? I'd like to override like: set "${env.vnd.dovecot.username}" "someu...@example.org" Or better, I prefer to override %u Dovecot variable during the userdb lookup. Is either possible? PS, when Sieve does extdata lookups for username key, where

Re: Plugin charset_alias

2018-03-05 Thread MRob
On 2018-03-02 09:57, Teemu Huovila wrote: On 02.03.2018 09:38, MRob wrote: On 2018-03-01 22:59, John Woods wrote: Hey Everyone,     We are getting a compile error for Dovecot 2.2.34 on Solaris 11.3 x86, using Solaris Studio 12.6 compiler, and it doesn't occur with Dovecot 2.2.33. Making all

Re: Plugin charset_alias

2018-03-01 Thread MRob
On 2018-03-01 22:59, John Woods wrote: Hey Everyone, We are getting a compile error for Dovecot 2.2.34 on Solaris 11.3 x86, using Solaris Studio 12.6 compiler, and it doesn't occur with Dovecot 2.2.33. Making all in charset-alias Can someone easily explain what the usage of this plugin

doveadm mailbox delete: Wrong docs or bug?

2018-02-09 Thread MRob
Uh?? doveadm mailbox delete -u myuser -r -s foldername mailbox: invalid option -- 'r' Docs say -r is recursive. So how do I delete recursive mailbox?? https://wiki2.dovecot.org/Tools/Doveadm/Mailbox

Detect port number of SASL AUTH request?

2017-11-15 Thread MRob
Hi, this is partly Postfix related, but I want to know if there could be way to distinguish port of the SASL AUTH request to segregate user services. Currently I use unix listener for dovecot sasl auth, but could change to inet_listener. Only way I can think is to have different SASL AUTH

Re: IMAPSieve Changed flags cause?

2017-04-08 Thread MRob
On 2017-04-08 01:21, Stephan Bosch wrote: Op 4/8/2017 om 10:08 AM schreef MRob: On 2017-04-08 01:03, Stephan Bosch wrote: Op 4/7/2017 om 7:29 PM schreef MRob: On 2017-04-05 18:50, MRob wrote: RFC 6785 says I should be able to run scripts when a command changes flags on a message but I can't

Re: IMAPSieve Changed flags cause?

2017-04-07 Thread MRob
On 2017-04-05 18:50, MRob wrote: RFC 6785 says I should be able to run scripts when a command changes flags on a message but I can't understand what to put in imapsieve_mailboxXXX_causes. Dovecot logs something like STORE as an invalid cause. How do I run an administrator Sieve script caused

IMAPSieve Changed flags cause?

2017-04-05 Thread MRob
RFC 6785 says I should be able to run scripts when a command changes flags on a message but I can't understand what to put in imapsieve_mailboxXXX_causes. Dovecot logs something like STORE as an invalid cause. How do I run an administrator Sieve script caused from change in flags?

Re: Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]

2017-03-14 Thread MRob
On 2017-03-14 01:52, Aki Tuomi wrote: On 14.03.2017 05:57, MRob wrote: On 2017-03-13 13:40, Aki Tuomi wrote: On 2017-03-13 19:31, MRob wrote: On 2017-03-10 23:28, MRob wrote: On 2017-03-10 23:22, Christian Kivalo wrote: Am 11. März 2017 08:04:28 MEZ schrieb MRob <mro...@insiberia.net>

Re: Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]

2017-03-13 Thread MRob
On 2017-03-13 13:40, Aki Tuomi wrote: On 2017-03-13 19:31, MRob wrote: On 2017-03-10 23:28, MRob wrote: On 2017-03-10 23:22, Christian Kivalo wrote: Am 11. März 2017 08:04:28 MEZ schrieb MRob <mro...@insiberia.net>: We have a need for some users to have an additional folder c

Re: Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]

2017-03-13 Thread MRob
On 2017-03-10 23:28, MRob wrote: On 2017-03-10 23:22, Christian Kivalo wrote: Am 11. März 2017 08:04:28 MEZ schrieb MRob <mro...@insiberia.net>: We have a need for some users to have an additional folder created and subscribed for them. Is is possible to return an override for the d

Re: Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]

2017-03-11 Thread MRob
On 2017-03-10 23:28, MRob wrote: On 2017-03-10 23:22, Christian Kivalo wrote: Am 11. März 2017 08:04:28 MEZ schrieb MRob <mro...@insiberia.net>: We have a need for some users to have an additional folder created and subscribed for them. Is is possible to return an override for the d

Re: Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]

2017-03-10 Thread MRob
On 2017-03-10 23:22, Christian Kivalo wrote: Am 11. März 2017 08:04:28 MEZ schrieb MRob <mro...@insiberia.net>: We have a need for some users to have an additional folder created and subscribed for them. Is is possible to return an override for the default "namespace inbox&q

Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]

2017-03-10 Thread MRob
We have a need for some users to have an additional folder created and subscribed for them. Is is possible to return an override for the default "namespace inbox" containing the needed mailbox definitions in the userdb lookup for such users? If so, how would the userdb lookup result be

Re: Users with extra mailbox: namespace/mailbox in userdb lookup?

2017-01-30 Thread MRob
Thank you so much Steffen On 2017-01-30 00:35, Steffen Kaiser wrote:

Users with extra mailbox: namespace/mailbox in userdb lookup?

2017-01-27 Thread MRob
Hello, We have a need for some users to have an additional folder created and subscribed for them. Is is possible to return an override for the default "namespace inbox" containing the needed mailbox definitions in the userdb lookup for such users? If so, how would the userdb lookup result

Re: LMTP delivery honours .forward by default?

2016-12-05 Thread MRob
On 2016-12-05 16:37, MRob wrote: On 2016-12-05 05:53, MRob wrote: On 2016-12-04 23:18, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Dec 2016, MRob wrote: I was under the impression that Dovecot does not look at .forward by default, since of course, Sieve

Re: LMTP delivery honours .forward by default?

2016-12-05 Thread MRob
On 2016-12-05 05:53, MRob wrote: On 2016-12-04 23:18, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Dec 2016, MRob wrote: I was under the impression that Dovecot does not look at .forward by default, since of course, Sieve is where that kind of logic should

Re: COPY vs APPEND for imapsieve?

2016-12-05 Thread MRob
On 2016-12-05 06:16, Stephan Bosch wrote: Op 5-12-2016 om 14:36 schreef MRob: The examples on the imapsieve documentation page use COPY but not APPEND to watch messages coming into a folder. Are there not circumstances that a client would APPEND a message to a folder instead of COPY

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 15:29, MRob wrote: On 2016-12-05 15:26, Stephan Bosch wrote: Op 12/6/2016 om 12:23 AM schreef MRob: I don't know how I managed to compile only using direct access of ${imap.user} before since now I get an unknown namespace error on my test script. But doing it this way

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 15:26, Stephan Bosch wrote: Op 12/6/2016 om 12:23 AM schreef MRob: I don't know how I managed to compile only using direct access of ${imap.user} before since now I get an unknown namespace error on my test script. But doing it this way compiles: require ["enviro

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
I don't know how I managed to compile only using direct access of ${imap.user} before since now I get an unknown namespace error on my test script. But doing it this way compiles: require ["environment", "variables", "vnd.dovecot.debug"]; if environment :matches "imap.user" "*" { set "u"

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 07:22, Stephan Bosch wrote: Op 5-12-2016 om 16:10 schreef MRob: On 2016-12-05 06:13, Stephan Bosch wrote: Op 5-12-2016 om 14:32 schreef MRob: Could you show me your full script? I am mainly interested in the require statements involved. I don't know how I managed to compile

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 06:13, Stephan Bosch wrote: Op 5-12-2016 om 14:32 schreef MRob: On 2016-12-05 04:38, Stephan Bosch wrote: Op 5-12-2016 om 13:28 schreef MRob: RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try

Re: doveadm edit headers?

2016-12-05 Thread MRob
On 2016-12-05 00:02, Aki Tuomi wrote: On 05.12.2016 09:43, Steffen Kaiser wrote: On Mon, 5 Dec 2016, Aki Tuomi wrote: > On 05.12.2016 09:34, Steffen Kaiser wrote: >> On Sun, 4 Dec 2016, MRob wrote: >> >>> Hello, is there a way to edit a message header using doveadm? >

Re: LMTP delivery honours .forward by default?

2016-12-05 Thread MRob
On 2016-12-04 23:18, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Dec 2016, MRob wrote: I was under the impression that Dovecot does not look at .forward by default, since of course, Sieve is where that kind of logic should go. However, I'm seeing a .forward

Re: v2.2.27 released

2016-12-05 Thread MRob
On 2016-12-04 12:06, Stephan Bosch wrote: Op 12/4/2016 om 11:42 AM schreef Alexey Asemov (Alex/AT): Thanks a lot for indexing fixes, Dovecot team. Any news for Pigeonhole? Currently had to rollup some commits from GIT to make it pass vacation test set with 2.2.27. What problem are you

COPY vs APPEND for imapsieve?

2016-12-05 Thread MRob
The examples on the imapsieve documentation page use COPY but not APPEND to watch messages coming into a folder. Are there not circumstances that a client would APPEND a message to a folder instead of COPY? Is APPEND only used by most clients for adding a sent message to the sent folder? I'm

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 04:38, Stephan Bosch wrote: Op 5-12-2016 om 13:28 schreef MRob: RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are they not implemented because vnd.dovecot.environment already provides

imapsieve environment variables missing?

2016-12-05 Thread MRob
RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are they not implemented because vnd.dovecot.environment already provides the username? (which does work for me) If imap.user and imap.email are there, can you

Show pigeonhole version?

2016-12-04 Thread MRob
How can I query the current pigeonhole version from a running instance to verify it is what I expect? Possible to get `dovecot --version` to show things like that?

doveadm edit headers?

2016-12-04 Thread MRob
Hello, is there a way to edit a message header using doveadm? I see how I can fetch the things I need, but even if I can't edit in place; if I extract the full message, edit it, there doesn't seem to be a way to append it back again?

LMTP delivery honours .forward by default?

2016-12-02 Thread MRob
I was under the impression that Dovecot does not look at .forward by default, since of course, Sieve is where that kind of logic should go. However, I'm seeing a .forward file being honoured by the LMTP delivery agent. Is this to be expected?