Re: dovecot expunge

2019-12-05 Thread Sami Ketola via dovecot
Hi, doveadm expunge -u uid mailbox folder uid 123 Sami > On 5 Dec 2019, at 12.18, soumitri--- via dovecot wrote: > > Hi, > > Do we have expunge command by UID. I have some duplicate messages (same > Message-ID but different UID) to be deleted. > > doveadm search gives me folder GUID and

Re: Dovecot 2.3.8 - How to force index creation for user/mailbox?

2019-12-04 Thread Sami Ketola via dovecot
> On 4 Dec 2019, at 17.15, Tomek Lutelmowski via dovecot > wrote: > > Someone who have mailbox in different directory than indexes, can confirm if > doveadm can recreate index (after deleting dovecot.index* files) or these > files can be created only by connecting with IMAP client? >

Re: Dovecot 2.3.8 - How to force index creation for user/mailbox?

2019-12-04 Thread Sami Ketola via dovecot
> On 4 Dec 2019, at 11.48, Tomek Lutelmowski via dovecot > wrote: > > mail_location = maildir:~ > can't spot anything obvious wrong. Just spotted that you are storing mails in users home root along with all other files such as index files. Maybe you should store the mailbox contents into

Re: Can't see a specific mail in thunderbird but with mobile mail client

2019-12-04 Thread Sami Ketola via dovecot
^@^@��2�%+^@^@^@^@���$+^@^@^@^@%+^@^@^@^@HV��� > 1575451333.497661 ^@^@^@HVX^Zƃ3Y^A^@^@^@����HV^Dۃ�^@^@^@^@���0A^OJK,A > ^@^@^@���0�^F%^@^@^@�� > > > Am 04.12.19 um 09:49 schrieb Sami Ketola via dovecot: >> Hi, >> >> please record IMAP rawlog from the c

Re: Can't see a specific mail in thunderbird but with mobile mail client

2019-12-04 Thread Sami Ketola via dovecot
Hi, please record IMAP rawlog from the client session to see what the client requests and what dovecot responds. https://wiki2.dovecot.org/Debugging/Rawlog Sami > On 4 Dec 2019, at 10.44, J. Echter via dovecot wrote: > > > Am 03.12.19 um 12:32

Re: Dovecot 2.3.8 - How to force index creation for user/mailbox?

2019-12-03 Thread Sami Ketola via dovecot
Hi, then please post doveconf -n Sami > On 3 Dec 2019, at 21.31, Tomek Lutelmowski via dovecot > wrote: > > Neither of dovecot.index files are created (.cache, .log, .thread) - these > files are created when I open the folder with IMAP client. When mailbox is > not used for long time, the

Re: About "received" header when using Dovecot proxy

2019-12-02 Thread Sami Ketola via dovecot
> On 2 Dec 2019, at 19.23, Tom Sommer via dovecot wrote: > > > On 2019-12-02 13:42, Riku via dovecot wrote: >> Hello. >> My name is Riku. >> Currently, I use Dovecot as a proxy for another SMTP server. >> However, this seems to cause the IP address of the "received" header >> to be that of

Re: Fast searching from android device with Dovecot/Maildir

2019-12-02 Thread Sami Ketola via dovecot
Hi, you probably need to set up some kind of FTS backend and index your mails. See https://doc.dovecot.org/configuration_manual/fts/ Sami > On 1 Dec 2019, at 23.18, John Gateley via dovecot wrote: > > Hello, > > I am using dovecot as an

Re: IMAP Migration Tools

2019-11-28 Thread Sami Ketola via dovecot
> On 28 Nov 2019, at 17.47, Julian Kippels via dovecot > wrote: > > Hi, > > I am looking for tools to migrate Mails from one IMAP-Server to > another. Until now I have always used imapsync, but it seems very > slow. Even over a 2x10GB/s connection I only get speeds of about > 600KiB/s,

Re: Virtual folder auto creation

2019-11-21 Thread Sami Ketola via dovecot
> On 22 Nov 2019, at 0.03, sergio via dovecot wrote: > > On 21/11/2019 10:59, Sami Ketola via dovecot wrote: > > >> Return the virtual folder settings from userdb for only the selected users. >> Or return hidden = yes variable for those that you wish not to see i

Re: Virtual folder auto creation

2019-11-21 Thread Sami Ketola via dovecot
> On 21 Nov 2019, at 4.32, sergio via dovecot wrote: > > > After switching on Virtual Plugin and configuring it as specified on > https://doc.dovecot.org/configuration_manual/virtual_plugin/ > > the virtual folder is created for each user. > > Is it possible do not creater virtual folder

Re: proxy dual server setup clarification

