Re: Applying Dovecot for a large / deep folder-hierarchy archive.

2019-06-26 Thread Aki Tuomi via dovecot


On 26.6.2019 22.12, Arnold Opio Oree via dovecot wrote:
> Hello to you all,
>
> I'd like to ask about my intended application of Dovecot to create a 
> folder-hierarchy for storing our enterprise emails, which are treated as live 
> data rather than archives for compliance or occasional / reactive retrieval.
>
> The data is presently not that large (a few gigabytes), but it is expected to 
> grow rapidly. Up to this stage the data has been contained
> in a Microsoft Exchange mailbox (2013), and then in an offline PST. The move 
> to the offline PST was by necessity, as the large number of
> folders, and depth of hierarchy to my best understanding caused the exchange 
> server / outlook / evolution mail clients to begin to
> malfunction. To cope with this the archive was broken up and the bulk stored 
> in the offline PST and the most active components stored in
> online Exchange mailboxes.
>
> I have some understanding of the fs mbox format, and also the mitigations to 
> be made for certain characters / strings. My main concern is whether Dovecot 
> is likely to be able to cope well with a large number of folders / depth of 
> hierarcy.
>
> I will really appreciate any help / advice you can give.
>
> Best regards,
>
> Arnold Opio Oree
>

Hi!

Dovecot 2.2.34/2.3 supports unlimited folder depth, the only limiting
factor is that the total name may not exceed 4096 bytes. Also individual
folder names may not exceed 255 bytes.

Prior to that the limit is 255 per folder up to 16 levels.

I can't recommend using 'mbox' storage format, please consider using
maildir or sdbox instead.

Aki



Applying Dovecot for a large / deep folder-hierarchy archive.

2019-06-26 Thread Arnold Opio Oree via dovecot
Hello to you all,
I'd like to ask about my intended application of Dovecot to create a
folder-hierarchy for storing our enterprise emails, which are treated
as live data rather than archives for compliance or occasional /
reactive retrieval.
The data is presently not that large (a few gigabytes), but it is
expected to grow rapidly. Up to this stage the data has been
containedin a Microsoft Exchange mailbox (2013), and then in an offline
PST. The move to the offline PST was by necessity, as the large number
offolders, and depth of hierarchy to my best understanding caused the
exchange server / outlook / evolution mail clients to begin
tomalfunction. To cope with this the archive was broken up and the bulk
stored in the offline PST and the most active components stored
inonline Exchange mailboxes.
I have some understanding of the fs mbox format, and also the
mitigations to be made for certain characters / strings. My main
concern is whether Dovecot is likely to be able to cope well with a
large number of folders / depth of hierarcy.
I will really appreciate any help / advice you can give.
Best regards,
Arnold Opio OreeChief Executive OfficerParallax Digital Technologies
arnoldo...@parallaxdt.com

http://www.parallaxdt.com

tel : +44 (0) 333 577 8587fax : +44 (0) 20 8711 2477
Parallax Digital Technologies78A Hatfeild MeadLondonSM4 5PF
Parallax Digital Technologies is a trading name of Parallax
GlobalLimited. U.K. Co. No. 08836288
The contents of this e-mail are confidential. If you are not
theintended recipient you are to delete this e-mail immediately,
disregardits contents and disclose them to no other persons.



Re: Problem in doveadm import dovecot 2.2

2019-06-26 Thread @lbutlr via dovecot
On Jun 26, 2019, at 3:40 PM, Alexander Varejão via dovecot 
 wrote:
> I always used dovecot in version 2.0 and in the last month i update my 
> servers to dovecot 2.2 but now i have problems with comand dovecot import, 
> not works for me, bellow i put 2 examples used in my tests in boths cases not 
> works for me.

“Not work:” is not helpful.

Do you have error messages?

Have you run th commands with -Dv flags?

Do you have logs?

Have you posted your doveconf -n?




Problem in doveadm import dovecot 2.2

2019-06-26 Thread Alexander Varejão via dovecot
Dear,
I always used dovecot in version 2.0 and in the last month i update my
servers to dovecot 2.2 but now i have problems with comand dovecot import,
not works for me, bellow i put 2 examples used in my tests in boths cases
not works for me.

Someone already saw some case similar or can help me with this ?

doveadm import -u te...@a.com mdbox:~/mdbox-backup "" mailbox INBOX
from testete...@.com

doveadm import -u te...@xxx.com mdbox:/var/backup/te...@a.com/ "" all

