Re: best file system ?

2014-12-01 Thread Sami Ketola
On 01 Dec 2014, at 18:24, absolutely_f...@libero.it wrote: Hi, I'm going to set up a new storage for our email users (about 10k). It's a network attached storage (Coraid). In your opinion, what is the best file system for mail server (pop3/imap/webmail) purpose? Depends on what OS you

Re: NFSv4 delegation

2015-08-18 Thread Sami Ketola
Hi, Just out of curiosity what is in nfsv4 delegation that you think would give a benefit on your configuration? If I read back the thread you seem to have dovecot configured with director ring in front of the backends. In that case Dovecot already manages storage in a way that only one of

Re: migration from zimbra to dovecot

2015-10-22 Thread Sami Ketola
> On 21 Oct 2015, at 20:13, micah wrote: > Are there any migration scripts to handle UID conversion for moving from > a zimbra setup to dovecot? It would be nice to move all the mail without > having re-download it all! Depends on what is the imap backend behind Zimbra or if

Re: v2.2.20 release candidate released

2015-12-04 Thread Sami Ketola
> On 04 Dec 2015, at 11:41, James wrote: > > pigeonhole src/lib-sieve/sieve-settings.c line 13 says: > // FIXME: add to dovecot > > Looks like it's added to dovecot but not removed from pigeonhole. > Stephan will soon release pigeonhole 0.4.10rc for dovecot 2.2.20 that will

Re: v2.2.20 release candidate released

2015-12-04 Thread Sami Ketola
> On 04 Dec 2015, at 11:41, James wrote: > > pigeonhole src/lib-sieve/sieve-settings.c line 13 says: > // FIXME: add to dovecot > > Looks like it's added to dovecot but not removed from pigeonhole. > Stephan will soon release pigeonhole 0.4.10rc for dovecot 2.2.20 that will

Re: Problems Converting from Cyrus to Dovecot (cyrus2dovecot)

2015-11-26 Thread Sami Ketola
Hi, With imapsync you will lose message UIDs which means that IMAP clients need to clear their local caches and redownload all messages. Why not use dovecot dsync over imapc instead? It tries to preserve UIDs and Flags. http://wiki2.dovecot.org/Migration Sami > On 07 Nov 2015, at 23:35,

Re: Problems Converting from Cyrus to Dovecot (cyrus2dovecot)

2015-11-26 Thread Sami Ketola
c is a very appealing and elegant solution to this usage, but it > does not always work in real world. > > Regards, > Emmanuel > > Le 26/11/2015 12:30, Sami Ketola a écrit : >> Hi, >> >> With imapsync you will lose message UIDs which means that IMAP clients need &

Re: nginx proxy to dovecot servers

2016-06-03 Thread Sami Ketola
> On 02 Jun 2016, at 23:07, KT Walrus wrote: > > I’m trying to understand how the nginx mail proxy and dovecot work. > > As a I understand it, nginx can listen on a IP:port for IMAP connections. > NGINX then can invoke a PHP script to do authorization and backend server >

Re: dsync: INBOX Can't be deleted

2016-01-23 Thread Sami Ketola
On 23/01/16 15:33, Robert Schetterer wrote: for multiple advanced imap settings at migration you might use imapsync not dsync Best Regards MfG Robert Schetterer Sure but imapsync does not preserve message UID's which means that users end up redownloading all their messages or message/UID

Re: dsync: INBOX Can't be deleted

2016-01-23 Thread Sami Ketola
On 23/01/16 11:30, Christoph Adomeit wrote: Hi, I am Migrating an old cyrus mailserver to dovecot. in the old cyrus Mailserver all User Mailboxes are sub-mailboxes of their INBOX. I have to preserve that structure. During Migration with dsync I get these Errors: Error: Mailbox INBOX sync:

Re: dsync: INBOX Can't be deleted

2016-01-24 Thread Sami Ketola
On 24/01/16 11:38, Robert Schetterer wrote: Am 23.01.2016 um 23:27 schrieb Sami Ketola: On 23/01/16 15:33, Robert Schetterer wrote: for multiple advanced imap settings at migration you might use imapsync not dsync Best Regards MfG Robert Schetterer Sure but imapsync does not preserve

Re: ot: data consumption IMAP vs POP

2016-01-27 Thread Sami Ketola
On 27/01/16 04:35, voy...@sbt.net.au wrote: I have a domain with about 50 mailboxes, server is located here in AUS but most of the users are on a LAN is SEAsia location. They were using POP (with Thunderbird), I suggested then can use IMAP instead, so they did. now they are asking; "Looks

Re: any news Enterprise Repository Access?