2019-11-12 Thread Sami Ketola via dovecot
> On 12 Nov 2019, at 16.03, Marc Roos via dovecot wrote: > > > > > I want to migrate mail users to a new environment. > > If I setup a new server next to the old server, and enable proxy on > both. Is this then enough to migrate user by user with the passdb > host=newsvr option to the

Re: Dovecot mangesieve proxy - internal failure

2019-11-06 Thread Sami Ketola via dovecot
Also those variables can't be returned from passdb as they are needed pre-auth. Sami > On 6 Nov 2019, at 16.51, Aki Tuomi via dovecot wrote: > > You are hardcoding the port. I'm pretty sure your managesieve is not > listening on 143 =) > > Aki > >> On 06/11/2019 16:46 telsch via dovecot

Re: sievec *.sieve problem.

2019-11-05 Thread Sami Ketola via dovecot
> On 5 Nov 2019, at 9.53, Reio Remma via dovecot wrote: > > Hello! > > For the second time I've tripped onto this banana peel. :) > > I had 2 sieve files in a directory that I wanted to compile: > > sievec *.sieve > > The result of this is that first.sieve is compiled into second.sieve

Re: Dovecot HSM

2019-10-31 Thread Sami Ketola via dovecot
> On 30 Oct 2019, at 23.09, Júlio Covolato via dovecot > wrote: > > Hi. > > I'm looking for a tutorial/how-to for a HSM (Hierarchical Storage > Management). keeping old messages for a user in a cheap storage and recent > messages in a faster one. > > I see on dovecot2 wiki an alternative

Re: Home Directory Creation

