Re: doveadm backup from gmail with imapc

2020-04-09 Thread Sami Ketola
> On 31 Mar 2020, at 23.18, Ben Mulvihill wrote: > > Hello again, > > I am still stuck I'm afraid. > > I now have doveadm backup working perfectly from > a small gmail mailbox (a few hundred messages), but > when I try the same configuration (apart from usernames > and passwords obviously)

Re: doveadm backup from gmail with imapc

2020-04-09 Thread Sami Ketola
> On 9 Apr 2020, at 4.45, Plutocrat wrote: > > On 08/04/2020 19.14, Ben Mulvihill wrote: >> Thanks for the suggestion. I think my next step will be to investigate >> imapsync, or maybe isync, which also looks promising. > > I've recently migrated a server with imapsync with 150Gb of email

Re: Sieve with links?

2020-04-02 Thread Sami Ketola
> On 2 Apr 2020, at 14.02, @lbutlr wrote: > > On 02 Apr 2020, at 03:48, Aki Tuomi wrote: >> On 2.4.2020 11.07, @lbutlr wrote: >>> Is there any reason that a .active_sieve file would not load because it is >>> a symbolic link? The target of the link is readable by the mail user, but >>>

Re: sieve compile error

2020-04-01 Thread Sami Ketola
Hi, "If personal user scripts also need to directly access external programs, the extensions need to be added to the sieve_extensions setting. " from https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms so is this a

Re: Not able to start dovecot