Thanks a Lot
Alexander


Applying Dovecot for a large / deep folder-hierarchy archive.

2019-06-26 Thread Arnold Opio Oree via dovecot
Hello to you all,
I'd like to ask about my intended application of Dovecot to create a
folder-hierarchy for storing our enterprise emails, which are treated
as live data rather than archives for compliance or occasional /
reactive retrieval.
The data is presently not that large (a few gigabytes), but it is
expected to grow rapidly. Up to this stage the data has been
containedin a Microsoft Exchange mailbox (2013), and then in an offline
PST. The move to the offline PST was by necessity, as the large number
offolders, and depth of hierarchy to my best understanding caused the
exchange server / outlook / evolution mail clients to begin
tomalfunction. To cope with this the archive was broken up and the bulk
stored in the offline PST and the most active components stored
inonline Exchange mailboxes.
I have some understanding of the fs mbox format, and also the
mitigations to be made for certain characters / strings. My main
concern is whether Dovecot is likely to be able to cope well with a
large number of folders / depth of hierarcy.
I will really appreciate any help / advice you can give.
Best regards,
Arnold Opio OreeChief Executive OfficerParallax Digital Technologies
arnoldo...@parallaxdt.com

http://www.parallaxdt.com

tel : +44 (0) 333 577 8587fax : +44 (0) 20 8711 2477
Parallax Digital Technologies78A Hatfeild MeadLondonSM4 5PF
Parallax Digital Technologies is a trading name of Parallax
GlobalLimited. U.K. Co. No. 08836288
The contents of this e-mail are confidential. If you are not
theintended recipient you are to delete this e-mail immediately,
disregardits contents and disclose them to no other persons.







RE: LastLogin update

2019-06-26 Thread Jorge Bastos via dovecot
Cool thanks,

 

From: dovecot  On Behalf Of Júlio Covolato via 
dovecot
Sent: 25 de junho de 2019 17:06
To: dovecot@dovecot.org
Subject: Re: LastLogin update

 

 

Em 24/06/2019 18:39, Jorge Bastos via dovecot escreveu:

Hi Julio,
 
Could you share with us your "acl" config for shared folder?
May be interesting for me,
 
Jorge,

 

Hi Jorge.

Currently I'm not using the shared folder.
Maybe you could be interested in this tutorial from iRedmail:

https://docs.iredmail.org/public.folder.html

--
_Engº Julio Cesar Covolato
   0v0 
  /(_)\  F: +55 11 99175-9260
   ^ ^   PSI INTERNET
--

 


 

 

Livre de vírus.  

 www.avast.com. 

 



Re: Emails not visible after renaming folders

2019-06-26 Thread Aleksandr via dovecot
Copying or moving with email client: thunderbird, roundcube (webmail), mutt or 
any other email client via imap protocol.