2019-10-04 Thread Sami Ketola via dovecot
> On 4 Oct 2019, at 0.47, Asai via dovecot wrote: > > One thing Timo mentioned in this post > (https://dovecot.org/list/dovecot/2013-May/090397.html) is: "You could also > change your new user creation to trigger mkdiring the user's home." > > Does anyone know where I can find any

Re: UNSEEN flag issues with multiple clients

2019-10-03 Thread Sami Ketola via dovecot
> On 2 Oct 2019, at 17.01, John Stoffel > wrote: > To look at all the mailboxes on the server and see how many RECENT > mails there are. For the postfix-users list, I see that there are 6 > recent messages. And if I do the list of mailboxes command again, it > returns

Re: UNSEEN flag issues with multiple clients

2019-10-02 Thread Sami Ketola via dovecot
> On 1 Oct 2019, at 21.45, John Stoffel via dovecot wrote: > > > Hi all, > > I've been bugged by this issue for a while, and while I see that the > \UNSEEN flag is specified in the RFC to be reset once *any* client > connects and looks at a mailbox, I was wondering if there's a way to >

Re: Mailbox INBOX sync: mailbox_delete failed

2019-10-01 Thread Sami Ketola via dovecot
> On 1 Oct 2019, at 12.20, Alex La via dovecot wrote: > > Hi. > > When I run the backup I always get this error. > > ``` > [r...@mail.domain.com:~]# doveadm -o mail_fsync=never backup -D -R -u > off...@domain.com imapc: > > dsync(off...@domain.com): Info: imapc(imap.mailbox.org:993):

Re: Migration

2019-10-01 Thread Sami Ketola via dovecot
> On 1 Oct 2019, at 11.29, Alex La via dovecot wrote: > > Am 30.12.18 um 10:53 schrieb Sami Ketola: >> >>> On 29 Dec 2018, at 23.49, Hans Brage wrote: >>> >>> Hi! >>> >>> I'm currently running an small imap-server on Dovecot 2.2.4 but will retire >>> that server. I've set up an new server

Re: courier to dovecot migration

2019-10-01 Thread Sami Ketola via dovecot
> On 30 Sep 2019, at 14.07, tovises via dovecot wrote: > Tath's help! But something still missing :( > > $ sudo doveadm -D -o imapc_user=tovis -o imapc_password= -o > imapc_host=nusi -R -u tovis imapc: > > Exited with messages (excerption - too many private information exposed): > >

Re: courier to dovecot migration

2019-09-30 Thread Sami Ketola via dovecot
> On 30 Sep 2019, at 13.13, tovises via dovecot wrote: >> > WOW! - amazing quickly, I'm really grateful. > > I was using: -u tovis imapc: nusi but still something wrong. > Patstebin: https://pastebin.com/tH4wzJka > The most relevant part (I think) is: > dsync-local(tovis): Error:

Re: dsync having problems with @-sign in mailbox names

2019-09-28 Thread Sami Ketola via dovecot
> On 28 Sep 2019, at 12.55, Sami Ketola wrote: > > > >> On 28 Sep 2019, at 12.52, Philip Iezzi via dovecot >> wrote: >>> >>> Hi Sami, >>> >>> Thanks for your support. I have tried the following... >>> Added this to conf.d/20-imap.conf: >>> >>> protocol imap { >>> rawlog_dir =

Re: dsync having problems with @-sign in mailbox names

2019-09-28 Thread Sami Ketola via dovecot
> On 28 Sep 2019, at 12.52, Philip Iezzi via dovecot > wrote: >> >> Hi Sami, >> >> Thanks for your support. I have tried the following... >> Added this to conf.d/20-imap.conf: >> >> protocol imap { >> rawlog_dir = /tmp/rawlog/%u >> } just add setting imapc_rawlog_dir=/path/to/%u and

Re: dsync having problems with @-sign in mailbox names

2019-09-28 Thread Sami Ketola via dovecot
> On 28 Sep 2019, at 12.21, Philip Iezzi via dovecot > wrote: > > Hi there > > We are running Cyrus-to-Dovecot migrations using dsync on destination Dovecot > server (Debian Stretch / latest Dovecot 2.3.7.2 from community repo) like > this: > > $ doveadm -o mail_fsync=never backup -R -u

Re: Mail received but not indexed?

2019-09-27 Thread Sami Ketola via dovecot
> On 27 Sep 2019, at 16.38, Marc Roos via dovecot wrote: > > You recommend I should change this? I have already a new setup where I > am using[0]. But the current setup I have now was ok for many many > years. > > [0] > FEATURE(`local_lmtp',`[IPC]',`FILE /var/run/dovecot/lmtp')dnl Using

Re: Mail received but not indexed?

2019-09-27 Thread Sami Ketola via dovecot
> On 27 Sep 2019, at 16.06, Marc Roos via dovecot wrote: > CentOS Linux release 7.6.1810 (Core) > dovecot-2.2.36-3.el7.x86_64 > mail_location = > mbox:~/mail:INBOX=/var/spool/mail/%u:CONTROL=~/mail/control:INDEX=/var/d > ovecot2/%u/index:LAYOUT=maildir++ How do you deliver the emails then?

Re: Dovecot UIDs and POP.

2019-09-25 Thread Sami Ketola via dovecot
> On 25 Sep 2019, at 15.14, Ionel via dovecot wrote: > > > > On 25.09.19 12:29, Sami Ketola via dovecot wrote: >> >> >>> On 25 Sep 2019, at 4.52, Plutocrat via dovecot wrote: >>> >>> On 24/09/2019 10:14 PM, @lbutlr via dovecot wr

Re: Dovecot UIDs and POP.

2019-09-25 Thread Sami Ketola via dovecot
> On 25 Sep 2019, at 4.52, Plutocrat via dovecot wrote: > > On 24/09/2019 10:14 PM, @lbutlr via dovecot wrote: >> Did the target machine already have the user setup? I think dsync wants to >> sync mailboxes between configured and working servers with users already >> defined. > > Yes, of

Re: Dovecot UIDs and POP.

2019-09-24 Thread Sami Ketola via dovecot
> On 24 Sep 2019, at 17.14, @lbutlr via dovecot wrote: > > On Sep 22, 2019, at 11:20 PM, Plutocrat wrote: >> doveadm sync -u > > Did the target machine already have the user setup? I think dsync wants to > sync mailboxes between configured and working servers with users already > defined.

Re: Spam Blocking by filtering on username / id

2019-09-24 Thread Sami Ketola via dovecot
> On 23 Sep 2019, at 8.29, Plutocrat via dovecot wrote: > > This is probably quite an easy question, but I haven't been able to find the > answer. I'm running a server where all the email addresses are in the format > "u...@domain.com". I've noticed that a large number of fake login attempts

Re: Dovecot UIDs and POP.

2019-09-23 Thread Sami Ketola via dovecot
> On 23 Sep 2019, at 8.20, Plutocrat via dovecot wrote: > > The command I used was > doveadm sync -u t...@domain.com ssh -i id_rsa -o "StrictHostKeyChecking=no" > admin@100.110.120.130 > > I tried a few options to tell it where to put the mail, but dovecot on the > target server didn't

Re: Imaptest stall

2019-09-18 Thread Sami Ketola via dovecot
> On 18 Sep 2019, at 0.29, Marc Roos via dovecot wrote: > > I am also testing rbox plugin ;) So I would like just the imaptest tool > to work. No one else ever run into this? I saw something similar on the > mailing list a long time ago. Yes I saw this in my rbox testing long time ago. I

Re: Gnu sieve vs Dovecot sieve-filter - sieve-filter extremely slow at lda (writing emails to local mbox files)

2019-09-12 Thread Sami Ketola via dovecot
Don't use mbox. It is very slow format when mails need to be deleted from the middle. Basically rewriting the whole mbox file each time. Use sdbox instead. Sami > On 12 Sep 2019, at 9.57, Zenaan Harkness via dovecot > wrote: > > I am wondering why sieve-filter is so slow compared to gnu

Re: [Bug] Sieve vacation :addresses match only case-sensitive?

2019-09-09 Thread Sami Ketola via dovecot
> On 9 Sep 2019, at 16.17, Philipp Faeustlin via dovecot > wrote: > >>It is not recommended to rely on local-part case, but it is indeed >>case-sensitive. >>And this is to avoid such issues that postfix supports address >>cleanup/canonicalisation before forwarding mails to

Re: Different passdb backends for different services

2019-09-05 Thread Sami Ketola via dovecot
> On 4 Sep 2019, at 19.32, R.N.S. via dovecot wrote: > > > So now all passdbs are inside protocol. Which is not what I said. > > Errors: > > - > Sep 4 18:25:19 mx dovecot: auth: Fatal: No passdbs specified in >

Re: Different passdb backends for different services

2019-09-04 Thread Sami Ketola via dovecot
> On 4 Sep 2019, at 16.38, R.N.S. via dovecot wrote: >> >> passdb { >> args = /etc/dovecot/master-users >> driver = passwd-file >> master = yes >> pass = yes >> } >> passdb { >> args = /etc/dovecot/dovecot-ldap.conf.ext >> driver = ldap >> } >> ... >> protocol sieve { >> passdb { >> args

Re: Different passdb backends for different services

2019-09-04 Thread Sami Ketola via dovecot
> On 3 Sep 2019, at 19.08, R.N.S. via dovecot wrote: > > I tried this, but I have done something wrong probably. > > I added this to 20-imap 20-pop 20-managesieve and 20-submission. Always in > the protocol sections. I also disabled the passdb section from the > auth-ldap.conf.ext in

Re: Dovecot and Apple's Mail.app not playing nicely?

2019-09-03 Thread Sami Ketola via dovecot
> On 3 Sep 2019, at 15.30, Coy Hile via dovecot wrote: > > Hi all, > > Is there anything cute one has to take into account when using Dovecot with > users of Apple’s Mail.app? > Behavior I’m seeing is that if I delete or move messages via Webmail > (Roundcube, Horde, or even ActiveSync >

Re: dsync and altpath on shared storage.

2019-09-03 Thread Sami Ketola via dovecot
> On 3 Sep 2019, at 15.34, Peter Mogensen via dovecot > wrote: > > > > On 9/2/19 3:03 PM, Sami Ketola wrote: >>> On 2 Sep 2019, at 15.25, Peter Mogensen via dovecot >>> wrote: > ... >>> Is there anyway for dsync to avoid moving Gigabytes of data for could >>> just be "moved" by moving

Re: Different passdb backends for different services

2019-09-03 Thread Sami Ketola via dovecot
> On 3 Sep 2019, at 11.07, R.N.S. via dovecot wrote: > > Hi, > > as Dovecot supports submission, which is the sending direction, I am > interested to know, if I can configure a separate passdb backend just for > submission. > > I habe LDAP attributes that differ sending or receiving

Re: dsync and altpath on shared storage.

2019-09-02 Thread Sami Ketola via dovecot
> On 2 Sep 2019, at 15.25, Peter Mogensen via dovecot > wrote: > > Hi, > > I was wondering... > > If one had mdbox ALT path set to a shared storage mount (say, on NFS) > and one wanted to move a mailbox to a different host... I guess it in > principle wouldn't be necessary to copy all the

Re: Dovecot 2.3.7 - char "-" missing

2019-09-02 Thread Sami Ketola via dovecot
> On 30 Aug 2019, at 13.44, Domenico Pastore via dovecot > wrote: > > Hello, > > i have update dovecot from version 2.2.15 to 2.3.7.2. > I have a problem with mine java software because there is a different > response when open connection to doveadm. > > I need open socket to doveadm for

Re: CVE-2019-11500: Critical vulnerability in Dovecot and Pigeonhole

2019-09-02 Thread Sami Ketola via dovecot
> On 2 Sep 2019, at 11.01, MK via dovecot wrote: > > Good Morning List, > > just a short question to this vulnerability. We are using a setup with > dovecot redirector/proxy frontend servers > and some backend server, which store the mailboxes. > Is it anough to update the frontend servers

Re: download Dovecot

2019-08-29 Thread Sami Ketola via dovecot
Hi, Maybe it is just better for you to install it with homebrew? First install homebrew from https://brew.sh/ and then dovecot with 'brew install dovecot' Sami > On 29 Aug 2019, at 15.53, Miquel Demur via dovecot > wrote: > > I have downloaded in MacMini MacOS X

Re: Solr, Dovecot & macOS / iOS

2019-08-13 Thread Sami Ketola via dovecot
> On 13 Aug 2019, at 15.37, Jean-Daniel via dovecot wrote: > > > >> Le 13 août 2019 à 14:16, Sami Ketola via dovecot a >> écrit : >> >> >> >>> On 13 Aug 2019, at 14.58, James Brown via dovecot >>> wrote: >>> &g

Re: Solr, Dovecot & macOS / iOS

2019-08-13 Thread Sami Ketola via dovecot
> On 13 Aug 2019, at 14.58, James Brown via dovecot wrote: > > I’m thinking of getting Solr working with my Dovecot server. Server is new > 6-core Mac Mini, mail store of over 1/2 TB. Mailboxes with 100s of thousands > of messages. > > But I’m not sure if: > > a) it will make enough of a

Re: Autoexpunge not working for Junk?

2019-08-12 Thread Sami Ketola via dovecot
> On 10 Aug 2019, at 3.15, @lbutlr via dovecot wrote: > > On 8 Aug 2019, at 13:03, Amir Caspi wrote: >> IMHO the setting should apply regardless of protocol, but is that actually >> the case in practice? > > It seems to be broken. > > I have > > namespace inbox { > inbox = yes > location

Re: Dovecot replication and userdb "noreplicate".

2019-08-07 Thread Sami Ketola via dovecot
> On 6 Aug 2019, at 23.52, Reio Remma via dovecot wrote: > > service doveadm { > user = vmail > } > > This seems to have fixed it. Here's hoping for no unforeseen side-effects. :) > > I still need allow dovecot_t ssh_exec_t:file { execute execute_no_trans open > read }; for selinux,

Re: Question about replication

2019-08-02 Thread Sami Ketola via dovecot
> On 2 Aug 2019, at 15.21, Coy Hile wrote: > >> On Aug 2, 2019, at 7:57 AM, Sami Ketola via dovecot >> wrote: >> >> Sounds like you do not want to do replication but migration. >> >> In this case migration can be easily done by using doveadm d

Re: Question about replication

2019-08-02 Thread Sami Ketola via dovecot
> On 2 Aug 2019, at 14.52, Coy Hile via dovecot wrote: > > Good morning, > > > I’m looking at dovecot replication for the first time for a particular use > case: The VM running dovecot is currently in a public cloud, and I want to > move it on-premises, so I want to replicate all mail

Re: Solved Re: doveadm: Error: open(/proc/self/io) failed

2019-08-01 Thread Sami Ketola via dovecot
> On 1 Aug 2019, at 1.51, Tom Diehl via dovecot wrote: > > Actually the above works OK but you gave me the clue I needed to > find the actual problem. I looked at the log message again and > realized that it says doveadm is having problems. > Something like this: > Jul 22 12:52:04 vmail2

Re: doveadm: Error: open(/proc/self/io) failed

2019-07-31 Thread Sami Ketola via dovecot
> On 30 Jul 2019, at 22.53, Tom Diehl via dovecot wrote: > > On Tue, 30 Jul 2019, Reio Remma via dovecot wrote: > >> On 30.07.2019 20:07, Tom Diehl via dovecot wrote: >>> >>> Does anyone have an Idea how to fix this? >> >> Perhaps see if there are any denials in SELinux audit log: > >

Re: Help with IMAP IDLE

2019-07-28 Thread Sami Ketola via dovecot
> On 27 Jul 2019, at 13.15, Jorge Bastos via dovecot > wrote: > > Guys, > > I just discovered the reason! > > When i migrated the account from the old imap server to the new (dovecot), i > didn't removed and created the account in msoutlook, as i didn't saw any > reason to do it. >

Re: doveadm migration to server with no root access

2019-07-26 Thread Sami Ketola via dovecot
Hi, most likely no. You need to ask the admin of the server to do the migration. Sami > On 26 Jul 2019, at 17.11, jon rose via dovecot wrote: > > Hi Sami > > Thanks for your response. > > Is it then possible to run doveadm without root permission? I've tried, but > get the following errors

Re: doveadm migration to server with no root access

2019-07-26 Thread Sami Ketola via dovecot
Hi, you can't migrate by pushing to imapc: or pop3c: host. It's not supported and in fact is not even possible without losing data. you need to pull the mails by running doveadm on the new server. Sami > On 26 Jul 2019, at 16.13, jon rose via dovecot wrote: > > Hi > > I am trying to do

Re: Help with IMAP IDLE

2019-07-22 Thread Sami Ketola via dovecot
> On 22 Jul 2019, at 12.45, Jorge Bastos via dovecot > wrote: > > On Jul 21, 2019, at 11:50, Jorge Bastos via dovecot > wrote: >> SSL/TLS is done via Stunnel > >> Dirst, others have asked but I haven’t seen an answer, do you have any >> reason to think Outlook supports IMAP idle at all?

Re: Dovecot behind Load Balancer

2019-07-10 Thread Sami Ketola via dovecot
> On 10 Jul 2019, at 11.24, Paolo Daniele via dovecot > wrote: > > connections are coming from the ip address of load balancer (also checked > with a netstat -an) > I know that thunderbird has this problem and i haven't problem since the > numbers of email domain increase. > I'm not sure

Re: mail_replica equivalent to replicator_host/replicator_port

2019-07-03 Thread Sami Ketola via dovecot
> On 3 Jul 2019, at 18.25, Laura Smith via dovecot wrote: > > Silly question but regarding https://wiki.dovecot.org/Replication, is the > mail_replica parameter shown in the docs equivalent to replicator_host and > replicator_port in 2.3.3 ? > > 2.3.3 doesn't seem to like the mail_replica

Re: mdbox to Maildir

2019-06-19 Thread Sami Ketola via dovecot
> On 19 Jun 2019, at 5.05, Adam Raszkiewicz wrote: > > I saw that before but there is only maildir -> mdbox but not mdbox -> maildir > Did I have missed anything there? There is no direct example on how to do just that but you can use your brain and modify the mbox -> maildir example a bit.

Re: mdbox to Maildir

2019-06-18 Thread Sami Ketola via dovecot
> On 18 Jun 2019, at 16.59, Odhiambo Washington via dovecot > wrote: > > > > On Tue, 18 Jun 2019 at 01:35, Ralph Seichter via dovecot > wrote: > * Odhiambo Washington via dovecot: > > > Is it possible? How do I do it for ALL mailboxes? > > This has been asked

Re: MultiMaster dsync (cluster1 cluster2 cluster3)

2019-06-14 Thread Sami Ketola via dovecot
> On 14 Jun 2019, at 13.04, Matthew Brown via dovecot > wrote: > > Will MultiMaster dsync work fine or will be big problems ? > > I configured dovecot to dsync > from serv1 to serv2 to serv3 and repeat to serv1 to serv2 to serv3 and > repeat... > > When email received to serv2, it will be

Re: Dovecot director: show user breakdown by director?

2019-06-14 Thread Sami Ketola via dovecot
> On 13 Jun 2019, at 20.15, Eirik Rye via dovecot wrote: > Is there a way in Dovecot to see which (or even how many) users are connected > to a specific director without having to count TCP connections? # ps aux | grep imap-login dovenull 3200 0.0 0.0 44676 3376 ?SApr16

Re: Outlook renames Junk folder

2019-06-13 Thread Sami Ketola via dovecot
> On 12 Jun 2019, at 23.01, Cliff Hayes via dovecot wrote: > > Hello, > > Some versions of Outlook will randomly rename the Junk folder to Junk Email. > > This of course causes errors because Dovecot can no longer store junk. > > I go in to Outlook for each user and add another Junk folder,

Re: mail_max_userip_connections

2019-05-29 Thread Sami Ketola via dovecot
> On 29 May 2019, at 4.40, hfh--- via dovecot wrote: > > mail_max_userip_connections > Can I set up an ip whitelist list, and the ip in this whitelist is > unrestricted? thanks!!! mail_max_userip_connections is not enforced for login_trusted_networks Sami

Re: Workaround for infinite loop in XCLIENT command bug

2019-05-24 Thread Sami Ketola via dovecot
> On 24 May 2019, at 12.22, mabi via dovecot wrote: > > ‐‐‐ Original Message ‐‐‐ > On Friday, May 24, 2019 10:40 AM, Aki Tuomi via dovecot > wrote: > >> Try setting login_trusted_networks= > > Thank you Aki for your answer. Unfortunately on my Dovecot mailbox backend > servers I

Re: Merging existing mailboxes to aliases

2019-05-19 Thread Sami Ketola via dovecot
> On 19 May 2019, at 7.08, Lefteris Tsintjelis via dovecot > wrote: > > I am trying to merge all, existing or not, different mailboxes in one with > the mailbox alias plugin. If I add the following lines, will the existing > mailboxes automatically merge in one mailbox and corresponding

Re: doveadm sync issues (revised)

2019-05-09 Thread Sami Ketola via dovecot
> On 9 May 2019, at 23.47, Sven Strickroth via dovecot > wrote: > > Hi, > > I'm experiencing serious issues using doveadm sync; mails are not > replicating and/or mails are duplicating. I wanted to use this for > migrating external mailboxes to my server (in order to overcome the time >

Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-30 Thread Sami Ketola via dovecot
> On 30 Apr 2019, at 4.56, Zhang Huangbin via dovecot > wrote: > > Dear all, > > We use `allow_nets`[1] to restrict login clients, it works fine. > Recently we need to allow some users to login from everywhere except some > IP/networks, how can we accomplish this with "allow_nets"? > >

Re: Extended logging / moved mails jumping back

2019-04-19 Thread Sami Ketola via dovecot
> On 19 Apr 2019, at 20.04, Martin Müller via dovecot > wrote: > > 2019-04-19 18:53:54 imap-login: Info: Login: user= >, method=PLAIN, rip=80.75.xx.35, > lip=136.xxx.9.172, mpid=28364, TLS, session= > > All 4 different MUAs Thunderbird are logged in the same way.

Re: Lua Push Notification Plugin

2019-04-11 Thread Sami Ketola via dovecot
Hi, doveadm mailbox metadata get -u victim INBOX /private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify or doveadm mailbox metadata set if you are not using appsuite as your mail frontend then you need to set the metadata manually or make sure that your mail frontend

Re: Lua Push Notification Plugin

2019-04-11 Thread Sami Ketola via dovecot
> On 11 Apr 2019, at 11.00, Pabsky via dovecot wrote: > > Thanks AKI! I'm a step closer to achieving my goals. > > However, I'm getting a new error as indicated from below: > > Apr 11 01:45:34 lmtp(u...@mydomain.com > )<20801>: Debug: > push-notification-ox:

Re: doveadm backup + ISO 8859-1 mailbox name

2019-04-04 Thread Sami Ketola via dovecot
> On 4 Apr 2019, at 11.03, Michael Goth via dovecot wrote: > > That too includes the byte in its output. But I've found that only a > couple of mailboxes are affected, so i just renamed the folders. > > Thanks for your help! The legacy server is then not RFC 3501 compliant. 8-bit folder

Re: doveadm backup + ISO 8859-1 mailbox name

2019-04-03 Thread Sami Ketola via dovecot
> On 3 Apr 2019, at 13.40, Michael Goth via dovecot wrote: > > Hi! > > I'm trying to migrate a mailbox from an old IMAP server (not Dovecot) to a > new Dovecot server with 'doveadm backup'. The command fails because of an > unexpected character in a mailbox name: > > > doveadm -o

Re: CentOS Repository broken ?

2019-03-31 Thread Sami Ketola via dovecot
Hi, remove package yum-plugin-priorities. I think it installs by default now and makes yum to prioritise base repo over any other repo. or.. can also configure the plugin to prioritise dovecot repo over base. Sami > On 31 Mar 2019, at 16.01, Günther J. Niederwimmer via dovecot > wrote: >

Re: v2.2.27 Panic: file rfc822-parser.h: line 23 (rfc822_parser_deinit): assertion failed: (ctx->data <= ctx->end)

2019-03-28 Thread Sami Ketola via dovecot
> On 28 Mar 2019, at 1.08, Jason Lewis via dovecot wrote: > > Thanks Timo. > > Given the age of these dovecot packages, and this being on debian > oldstable, what should we do next? I'm inclined to just delete the email > in question and move on. > https://repo.dovecot.org/

Re: Maildir permissions issue with Postfix

2019-03-28 Thread Sami Ketola via dovecot
> On 27 Mar 2019, at 17.03, Randall R. Sargent via dovecot > wrote: > > Hi all, > > We have a Postfix server that serves as an alias MTA to route to other mail > systems. I’ve recently installed Dovecot on it because we have three service > accounts that need simple POP3 mailboxes. I have

Re: quota-service with Director - A workaround

2019-03-23 Thread Sami Ketola via dovecot
> On 23 Mar 2019, at 14.28, Tom Sommer via dovecot wrote: > > On 2019-03-21 10:28, Sami Ketola via dovecot wrote: >>> On 20 Mar 2019, at 18.17, Tom Sommer via dovecot >>> wrote: >>> On 2019-03-20 16:40, Sami Ketola via dovecot wrote: >>>>&g

Re: quota-service with Director - A workaround

2019-03-21 Thread Sami Ketola via dovecot
> On 20 Mar 2019, at 18.17, Tom Sommer via dovecot wrote: > > > On 2019-03-20 16:40, Sami Ketola via dovecot wrote: > >>> On 20 Mar 2019, at 17.13, Tom Sommer via dovecot >>> wrote: >>> I realize quota-service on Director is not supported,

Re: imap ---- LIST "" * The returned mailbox does not display quotes

2019-03-21 Thread Sami Ketola via dovecot
> On 21 Mar 2019, at 10.08, lty via dovecot wrote: > > > Yes, > Foxmail for mac client, after dovecot upgrade from 2.1.17 to new version, > imap can't receive any email, I perform packet capture test, foxmail will not > have next step after sending {LIST "" *} command action. > > Foxmail

Re: quota-service with Director - A workaround

2019-03-20 Thread Sami Ketola via dovecot
> On 20 Mar 2019, at 17.13, Tom Sommer via dovecot wrote: > > I realize quota-service on Director is not supported, which is a shame. > > As a workaround I'm thinking of setting up quota-service on one of my backend > nodes, and have all my Postfix services ask this one node for the quota >

Re: Upgrade from 2.1.17 2.2.36

2019-03-19 Thread Sami Ketola via dovecot
> On 19 Mar 2019, at 10.26, lty via dovecot wrote: > > Thank you for your reply > > > But I tested it in dovecot v2.1.17, imap can receive mail normally. > I want to ask if the returned data can be removed after the [ LIST "" * ] > command? > Or can you remove some parameters? > > I also

Re: Upgrade from 2.1.17 2.2.36

2019-03-19 Thread Sami Ketola via dovecot
> On 19 Mar 2019, at 3.31, lty via dovecot wrote: > > I use the MAC Foxmail client, v2.2.36 can't receive mail, but v2.1.17 can > receive mail. > I grabbed the network package and found that Foxmail was not processing the > next step after sending the D LIST "" * command. > I suspect that

Re: quota_max_mail_size no tips

2019-03-05 Thread Sami Ketola via dovecot
Do you have the quota plugin loaded? Sami > On 4 Mar 2019, at 11.46, 默认 via dovecot wrote: > > > When the link dovecot imports the message, after the rejection, there is no > prompt in the log. > > I want to get the prompt log of the import failure, what should I do? > >> >>

Re: index problems after update

2019-02-21 Thread Sami Ketola via dovecot
> On 21 Feb 2019, at 12.23, Hajo Locke via dovecot wrote: > I think mbox+procmail is a classic setup and wide used and good solution for > many usecases. Same setup we use many years. > We run ~2 mio mailboxes. our automated systems depends on this setup. > creating mailboxes, managing

Re: Assistance with doveadm backup...

2019-02-20 Thread Sami Ketola via dovecot
> On 21 Feb 2019, at 7.04, SH Development via dovecot > wrote: > > Not really. The suggestions in the post seemed to be: > > 1. Tar the whole directory, which I have tried in the past, but a 130G > directory takes over 18 hours to tar. > 2. It was also suggested to rsync the directory,

Re: Error sending email from client

2019-02-18 Thread Sami Ketola via dovecot
> On 18 Feb 2019, at 15.29, Latin Bishop via dovecot > wrote: > > Here is error when sending > Feb 18 08:24:27 pepino dovecot: imap-login: Login: user=, method=PLAIN, > rip=127.0.0.1, lip=127.0.1.1, mpid=5297, TLS, session=<1gQ/CyuChpB/AAAB> > Feb 18 08:24:28 pepino dovecot: imap(pi):

Re: Error configuring unix_listener stats-writer

2019-02-18 Thread Sami Ketola via dovecot
> On 18 Feb 2019, at 13.12, Peter Nabbefeld via dovecot > wrote: > > > > Am 18.02.19 um 11:34 schrieb Sami Ketola: >> >>> On 18 Feb 2019, at 12.15, Peter Nabbefeld wrote: >>> >>> >>> >>> Am 17.02.19 um 18:27 schrieb Sami Ketola: Easy way is to use just one config file. That is

Re: Error configuring unix_listener stats-writer

2019-02-18 Thread Sami Ketola via dovecot
> On 18 Feb 2019, at 12.15, Peter Nabbefeld wrote: > > > > Am 17.02.19 um 18:27 schrieb Sami Ketola: >>> >> >> Easy way is to use just one config file. That is what I have done for years. >> >> Sami >> >> > I'd preferred that, too, but it seems the 'modern' way - and I don't want to >

Re: Error configuring unix_listener stats-writer

2019-02-18 Thread Sami Ketola via dovecot
On 17 Feb 2019, at 11.47, Peter Nabbefeld via dovecot wrote:Is there any tool displaying an "effective" config tree (i.e., a tool displaying the resulting configuration from every file, displaying the original file and line number)? "dovecot -a" only displays all configurations, but without

Re: Archive maildir

2019-02-13 Thread Sami Ketola via dovecot
> On 13 Feb 2019, at 11.22, Gandalf Corvotempesta via dovecot > wrote: > > Hi to all > We have a maildir with about 180GB of emails. > We have to archive them to a structure like: .Archive.YYY./MM.folder > > Are you aware of a script doing this ? I've found a perl script that > doesn't spit

Re: Dovecot v2.2.36.1 released

2019-02-05 Thread Sami Ketola via dovecot
Hi, It's probably because gmail. They refuse emails for random reasons occasionally. Sami > On 5 Feb 2019, at 17.06, Larry Rosenman wrote: > > for some reason Aki's posts are not making it to my GMail account from this > list. > > Any idea why? > > On Tue, Feb 5, 2019 at 10:04 AM Eric