2020-03-26 Thread Sami Ketola
> On 18 Mar 2020, at 19.55, Adam Raszkiewicz wrote: > > Freshly compiled dovecot 2.3.9.3 on Centos 7 for some reason not able to start > > sudo systemctl status dovecot.service > ● dovecot.service - LSB: Starts the Dovecot POP3/IMAP service >Loaded: loaded (/etc/rc.d/init.d/dovecot; bad;

Re: Question on pop3

2020-03-23 Thread Sami Ketola
> On 22 Mar 2020, at 21.46, ratatouille wrote: > > Hello! > > Email is stored as plain textfile in /var/mail/andreas. I assume this is > mbox-format. > > I get the following in the log telneting to localhost: > > 2020-03-22 20:21:10 imap(andr...@dualbit.de): Error: >

Re: Getting autoexpunge to work

2020-03-17 Thread Sami Ketola
> On 17 Mar 2020, at 16.42, Philip Colmer wrote: > > doveadm fetch -u local-finance-support "mailbox date.saved" UID 37 > > mailbox: INBOX > date.saved: 2020-03-17 14:34:12 > > Why on earth is dovecot showing today's date for that message? What > have I misunderstood or misconfigured?

Re: [EXT] doveadm expunge not expunging anymore

2020-03-17 Thread Sami Ketola
> On 17 Mar 2020, at 17.27, mabi wrote: > > ‐‐‐ Original Message ‐‐‐ > On Tuesday, March 17, 2020 3:57 PM, Sami Ketola > wrote: > >> Since you were migrating dovecot->dovecot I would have just used Dsync. > > Thanks for the hint about dsync

Re: [EXT] Re: doveadm expunge not expunging anymore

2020-03-17 Thread Sami Ketola
> On 17 Mar 2020, at 16.43, mabi wrote: > > ‐‐‐ Original Message ‐‐‐ > On Tuesday, March 17, 2020 3:26 PM, Sami Ketola > wrote: > >> So your rsync did not preserve mail object ctimes. Dovecot uses that for >> internal date if correct value is not in

Re: doveadm expunge not expunging anymore

2020-03-17 Thread Sami Ketola
> On 17 Mar 2020, at 15.40, mabi wrote: > > ‐‐‐ Original Message ‐‐‐ > On Tuesday, March 17, 2020 2:18 PM, Aki Tuomi > wrote: > >> So doveadm fetch -u admin\\@domain.tld "mailbox date.saved" UID 130863 >> >> Aki > > This is the ouput: > > mailbox: INBOX > date.saved: 2020-01-16

Re: how to create Drafts, Junk, Sent, Trash folders after user already created

2020-03-10 Thread Sami Ketola
> On 9 Mar 2020, at 22.59, cha...@afo.net wrote: > > Thanks for the suggestions, but I need to do this after users have been > created. > Would this be the best way? > To run this for each user: > doveadm mailbox create -u $username -s Drafts > doveadm mailbox subscribe -u $username Drafts >

Re: how to create Drafts, Junk, Sent, Trash folders after user already created

2020-03-09 Thread Sami Ketola
> On 9 Mar 2020, at 19.24, Aki Tuomi wrote: > > >> On 09/03/2020 19:22 cha...@afo.net wrote: >> >> >> Hello Dovecot, >> Do to a misconfiguration, I have a bunch of users who do not have the >> standard folders. >> I can create a routine to cycle through the users and look for the folders

Re: [EXT] max number of connections per ip

2020-02-29 Thread Sami Ketola
Hi, dovecot does not make "connections PER folder". it is your MUA that does it. for example Thunderbird is known to open 1 connection per folder. It's a client setting that can be changed. Sami > On 28 Feb 2020, at 18.21, Esteban L wrote: > > Ok. That is a nice command. > > I am able to

Re: How does dovecot determine users from /etc/passwd?

2020-02-17 Thread Sami Ketola
Hi, how about switching to use autoexpunge? https://wiki.dovecot.org/MailboxSettings Sami > On 17 Feb 2020, at 11.01, Philip Colmer wrote: > > We're using dovecot on a help desk ticketing system. The system > doesn't perform any cleanup of IMAP

Re: [v 2.3.4.1][quota] recalculation

2020-02-11 Thread Sami Ketola
Hi, Does thunderbird even delete the mail from storage if you delete it from UI? Most imap clients with default configuration just flag the mail \Deleted but do not actually expunge if from server. In Apple Mail.App that I use there is "Erase Deleted Items" to actually expunge mails previously

Re: Split storage & solr

2020-01-30 Thread Sami Ketola
> On 29 Jan 2020, at 23.37, Daniel Miller wrote: > > Is it possible to setup the following: > > 1. Primary mailserver with SMTP solutions and Dovecot. > 2. Primary server will store recent mails. > 3. Secondary server for archival storage and Solr. > > So I'm not looking for a distributed

Re: imap panic: file array.c: line 10 (array_idx_modifiable_i)

2020-01-28 Thread Sami Ketola
> On 28 Jan 2020, at 10.31, mabi wrote: > > ‐‐‐ Original Message ‐‐‐ > On Tuesday, January 28, 2020 9:06 AM, Sami Ketola > wrote: > >> doveadm does not travel over namespace boundaries. you need to run it >> separately for all namespaces you have wit

Re: imap panic: file array.c: line 10 (array_idx_modifiable_i)

2020-01-28 Thread Sami Ketola
> On 28 Jan 2020, at 9.42, mabi wrote: > > So it looks like it did something but only for the INBOX mailbox. How do I > make force-resync do its job on all mailboxes? doveadm does not travel over namespace boundaries. you need to run it separately for all namespaces you have with

Re: Dovecot authentication through proxy

2020-01-27 Thread Sami Ketola
> On 27 Jan 2020, at 11.56, Daniel Niewerth wrote: > > Hi everybody, > > I run two redundant Dovecot servers with a shared Maildir on a GlusterFS > volume and a SQL authentication backend based on a mirrored MariaDB database. > Because of the splitbrain situation I would like to add two

Re: socket dovecot-lmtp is not created anymore

2020-01-22 Thread Sami Ketola
> On 22 Jan 2020, at 20.59, ratatouille wrote: > > Hello! > > Since experiments on my testserver two days ago > /var/spool/postfix/private/dovecot-lmtp > is not created anymore. > > This the setting in /etc/dovecot/conf.d/10-master.conf > > service lmtp { > unix_listener

Re: Using dsync for a single mailbox?

2020-01-22 Thread Sami Ketola
> On 22 Jan 2020, at 8.37, Wim Lewis wrote: > > On Tue, 21 Jan 2020, Sami Ketola wrote: >> how does dsync fail? How have you tried? Something like this on the new >> server: >> >> doveadm -o imapc_server=remote_ip -o imapc_port=remote_port -o >> imapc

Re: Cached message size smaller than expected

2020-01-21 Thread Sami Ketola
Hi, what dovecot version is this? This looks a lot like bug that was fixed in 2.2.25.5 Sami > On 21 Jan 2020, at 17.59, Asai wrote: > > Greetings, > > Can anyone help me to solve this problem? > > When doveadm sync is running nightly, we have a certain user's mailbox that > will not

Re: Using dsync for a single mailbox?

2020-01-21 Thread Sami Ketola
> On 21 Jan 2020, at 2.02, Wim Lewis wrote: > > Is it possble to use `doveadm sync` to migrate a single mailbox? I'm > migrating accounts from another IMAP server,and most of the mailboxes > are in mbox or maildir format, but a few are in MBX. As far as I can tell > the only recommended way

Re: Authentication per Service

2020-01-18 Thread Sami Ketola
Hi, can't you just check "account_locked" or similar flag in the password_query and user_query on your sql config? Sami > On 18 Jan 2020, at 10.30, Oliver Welter wrote: > > Hi All, > > I use dovecot (v2.3.4) with a SQL backend for user authentication, > passwords are > stored in CRAMMD5

Re: Dovecot HA/Resilience

2020-01-09 Thread Sami Ketola
> On 10 Jan 2020, at 9.20, Emmanuel Dreyfus wrote: > > On Fri, Jan 10, 2020 at 09:07:24AM +0200, Aki Tuomi wrote: >> Replication is not supported with mbox. Most features are not. > > It would be nice if the document about replication could tell > what setup works. First step in setting up

Re: When is a new mail not unseen?

2019-12-23 Thread Sami Ketola
> On 23 Dec 2019, at 11.57, Philip Colmer wrote: > > I'm trying to diagnose a really strange situation where certain emails, when > submitted to the mailbox by Postfix, are not considered to be unseen by > Dovecot. > > During testing, I've shut down anything else on the server that might

Re: Is it safe to mix dovecot import/backup/sync between dovecot versions 2.2.30.2 and 2.3.7.1?

2019-12-22 Thread Sami Ketola
> On 22 Dec 2019, at 12.22, Gerben Wierda wrote: > > I am migrating a server. The old one uses dovecot 2.2.30.2 and the new one > 2.3.7.1. I don’t want to use any tool that might influence flags on messages. > I am using Maildir format on both ends and I have a way to let one server >

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

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 t

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

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
ttribute on the users INBOX'? > > I'm attaching my dovecot configuration file for you to examine. Thanks Sami! > > On 11/04/2019 4:37 PM, Sami Ketola wrote: >> >> >>> On 11 Apr 2019, at 11.00, Pabsky via dovecot >> <mailto:dovecot@dovecot.org>> wrote: >

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

<    1   2   3   4   >