25.06.2019 22:10, Germán Herrera пишет:
> Are you copying/moving the emails with {cp|mv} or with "doveadm {copy|move}"?
>
> On 2019-06-25 12:00, Aleksandr via dovecot wrote:
>> Hello,
>>
>> I have strange problem with "losing" emails after rename mail
>> folder(s) (via imap client: thunderbird, roundcude, etc..)
>>
>> How to reproduce:
>>
>> 1. Create some folder name, like TEST
>> 2. Create sub-folder under TEST (like SUBTEST)
>>
>> Structure:
>>
>> TEST
>>   |--SUBTEST
>>
>>
>> # doveadm  mailbox list  -u postmaster@testmailbox
>> Spam
>> Trash
>> Sent
>> Drafts
>> INBOX
>> TEST
>> TEST/SUBTEST
>>
>> 3. Move (or copy) mails from INBOX to SUBTEST (all looks fine, and
>> mails visible under SUBTEST)
>> 4. Rename TEST folder to any new name, NEWTEST
>>
>> Let`s try to view mails in mail client in NEWTEST-SUBTEST, folder have
>> no emails :(
>>
>>
>> mailsrv# doveadm -f table mailbox status -u postmaster@testmailbox
>> "messages vsize" NEWTEST*
>> mailbox  messages vsize
>> NEWTEST 0    0
>> NEWTEST/SUBTEST 0    0
>>
>> If doveadm force-resync postmaster@testmailbox, mails will be visible in 
>> INBOX
>>
>> mailsrv# doveadm -f table mailbox status -u postmaster@testmailbox
>> "messages vsize" INBOX*
>> mailbox messages vsize
>> INBOX   2    28
>>
>> Dovecot installation: CentOS x86_64 Linux 7.5.1804
>>
>> Storage: HDD Local Partition - XFS filesystem  / multi-dbox (mdbox) as
>> mail_storage (this problem is not reproduced with the settings as
>> Maildir storage !)
>> somthing wrong with mapping indices.
>>
>>
>>  [start] 
>>
>> # dovecot -n
>>
>> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
>> # Pigeonhole version 0.4.21 (92477967)
>> # OS: Linux 3.10.0-862.2.3.el7.x86_64 x86_64 CentOS Linux release
>> 7.5.1804 (Core)
>> # Hostname: 
>> auth_mechanisms = plain login digest-md5 cram-md5
>> base_dir = /var/run/dovecot/
>> default_client_limit = 2
>> default_login_user = dovecot
>> default_process_limit = 1
>> dict {
>>   quota = redis:host=127.0.0.1:prefix=user/:timeout_msecs=1000
>> }
>> disable_plaintext_auth = no
>> first_valid_gid = 90
>> first_valid_uid = 90
>> imapc_features = rfc822.size fetch-headers
>> imapc_host = 
>> imapc_user = %u
>> lda_mailbox_autocreate = yes
>> lda_mailbox_autosubscribe = yes
>> login_greeting = .
>> login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
>> login_trusted_networks = 10.0.1.0/24
>> mail_access_groups = mail
>> mail_debug = yes
>> mail_fsync = never
>> mail_gid = 97
>> mail_location =
>> mdbox:~/mail/mailboxes:FULLDIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control:INBOX=~/mail/mailboxes/inbox
>> mail_log_prefix = "%{session} %Us(%u): "
>> mail_max_lock_timeout = 30 secs
>> mail_plugins = quota  zlib
>> mail_prefetch_count = 20
>> mail_privileged_group = mail
>> mail_uid = 97
>> managesieve_notify_capability = mailto
>> managesieve_sieve_capability = fileinto reject envelope
>> encoded-character vacation subaddress comparator-i;ascii-numeric
>> relational regex imap4flags copy include variables enotify environment
>> mailbox date index ihave duplicate mime foreverypart extracttext
>> vacation-seconds editheader
>> mbox_lock_timeout = 30 secs
>> mbox_very_dirty_syncs = yes
>> mbox_write_locks = fcntl
>> namespace inbox {
>>   inbox = yes
>>   list = yes
>>   location =
>>   mailbox Drafts {
>>     auto = subscribe
>>     special_use = \Drafts
>>   }
>>   mailbox Sent {
>>     auto = subscribe
>>     special_use = \Sent
>>   }
>>   mailbox Spam {
>>     auto = subscribe
>>   }
>>   mailbox Trash {
>>     auto = subscribe
>>     special_use = \Trash
>>   }
>>   prefix =
>>   separator = /
>>   type = private
>> }
>> passdb {
>>   args = /etc/dovecot/dovecot-ldap.conf
>>   driver = ldap
>> }
>> plugin {
>>   cgroup_basedir = /usr/sys/cgroup
>>   hostingAccount = default
>>   quota = dict:User quota::proxy::quota
>>   quota_grace = 0%%
>>   quota_over_flag_value = TRUE
>>   quota_over_script = account-quota mismatch %u
>>   quota_rule = *:storage=4T
>>   quota_warning = storage=101%% account-quota block %u
>>   quota_warning1 = -storage=100%% account-quota unblock %u
>>   sieve = file:~/sieve;active=~/.dovecot.sieve
>>   sieve_before = /home/sieve/%d/
>>   sieve_extensions = +editheader +vacation-seconds -body
>>   sieve_max_redirects = 200
>>   sieve_vacation_min_period = 1s
>>   trash_folder = Trash
>>   zlib_save = lz4
>>   zlib_save_level = 6
>> }
>> pop3_delete_type = expunge
>> protocols = imap pop3 sieve
>> service account-quota {
>>   executable = script /usr/local/scripts/account-quota
>>   unix_listener account-quota {
>>     mode = 0666
>>     user = dovecot
>>   }
>>   user = dovecot
>> }
>> service anvil {
>>   chroot = /var/empty
>>   client_limit = 0
>>   drop_priv_before_exec = no
>>   executable = anvil
>>   extra_groups =
>>   group = $default_internal_u