2016-07-26 Thread Sami Ketola
> On 26 Jul 2016, at 09:18, Götz Reinicke - IT Koordinator > wrote: > > Hi, > we had access to the repository and it was working fine. But as we cant > get the 2.2.25 update I was looking into the repofolders and there are > RPMs "just" for RHEL 6// but not 5

Re: Scaling to 10 Million IMAP sessions on a single server

2017-02-22 Thread Sami Ketola
> On 22 Feb 2017, at 6.12, Christian Balzer wrote: > > On Tue, 21 Feb 2017 09:49:39 -0500 KT Walrus wrote: > >> I just read this blog: >> https://mrotaru.wordpress.com/2013/10/10/scaling-to-12-million-concurrent-connections-how-migratorydata-did-it/ >> >>

Re: Director+NFS Experiences

2017-02-27 Thread Sami Ketola
> On 24 Feb 2017, at 21.28, Mark Moseley wrote: > Attached. No claims are made on the quality of my code :) > With recent dovecots you probably should not use set_host_weight( server, '0’ ) to mark backend down but instead should use director commands HOST-DOWN and

Re: initd script does not stop/restart all dovecot processes

2016-09-02 Thread Sami Ketola
> On 01 Sep 2016, at 17:25, Florent B wrote: > > Hi everyone, > > On Debian Jessie servers, I use initd script provided by Dovecot 2.2 (in > doc/dovecot-initd.sh) and when I stop or restart dovecot service, it > still remains some process : > > ps aux | grep dove >

Re: Reporting on CephFS being ready to use with Dovecot

2016-08-18 Thread Sami Ketola
Hi, > On 17 Aug 2016, at 23:29, Daniel van Ham Colchete > wrote: > My setup involves two clusters, each with about 30k-40k users. Each cluster > will have two HD storages (with 6TB HDs), two SSD storages (with Intel > 480GB SSDs) and two frontends. In a few months

Re: Change dovecot hostname

2016-08-23 Thread Sami Ketola
Hi, Looking at the source code it seems that the fqdn used in the lmtp received headers is fetched from environment variable DOVECOT_HOSTDOMAIN and if that is not defined gethostbyname() is used. You can try setting that prior launching dovecot. Sami > On 19 Aug 2016, at 21:43, Scott W.

Re: Server migration

2016-10-30 Thread Sami Ketola
> On 28 Oct 2016, at 16.54, Tanstaafl wrote: > > On 10/27/2016 8:36 AM, Timo Sirainen wrote: >> On 27 Oct 2016, at 15:29, Tanstaafl wrote: >>> On 10/26/2016 2:38 AM, Gandalf Corvotempesta my only question is: how to

Re: Enterprise Edition: Any known access issues with the repo? Have existing accounts been expired?

2016-11-11 Thread Sami Ketola
> On 10 Nov 2016, at 19.11, deoren wrote: > > > I'm running 2.2.25.5 now and when I looked at the announcement forum[1] I see > a posting[2] for 2.2.26.1, but nothing about repo changes. > > For what it is worth, I use the EE credentials on only a single

Re: Server migration

2016-11-01 Thread Sami Ketola
> On 31 Oct 2016, at 13.11, Tanstaafl <tansta...@libertytrek.org> wrote: > > On 10/30/2016 5:32 AM, Sami Ketola <sami.ket...@dovecot.fi> wrote: >> On 28 Oct 2016, at 16.54, Tanstaafl <tansta...@libertytrek.org> wrote: >>> Oh... I thought t

Re: Server migration

2016-11-01 Thread Sami Ketola
> On 1 Nov 2016, at 14.10, Tanstaafl <tansta...@libertytrek.org> wrote: > > On 11/1/2016 3:58 AM, Sami Ketola <sami.ket...@dovecot.fi> wrote: >> On 31 Oct 2016, at 13.11, Tanstaafl <tansta...@libertytrek.org> wrote: >>> Ok, interesting. So... h

Re: Simple way to get mailbox size by folder.

2016-12-13 Thread Sami Ketola
Hi, In that case you might be better of using the doveadm http api for accessing the information over http/json interface: http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP Sami > On 14 Dec 2016, at 1.25, Vijay Sarvepalli wrote: > > Hello Mike and Aki, > > Thanks

Re: Dovecot migration via dsync : mail_location problem (INBOX) ?

2016-12-07 Thread Sami Ketola
> On 7 Dec 2016, at 12.22, Cédric ML wrote: > > Hello, > > I'm trying to migrate mail accounts from an old dovecot 1.0.15 to a new > dovecot 2.2.26. > I've set up a master-user on old dovecot, and I run dsync on new server, like > this : > > # doveadm -D -o

Re: User unknown in local recipient table

2016-12-01 Thread Sami Ketola
Hi, Can you please keep this mailing list in english? Sami > On 1 Dec 2016, at 17.37, Ralf Hildebrandt wrote: > > * Kalle Erlacher : >> Hallo Liste, hallo Ralf, >> >> danke schon mal. Ja die Whitespaces sind beim Rauslöschen entstanden. >> >> Ich

Re: two listeners with different "driver = " configs

2017-01-02 Thread Sami Ketola
> On 31 Dec 2016, at 11.38, mj wrote: > > Hi, > > Does the lack of replies mean that what I'm asking is not possible? > > (or am I missing something SO obvious that nobody bothers to point it out..?) > It is difficult. what you might be able to do is to configure

Re: IMAP proxy for Exchange - encrypted backend Communication?

2017-01-06 Thread Sami Ketola
> On 5 Jan 2017, at 22.56, tom wrote: > > Hello, > > I try to setup a IMAP proxy for my old Exchange server. > Running Dovecot v2.x on Centos 7. > > So far I follow http://wiki2.dovecot.org/HowTo/ImapcProxy and it seem > to work. The only but major thing is with this

Re: Dovecot 2.2.27 proxy - enforcing per client IP connection limits

2017-03-20 Thread Sami Ketola
> On 16 Mar 2017, at 22.23, Joseph Tam wrote: > > Can anyone with Solr installed confirm/refute this: does installing > Solr keep iOS clients from roofing the connection count? I doubt it, but since IMAP SEARCH goes all the way down to the backends

Re: Dovecot 2.2.27 proxy - enforcing per client IP connection limits

2017-03-16 Thread Sami Ketola
me configurable option available on both > backends and the proxies. > > --- > Adi Pircalabu > > On 14-03-2017 20:17, Sami Ketola wrote: >> Hi, >> mail_max_userip_connections is only enforced at the backend level. The >> setting has no effect on proxy. If you want to for

Re: Dovecot 2.2.27 proxy - enforcing per client IP connection limits

2017-03-14 Thread Sami Ketola
Hi, mail_max_userip_connections is only enforced at the backend level. The setting has no effect on proxy. If you want to force the limit then you can only do it in the backend. Sami > On 9 Mar 2017, at 12.05, Adi Pircalabu wrote: > > Quick follow-up: updated the proxies

Re: Corrupt index files

2017-08-01 Thread Sami Ketola
> On 1 Aug 2017, at 6.23, Bruce Guenter wrote: > > On Mon, Jul 24, 2017 at 07:56:23PM +0300, Aki Tuomi wrote: >> Well, dovecot does not really guarantee access concurrency safety if you >> access indexes using more than one instance of dovecot at the same time. > >

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread Sami Ketola
> On 15 Aug 2017, at 2.50, voy...@sbt.net.au wrote: > > how do I generate hashed string from my password ? use this sql command: GRANT SELECT ON vmail TO ‘vmail’@‘127.0.0.1’ IDENTIFIED BY PASSWORD(‘yourpassword’); or if you just want to see the hash: SELECT PASSWORD(‘yourpassword’); Sami

Re: Metrics service

2017-08-15 Thread Sami Ketola
> On 14 Aug 2017, at 18.16, Matt Simpson wrote: > > >> On Aug 14, 2017, at 5:42 AM, Aki Tuomi wrote: >> >> Hi! >> >> We are open for any feedback, questions or comments for this service. >> > > Two questions. First one is I guess just a newbie

Re: Mailbox Alias

2017-08-14 Thread Sami Ketola
> On 14 Aug 2017, at 11.10, zyrixx wrote: > > mail_plugins = $mail_plugins mailbox_alias > > plugin { > mailbox_alias_old = Trash > mailbox_alias_new = Deleted > mailbox_alias_old2 = Sent > mailbox_alias_new2 = Sendet > mailbox_alias_old3 = Trash > mailbox_alias_new3 =

Re: Mailbox Alias

2017-08-14 Thread Sami Ketola
> On 14 Aug 2017, at 14.00, azu...@pobox.sk wrote: > > Citát Sami Ketola <sami.ket...@dovecot.fi>: > >>> On 14 Aug 2017, at 11.10, zyrixx <zyr...@gmx.net> wrote: >>> >>> mail_plugins = $mail_plugins mailbox_alias >>> >>> p

Re: weakforced

2017-08-17 Thread Sami Ketola
> On 16 Aug 2017, at 21.34, Mark Moseley wrote: > > Cool, good to know. > > Do you have any hints/tips/guidelines for things like sizing, both in a > per-server sense (memory, mostly) and in a cluster-sense (logins per sec :: > node ratio)? I'm curious too how large is

Re: Post-login script on proxy side

2017-07-12 Thread Sami Ketola
> On 12 Jul 2017, at 10.36, azu...@pobox.sk wrote: > > Backends don't have access to user database and i wanted to keep it like this > :( Then probably your only possibility is to update last_login information with the authentication policy framework introduced in dovecot 2.2.25:

Re: Master auth only

2017-07-10 Thread Sami Ketola
> On 10 Jul 2017, at 12.33, azu...@pobox.sk wrote: > > Hi, > > i'm trying to configure Dovecot proxy with user authentication on proxy side > only, so backends will authenticate using master password (proxy is > configured to send it). The problem is that Dovecot, on backends, is telling >

Re: Master auth only

2017-07-13 Thread Sami Ketola
> On 12 Jul 2017, at 15.46, Rick Romero wrote: > This is awesome, as I was just contemplating how to maintain persistence with > 2FA. > Is it possible to use a passdb based on remote ip? There's a > username_filter, but I want to use a master password for webmail (which

Re: Modify stored mail contents?

2017-07-23 Thread Sami Ketola
> On 23 Jul 2017, at 16.14, Tom Hendrikx wrote: > > In general, you should not do this. When a message is stored using IMAP, > it is immutable. The IMAP server also remembers things like size and > assigns messages a unique ID, so mail readers that have already > downloaded

Re: 10-ssl ssl = no but dovecot still reads certs

2017-07-22 Thread Sami Ketola
Hi, Can you please post your doveconf -n output. Sami > On 16 Jun 2017, at 11.29, li...@lazygranch.com wrote: > > I'm bringing up a new email server starting without TLS initially. In > 10-ssl.conf I set ssl = no, but the default ssl_cert and ssl_key > lines are not commented out. I got the

Re: dovecot 2.2.31: linking error

2017-07-01 Thread Sami Ketola
> On 1 Jul 2017, at 13.08, Rupert Gallagher wrote: > > I tried compiling without "--with-storage=maildir" and it terminated without > error. I need to enforce maildir, however. You can enforce maildir in configuration. Sami

Re: Dovecot infrastructure

2017-08-07 Thread Sami Ketola
> On 7 Aug 2017, at 10.14, Simone Marx :: Edinet Srl wrote: > > Hi, > I would need some suggestion for a dovecot based mail infrastructure. > Actually, only one server (with dovecot sendmail amavis spamassassin clamav > etc etc) is no longer enouth, so I thought I would put

Re: No doveadm-save in wiki2?

2017-05-10 Thread Sami Ketola
> On 10 May 2017, at 15.06, KT Walrus <ke...@my.walr.us> wrote: > > >> On May 10, 2017, at 9:50 AM, Sami Ketola <sami.ket...@dovecot.fi> wrote: >> >> >>> On 9 May 2017, at 19.26, KT Walrus <ke...@my.walr.us> wrote: >>> >

Re: No doveadm-save in wiki2?

2017-05-10 Thread Sami Ketola
> On 9 May 2017, at 19.26, KT Walrus wrote: > > Is “doveadm save” an undocumented feature? Or, just well-hidden? > > https://wiki2.dovecot.org/Tools/Doveadm > That wikipage is autogenerated from the doveadm manpage… which

Re: Example for doveadm-save using Doveadm HTTP API

2017-05-10 Thread Sami Ketola
> On 10 May 2017, at 14.57, KT Walrus wrote: > > I could use an example of how to use curl to save a new message to a user’s > INBOX using the Doveadm HTTP API. > Here you go: doveadm mailbox save parameters: { "command": "save", "parameters": [ {

Re: Example for doveadm-save using Doveadm HTTP API

2017-05-10 Thread Sami Ketola
> On 10 May 2017, at 16.26, KT Walrus wrote: >> >> # curl -v -X POST -u doveadm:hellodoveadm -H "Content-Type: >> application/json" -d >> '[["save",{"user":"samik","mailbox":"INBOX/myfoldertoo","file":"From: Joulu >> Pukki \nSubject:

Re: Two domains - same user names filter

2017-06-03 Thread Sami Ketola
> On 2 Jun 2017, at 11.40, Aki Tuomi wrote: > > Dovecot 2.2.29+ has feature called username_filter for passdb blocks, which > lets you specify usernames the passdb block is to be used. This could > simplify your config somewhat. See

Re: Director DNS

2017-10-06 Thread Sami Ketola
> On 6 Oct 2017, at 16.06, Travis Dolan wrote: > > Hello, > > I am currently running 2.2.31. I have a cluster of dovecot instances > running in AWS. > > - Two instances running Director/Proxy > - Two instances running Dovecot. > -- Storage for the Dovecot instances is

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Sami Ketola
> On 11 Sep 2017, at 11.24, Nagy, Attila wrote: > I use dovecot with a broken IMAP server (which doesn't properly implement > command pipelining amongst others) as an imapc backend. > Dovecot issues the above command sequence (SELECT and UID FETCH pipelined), > which doesn't work

Re: Strange SASL issue

2017-09-07 Thread Sami Ketola
> On 7 Sep 2017, at 16.03, Antoine Nguyen wrote: > > 2017-09-07 14:29 GMT+02:00 Aki Tuomi : > >> >> >> On 07.09.2017 15:26, Antoine Nguyen wrote: >>> Hi all, >>> >>> I've just upgraded my server from debian 8 to debian 9 and I now >> encounter

Re: Different users having same home/mail_location?

2017-09-24 Thread Sami Ketola
> On 23 Sep 2017, at 23.08, Tapio Sokura wrote: > > Hello, > > Will I be breaking something if I have two users share the same home and/or > mail_location (maildir format) in dovecot? Mail will only be delivered to the > primary user, the other would be used every now and then

Re: imapc and masteruser

2017-09-28 Thread Sami Ketola
> On 28 Sep 2017, at 20.50, Computerisms Corporation > wrote: > > Hi, > > My end goal is to set up shared mailboxes on a cluster as per: > > https://wiki.dovecot.org/SharedMailboxes/ClusterSetup > > I was having very little luck with it, so I had been trying to break

Re: imapc and masteruser

2017-09-28 Thread Sami Ketola
> On 28 Sep 2017, at 23.08, Computerisms Corporation > wrote: > > Hi Sami, > > Thank you for your reply. >> yes you do need to define imapc_user if you want to switch user and master >> user around for imapc. like: >> imapc_user = authapps >> imapc_master_user = %u >>

Re: sieve script not executed?

2017-10-02 Thread Sami Ketola
> On 1 Oct 2017, at 13.08, Roberto Nunnari wrote: > > Hello. > > I'm trying to set up a vacation autoresponder but up to now, no success. > I'm using dovecot managedsieve to set up the new filter and to my > understanding it works correctly and it creates in the user's home

Re: Quota - frustrated trying to configure ...

2017-10-02 Thread Sami Ketola
> On 2 Oct 2017, at 16.11, Garry Glendown <ga...@glendown.de> wrote: >>> On 25 Sep 2017, at 21.51, Garry Glendown <ga...@glendown.de> wrote: >>> On 25.09.2017 20:28, Sami Ketola wrote: >> >> you can change this setting: >> >> plugin

Re: Quota - frustrated trying to configure ...

2017-09-26 Thread Sami Ketola
> On 25 Sep 2017, at 21.51, Garry Glendown <ga...@glendown.de> wrote: > > > > On 25.09.2017 20:28, Sami Ketola wrote: >>> On 25 Sep 2017, at 21.19, Garry Glendown <ga...@glendown.de> wrote: >>> >>> doveadm(root): Error: chdir(/root/) fai

Re: Quota - frustrated trying to configure ...

2017-09-25 Thread Sami Ketola
> On 25 Sep 2017, at 21.19, Garry Glendown wrote: > > doveadm(root): Error: chdir(/root/) failed: Permission denied > (euid=479(dovecot) egid=478(dovecot) missing +x perm: /root, dir owned > by 0:0 mode=0700) > doveadm(root): Error: chdir(/root) failed: Permission denied > >

Re: dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes

2017-10-05 Thread Sami Ketola
> On 5 Oct 2017, at 22.16, absolutely_f...@libero.it wrote: > > Hi, > > I am using Dovecot 2.2.32 (dfbe293d4) > > I noticed lots of messages like: > > dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes > > in /var/log/maillog > > I commented out "process_limit" > > >

Re: IMAP connections with ".eml" in the username - bot attack.

2017-11-12 Thread Sami Ketola
> On 13 Nov 2017, at 8.21, Sami Ketola <sami.ket...@dovecot.fi> wrote: > >> >> On 13 Nov 2017, at 5.47, James Brown <jlbr...@bordo.com.au> wrote: >> >> We are seeing lots of IMAP login attempts like this: >> >> dovecot[363]: imap-

Re: IMAP connections with ".eml" in the username - bot attack.

2017-11-12 Thread Sami Ketola
> On 13 Nov 2017, at 5.47, James Brown wrote: > > We are seeing lots of IMAP login attempts like this: > > dovecot[363]: imap-login: Disconnected (auth failed, 1 attempts in 6 secs): > user=, > method=PLAIN, rip=197.255.60.118, > > or > > dovecot[363]: imap-login:

Re: Dovecot proxy

2017-11-24 Thread Sami Ketola
> On 24 Nov 2017, at 17.36, Federico Bartolucci wrote: > > Hello, > > has someone already tested the dovecot-proxy with more than 10 nodes? or > someone knows anyway if is it officially supported up to a certain number? There is no limit really. Proxies work standalone and

Re: set parameter per user

2017-11-23 Thread Sami Ketola
> On 23 Nov 2017, at 15.32, A. Schulze wrote: > > > Steffen Kaiser: > >> Is the detail delived to Dovecot by the MTA at all? > sure! > > have to say: I faked that example. In reality I tested the inverse way: > My lab setup actually *do* deliver to folders and > I

Re: Recommended tool for migrating IMAP servers

2017-12-04 Thread Sami Ketola
> On 4 Dec 2017, at 19.59, Webert de Souza Lima <webert.b...@gmail.com> wrote: > > On Mon, Dec 4, 2017 at 9:16 AM, Sami Ketola <sami.ket...@dovecot.fi> wrote: > >> >> With every other tool you will face end users needing to invalidate their >> loc

Re: Recommended tool for migrating IMAP servers

2017-12-05 Thread Sami Ketola
> On 5 Dec 2017, at 10.20, Paolo wrote: > > Il 04/12/2017 17:37, Michael Slusarz ha scritto: >>> I think Davide was asking about dsync. If so, the answer is no: dsync >>> works only when both servers are Dovecot and needs some additional >>> configuration to work through

Re: Recommended tool for migrating IMAP servers

2017-12-05 Thread Sami Ketola
> On 5 Dec 2017, at 12.46, Webert de Souza Lima wrote: > > Sorry, I might be wrong about cache invalidation, indeed. What I'm sure is > that users will hardly notice any server change. > We've never had user complaints about mailboxes resyncing or anything like > that

Re: Recommended tool for migrating IMAP servers

2017-12-14 Thread Sami Ketola
> On 13 Dec 2017, at 18.27, Davide Marchi <dan...@msw.it> wrote: > > Sami Ketola wrote:> We run all our migrations using Dovecot internal dsync. > Usually using imapc connector to connect to legacy >> platform. >> Wqmi > > Many thanks Wqmi! &g

Re: auth_policy in a non-authenticating proxy chain

2017-12-14 Thread Sami Ketola
> On 14 Dec 2017, at 8.30, Peter Mogensen wrote: > However... since the proxy use "nopassword", ALL passdb lookups result > in "success", so the proxy will never report an authentication failure > to the authpolicy server. Why not authenticate the sessions at the proxy level

Re: dovecot-lda without starting dovecot?

2017-11-20 Thread Sami Ketola
> On 20 Nov 2017, at 10.50, Stephan von Krawczynski wrote: > > AFAIK no complex director stuff would be needed then, right? > The second sentence implies that using file locking should also be enough, > which dovecot does. You are building such a complex system and then

Re: dovecot-lda without starting dovecot?

2017-11-20 Thread Sami Ketola
> On 20 Nov 2017, at 12.54, Stephan von Krawczynski wrote: > > If I had lets say 10 nodes handling incoming SMTP and delivery to local > maildirs in parallel and independantly on a network storage and imapping this > from another independant 4 nodes, then building a not

Re: dovecot-lda without starting dovecot?

2017-11-03 Thread Sami Ketola
> On 3 Nov 2017, at 18.23, Stephan von Krawczynski wrote: > Hello Aki, > > let me explain this a bit more. We do not intend to use only some copied > binary. Of course we would do a full installation of dovecot and pidgeonhole, > only we question if it is necessary to start

Re: dovecot-lda without starting dovecot?

2017-11-05 Thread Sami Ketola
> On 4 Nov 2017, at 10.31, Stephan von Krawczynski <skraw...@ithnet.com> wrote: > > On Sat, 4 Nov 2017 01:57:31 +0200 > Sami Ketola <sami.ket...@dovecot.fi> wrote: >> Again that does not answer my question why? Why do you want all the locking >> problems

Re: dovecot-lda without starting dovecot?

2017-11-05 Thread Sami Ketola
> On 5 Nov 2017, at 12.55, Stephan von Krawczynski wrote: > Sorry to say this setup works flawlessly for years. The only addition we > will make now is to do the delivery with dovecot-lda. Everything else > (including multiple dovecot pop/imap servers) will stay as is. >

Re: dovecot-lda without starting dovecot?

2017-11-03 Thread Sami Ketola
>> >> While it might be possible to disable all the other services except master I >> must ask why? How would the users be accessing their mails then? >> >> Sami > > Hello Sami, > > you did not read my first post. We are talking about a multihost installation > where one host does SMTP and

Re: Recommended tool for migrating IMAP servers

2017-12-04 Thread Sami Ketola
> On 3 Dec 2017, at 23.23, Davide Marchi wrote: > > Hi Friends, > I would like to ask you a suggestion: > I need to migrate a imap server to a new one and then dismiss the old one. > Reading from relative Dovecot documentation page > (https://wiki.dovecot.org/Migration), more

Re: Recommended tool for migrating IMAP servers

2017-12-11 Thread Sami Ketola
> On 11 Dec 2017, at 12.32, Davide Marchi <dan...@msw.it> wrote: > > Il 2017-12-05 07:16 Sami Ketola ha scritto: > [..] >> Trust us. We have run multiple migrations at scale of 10+ million users. >> Sami > > However, it seems that Imapsync has license iss

Re: How to limit Apple Mail (desktop)?

2017-10-31 Thread Sami Ketola
> On 31 Oct 2017, at 14.44, Rupert Gallagher wrote: > >> What's in your mind as solution? > > When dovecot receives many full body downloads from a client, it could > respond by sending the header only. That would not be nice. Breaking IMAP protocol that way. Some rate

Re: How to limit Apple Mail (desktop)?

2017-10-31 Thread Sami Ketola
> On 31 Oct 2017, at 8.42, Rupert Gallagher wrote: > > When Apple Mail connects to an IMAP account for the very first time, it > downloads all e-mails to build a local mirror. > > When the user changes the name of a folder, Apple Mail downloads the whole > subtree and

Re: dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both

2018-05-13 Thread Sami Ketola
> On 13 May 2018, at 14.07, Matt Bryant wrote: > > Sigh ... ok so had if statement in SQL land that appended LAYOUT=fs if > Maildir which explains the non-converting folder layout but NOT why the > process is not picking up the actual contents of INBOX ... > Try

Re: Maillog warning

2018-05-16 Thread Sami Ketola
> On 16 May 2018, at 20.16, for...@mehl-family.fr wrote: > > I have comment the line... > > But now I see other warning : > > Warning: /etc/dovecot/conf.d/OLD-90-quota.conf line 39: Global setting > mail_plugins won't change the setting inside an earlier filter at >

Re: Maillog warning

2018-05-16 Thread Sami Ketola
> On 16 May 2018, at 19.49, for...@mehl-family.fr wrote: > > Hi, > > In my maillog I see this warning message at every reception of e-mail: > > status=sent (delivered via dovecot service (doveconf: Warning: > /etc/dovecot/conf.d/90-quota.conf line 39: Global setting mail_plugins won't >

Re: Autofile Junk for all users

2018-05-23 Thread Sami Ketola
> On 23 May 2018, at 16.17, André Rodier wrote: > > On 2018-05-23 15:11, @lbutlr wrote: >> How would I get the rule >> if header :contains "X-spam-flag" "YES" { >> fileinto "Junk"; >> } >> To apply to all users mail at delivery time? > > Use the default scripts, works

Re: Disconnecting unauthenticated IMAP entities faster?

2018-05-18 Thread Sami Ketola
> On 18 May 2018, at 20.19, David Hubbard wrote: > > Hello, given the 2015 revision date, I was curious if anyone can confirm > https://wiki2.dovecot.org/Timeouts is still accurate where the 'before login' > IMAP timeout remains hard coded? > > We're having an

Re: External Program for Authentication?

2018-05-16 Thread Sami Ketola
> On 16 May 2018, at 22.18, Marc Perkel wrote: > > Is it possible to run a bash script for authentication where a 0 exit code > indicates success and a non-zero is failure? What I'm trying to do is create > a shadow IMAP server that authenticates against a different server.

Re: Sieve_default

2018-06-13 Thread Sami Ketola
> On 13 Jun 2018, at 20.26, @lbutlr wrote: > > > >> On 12 Jun 2018, at 01:23, Alex JOST wrote: >> >> Am 12.06.2018 um 01:01 schrieb @lbutlr: >>> I created a sieve_default to move any spam-tagged messages into the Junk >>> mailbox automatically, but it doesn’t appear to be working (though

Re: After logrotation Dovecot still writes to old log file

2018-06-14 Thread Sami Ketola
> On 15 Jun 2018, at 5.17, Michael Heuberger > wrote: > > Thanks man > > You suggesting the same as https://wiki2.dovecot.org/Logging > says? > > postrotate > kill -s 0 `cat /var/run/dovecot/master.pid` || kill -s USR1 `cat >

Re: Live Import of IMAP

2018-02-01 Thread Sami Ketola
> On 29 Jan 2018, at 21.57, Sergio Belkin wrote: > > Hi, > > I have the mailbox of jon@example.com just > migrated only with mails after migration, is it ok to run: > > doveadm -o mail_fsync=never sync -1 -R -u j...@example.com >

Re: Change destination of dsync

2018-01-28 Thread Sami Ketola
> On 25 Jan 2018, at 19.11, Sergio Belkin wrote: > > Hi, > > I have the following command for retrieving mails from another IMAP mail > server > > dsync -D -v backup -R -u jon.doe imapc: > > I't ok and works, but I'd want to copy messages outside of /var directory, is >

Re: Live Import of IMAP

2018-02-01 Thread Sami Ketola
> On 1 Feb 2018, at 17.10, Sergio Belkin <seb...@gmail.com> wrote: > > > 2018-02-01 11:59 GMT-03:00 Sami Ketola <sami.ket...@dovecot.fi > <mailto:sami.ket...@dovecot.fi>>: > > >> On 29 Jan 2018, at 21.57, Sergio Belkin <seb...@gmail.com

Re: Does Dovecot LDAP auth support LDAP referral

2018-02-02 Thread Sami Ketola
> On 2 Feb 2018, at 10.38, Xuan Jia wrote: > > We using Dovecot with LDAP. > From the beginning, we using GC LDAP query with port 3268 for email accounts. > For example, us...@our-organization.org (in the USA) with "base = > dc=our-organization, dc=org" works fine. > >

Re: Director & Master Users

2018-02-15 Thread Sami Ketola
> On 15 Feb 2018, at 22.16, Travis Dolan wrote: > > It would look as though the changes have now negatively affected a "normal" > user from logging in. > > > telnet host 143 > > a login username password > > > a NO [AUTHENTICATIONFAILED] Authentication failed. >

Re: Using director but stick user to a fixed backend

2018-02-17 Thread Sami Ketola
> On 17 Feb 2018, at 16.57, p...@wk-serv.de wrote: > > Hi everyone, > > I am using dovecot with a director setup for two backends. > > I want to add a third backend for use with the apple imap push plugin. > > Is there a way I can stick some users to this third backend and not using the >

Re: Auth SEGV on sparc64, alignment problem?

2018-02-22 Thread Sami Ketola
> As this is a sparc64, with 8-byte alignment requirements, I’m guessing that’s > the issue. Many a piece of software has failed to respect that and crashed. > But, I’m not sure. > > Does anyone have any suggestions? I’ve built it locally (via ports), so if > there are compiler options I

Re: Problem with master password

2017-12-28 Thread Sami Ketola
> On 28 Dec 2017, at 13.46, Harald Leithner wrote: > > } > passdb { > args = /etc/dovecot/master-users > driver = passwd-file > master = yes > pass = yes > } > passdb { > args = /etc/dovecot/dovecot-sql.conf.ext > driver = sql > } the default behaviour for first

Re: manage/sieve and mysql: Storage does not support write access

2018-06-21 Thread Sami Ketola
> On 21 Jun 2018, at 12.53, Markus Raps wrote: > > Hi there, > > i want to set up sieve to store the scripts in the mysql database. > > through mysql logging i can see that the incoming mail triggers a search in > the script database > so the mysql connection basically works. > > But i

Re: limit sharing ability to certain users

2018-08-08 Thread Sami Ketola
http://repo.dovecot.org/ Sami > On 8 Aug 2018, at 10.27, Simeon Ott wrote: > > Okay, this seems to be due to the fact that the option “use_globals_only" is > supported only in v2.2.31+ > We are on Debian jessie with dovecot v2.2.13 – even an upgrade to current >

Re: doveadm mailbox delete not working

2018-08-15 Thread Sami Ketola
> On 15 Aug 2018, at 9.29, Ralf Becker wrote: > > Am 14.08.18 um 18:51 schrieb Aki Tuomi: >> Try >> >> doveadm mailbox list -u user INBOX/* > > Hmm, posted that before, it lists all these undeletable mailboxes: Can you also post your doveconf -n to be sure that the folder is just not

Re: limit sharing ability to certain users

2018-08-10 Thread Sami Ketola
> On 9 Aug 2018, at 8.48, Simeon Ott wrote: > > Thanks Sami, thanks Aki > > I just updated the packages on our testing server and now it works like > expected. > There are some LDAP tests to come. Are there many productive server out there > using this repository? We have no way of

Re: limit sharing ability to certain users

2018-08-06 Thread Sami Ketola
> On 6 Aug 2018, at 8.26, Aki Tuomi wrote: > > You could do > > userdb { >driver = username_format=%Lu passwd-file >args = /etc/dovecot/share.passwd > } > > # /etc/dovecot/share.passwd > t...@onnet.ch ::: > userdb_acl=vfile:/etc/dovecot/dovecot-acl

Re: Imap special-use with IOS 11

2018-08-17 Thread Sami Ketola
> On 17 Aug 2018, at 17.20, Federico Bartolucci wrote: > > Hello, > > has anyone experiened any issues with IMAP SPECIAL-USE extension with ios11? > After the update to ios11 the Ios mail client seems to not recognize anymore > the imap special-use, so that system folders (Sent, Trash etc..)

  1   2   >