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 the dovecot init-file

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 LDA,

Re: dovecot-lda without starting dovecot?

2017-11-05 Thread Sami Ketola
> On 4 Nov 2017, at 10.31, Stephan von Krawczynski wrote: > > On Sat, 4 Nov 2017 01:57:31 +0200 > Sami Ketola wrote: >> Again that does not answer my question why? Why do you want all the locking >> problems and multi-access problems that come with setup like tha

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. > Hopefully dovecot-lda doe

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: Disconnected (auth failed,

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 wrote: > >> >> 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): >

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 you think that creating

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 needed bottleneck by > sh

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 saw, setting lmtp_save_to_de

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 are not linked toget

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 tools are shown: >

Re: Recommended tool for migrating IMAP servers

2017-12-04 Thread Sami Ketola
> On 4 Dec 2017, at 19.59, Webert de Souza Lima wrote: > > On Mon, Dec 4, 2017 at 9:16 AM, Sami Ketola wrote: > >> >> With every other tool you will face end users needing to invalidate their >> local caches and >> redownloading all headers if n

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 the network (see >>> htt

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 after imapsync'ing to a new

Re: Recommended tool for migrating IMAP servers

2017-12-11 Thread Sami Ketola
> On 11 Dec 2017, at 12.32, Davide Marchi 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 issues and in fact it&#

Re: Recommended tool for migrating IMAP servers

2017-12-14 Thread Sami Ketola
> On 13 Dec 2017, at 18.27, Davide Marchi 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! > Well, I've read the dsync

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 already? Is there a

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 passdb is: result_succes

Re: Quota plugin creates IMAP folder

2018-01-24 Thread Sami Ketola
> On 24 Jan 2018, at 13.21, Thorsten Hater wrote: > > This is from my config > > mail_location = maildir:~/Maildir > > and in my userdb-ldap.conf > > user_attrs = \ > ... \ > =home=%{ldap:homedir}, \ > ... > > Am I missing something? So what does "doveadm user " then return as home?

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 > there a way to do

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 > im

Re: Live Import of IMAP

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

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. > > But refer to this docum

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. > > > telnet host 143 > >

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 > di

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 ca

Re: Saving Drafts with Roundcube marks old Mails in INBOX as unread.

2018-04-04 Thread Sami Ketola
> On 4 Apr 2018, at 10.59, s...@tyrion.de wrote: > > Hello List, > > > I have a problem with the client Roundcube. Whenever I save a draft to the > Folder INBOX.Drafts a old mail in my INBOX will be marked as unread. > > Here are the IMAP Logs from Roundcube and Dovecot debug logs. I have no

Re: [bug] Auth cache, proxy and ITERINDEX

2018-04-16 Thread Sami Ketola
Hi, please post your doveconf -n Sami > On 16 Apr 2018, at 20.17, azu...@pobox.sk wrote: > > Hi, > > today we have exceprienced really major difficulties with our proxy backend > servers. Everything started after enabling auth cache: > auth_cache_size = 100M > auth_cache_verify_password_with

Re: smtp crashing with "out of memory" for ONE particular user

2018-04-23 Thread Sami Ketola
> On 24 Apr 2018, at 9.08, Jacek Osiecki wrote: > > Finally, 512MB helped. But it is quite strange to me… Why one particular > mailbox, what could be causing it? Number of mails in INBOX. Sami

Re: dovecot vs. mutt: no full index sync on Maildir new/ mtime change

2018-04-24 Thread Sami Ketola
> On 24 Apr 2018, at 10.33, Michael Büker wrote: > > Hi, everyone! > > This is a follow-up to "Looks like a bug to me: Dovecot ignores Maildir/new > timestamp" from Fredrik Roubert on 01.12.2015: > https://www.dovecot.org/list/dovecot/2015-December/102585.html > > I've run into the same prob

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 setting imapc_prefix=INBOX in

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 > chan.

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 > /etc/dovecot/conf.d/15-ld

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. That way > my ser

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 issue where blocks of IP's from

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 well for me. > > htt

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 t

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 > /var/run/dovecot/master.pid

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 can

Re: dsync panic

2018-07-12 Thread Sami Ketola
> On 7 Jul 2018, at 4.31, Infoomatic wrote: > > Hi, > I just upgraded from dovecot 2.2.19 to 2.3.2. "doveadm backup" worked fine in > v 2.2.19, but now panics (user with shared folder): > /opt/dovecot/bin/doveadm backup -u testuser -1 sdbox:/tmp/testuser Not sure why it panics, but at least y

Re: folders not visible on copied mail folders

2018-07-18 Thread Sami Ketola
> On 19 Jul 2018, at 7.29, Mark Foley wrote: > > # doveadm mailbox list -u "mpress" | grep Dennis > Dennis Email > Dennis Email.Deleted Items > Dennis Email.Deleted Items.Sent > >> Then make sure that each of the three folders contain the cur, new, tmp >> subfolders. > > They do: > > drwx-

Re: OT: 'lost' emails

2018-07-20 Thread Sami Ketola
> On 20 Jul 2018, at 13.31, Voytek wrote: > > I suspect this is mail client issue, but looking for any suggestions: > > user with Thunderbird says " I'm losing emails, mail is not in inbox, but, > when I search, that email shows in search result, but, I can't open the email > body" i don't

Re: Dbox lost messages

2018-07-20 Thread Sami Ketola
> On 20 Jul 2018, at 14.48, Fineware PM wrote: > > Hello, > > I use dovecot with dbox storage system. > > Today I receive 2 mail (I see that in the maillog ) but I don't find in INBOX > using my IMAP client. > > I look in the files m.* and I find the message that I receive. But I cannot >

Re: Dbox lost messages

2018-07-20 Thread Sami Ketola
> On 20 Jul 2018, at 15.20, Fineware PM wrote: > > if I dump the index of inbox : > "doveadm -v dump example.com/user/idx/mailboxes/INBOX/dovecot.index" > > I don't find the message. > I think is corrupted the index > > try then running: doveadm force-resync -u user "*" Sami

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 userdb_a

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 > s

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 knowing

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 auto

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..) a

Re: Is the Doveadm HTTP API considered stable for production use?

2018-08-23 Thread Sami Ketola
> On 22 Aug 2018, at 18.55, James Beck wrote: > > Hi, > > I'm running 2.2.34 in production (installed from Debian stretch > backports) and want to rework some scripts. Can the HTTP API be > considered stable in 2.2.34 please? The wiki says it is "considered > experimental in v2.2.22" so I tho

Re: online conversion using replication?

2018-09-02 Thread Sami Ketola
> On 3 Sep 2018, at 4.18, Daniel Miller wrote: > > That works for a one-time migration, or perhaps via a cron-job, but what I > want is basically a constant one-way backup and it seems replication could do > it more elegantly & efficiently. > So you want real-time archiving? What we have do

Re: online conversion using replication?

2018-09-03 Thread Sami Ketola
> On 3 Sep 2018, at 21.49, B. Reino wrote: > > On Mon, 3 Sep 2018, Sami Ketola wrote: > >>> On 3 Sep 2018, at 4.18, Daniel Miller wrote: >>> >>> That works for a one-time migration, or perhaps via a cron-job, but what I >>> want is

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 10.20, James Brown wrote: > > I’d like to migrate to a new server. I only need to transfer the mail store, > have already done the users. I’ve seen different recommendations: > > IMAP-Sync > Rsync > Doveadmin backup and > dsync > > What are the pros and cons of each? Wha

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 17.47, Robert Schetterer wrote: > > Am 04.09.2018 um 09:41 schrieb Sami Ketola: >> imapsync always loses data > > never saw this, be carefull by anounce such myths It is a fact. Imapsync works over IMAP only and IMAP protocol does not even support

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 18.00, Robert Schetterer wrote: > > Am 04.09.2018 um 16:52 schrieb Sami Ketola: >> >> >>> On 4 Sep 2018, at 17.47, Robert Schetterer wrote: >>> >>> Am 04.09.2018 um 09:41 schrieb Sami Ketola: >>>> imapsy

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 18.45, Rick Romero wrote: > https://imapsync.lamiral.info/FAQ.d/FAQ.Duplicates.txt > > Seems to use UIDs so that 'data' isn't lost. > > No it does not. This is different thing. This is about managing duplicates on multiple syncs. Imapsync seems to keep track of UID -> MAI

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 18.38, Robert Schetterer wrote: > > Sorry i migrated terrabytes of mail with imapsync and never had a > problem, it works as designed, also with maildir rsync did a good job, > what never worked as it should was dsync ,cause of bugs ,that may > changed now > I would like

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 19.32, Rick Romero wrote: >> No it does not. This is different thing. This is about managing duplicates >> on multiple syncs. >> Imapsync seems to keep track of UID -> MAIL mapping for server A and UID -> >> MAIL mapping for server B so that on multiple runs it does not syn

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 21.24, Ruben Safir wrote: > > On 9/4/18 12:27 PM, Sami Ketola wrote: >> >> >>> On 4 Sep 2018, at 18.38, Robert Schetterer wrote: >>> >>> Sorry i migrated terrabytes of mail with imapsync and never had a >>> pro

Re: Auth process sometimes stop responding after upgrade

2018-09-07 Thread Sami Ketola
> On 7 Sep 2018, at 11.00, Simone Lazzaris wrote: > > > The only suspect thing is this: > > Sep 6 14:45:41 imap-front13 dovecot: director: doveadm: Host 192.168.1.142 > vhost count changed from 100 to 0 > Sep 6 14:45:41 imap-front13 dovecot: director: doveadm: Host 192.168.1.143 > vhost

Re: Auth process sometimes stop responding after upgrade

2018-09-07 Thread Sami Ketola
> On 7 Sep 2018, at 11.25, Simone Lazzaris wrote: > Actually, I have a poolmon script running that should drop vhost count for > unresponsive backends; the strage thing is, the backends are NOT > unresponsive, they are working as ususal. > If it's this one https://github.com/brandond/poolmon

Re: Dsync deleting mailboxes due to duplicate UIDs

2018-09-09 Thread Sami Ketola
> On 9 Sep 2018, at 18.42, Andreas Thienemann wrote: > > Hi, > > I am attempting to migrate a mailspool from a cyrus server to a dovecot > server using the dsync backup approach as described in the wiki at > . > > The first attempt works great. Eve

Re: Dsync deleting mailboxes due to duplicate UIDs

2018-09-09 Thread Sami Ketola
> On 10 Sep 2018, at 0.05, Andreas Thienemann wrote: > > Following the robustness principle it feels to me that it would make sense > for dsync to disregard a duplicate header from a remote server and only use > the first occurence. > > Would that be a good approach to the problem? Now that

Re: Local access to IMAP mailboxes

2018-09-26 Thread Sami Ketola
> On 26 Sep 2018, at 13.07, Aki Tuomi wrote: > > > > On 26.09.2018 12:22, Victor Sudakov wrote: >> Dear Colleagues, >> >> I have made mailboxes in ~/Mail available via IMAP (Dovecot 2.3.2.1), >> that is: "mail_location = mbox:~/Mail:INBOX=/var/mail/%u" >> >> However, I often read and modif

Re: v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt

2018-09-27 Thread Sami Ketola
> On 27 Sep 2018, at 16.53, James wrote: > > On 27/09/2018 13:40, Stephan Bosch wrote: > >>> Address Line Code >>> : DEBUG BLOCK: 3 >>> 0001: EXTENSIONS [1]: >>> 0002: vacation >>> 0004:2: VACATION >>> 0007:4: seconds: NUM 5 >>> 000

Re: Need to convert mbox to Maildir

2018-10-02 Thread Sami Ketola
> On 2 Oct 2018, at 21.05, Mark Foley wrote: > > I have a mbox file of emails. I want to convert this to Maildir giving me > individual message > files per email. I've looked at dsync, but as far as I can tell this wants a > specific target > user and it appears that it will "distribute" th

Re: outlook idiocy - IMAP folders with /

2018-10-02 Thread Sami Ketola
> On 2 Oct 2018, at 15.28, Jerry wrote: >> > > Nobody is going to stop using Outlook because some *.nix user has gotten his > shorts up in a knot. Now, I did ask this question on a MS Outlook Tech Forum. > One of the first responses I got was to ask exactly what Dovecot's response > was to the

Re: immediate delete of mails

2018-10-09 Thread Sami Ketola
> On 9 Oct 2018, at 11.19, Tamas Selmeci wrote: > > When I press DEL on a mail, the file /home/tselmeci/mail/Trash increases and > the deleted mail is appended to it. But it doesn't disappear from > /var/spool/mail/tselmeci. Once I expunge, /home/tselmeci/mail/Trash becomes > empty but the

Re: dovecot passdb driver=checkpassword as external script for block ip

2018-10-18 Thread Sami Ketola
> On 17 Oct 2018, at 20.09, bes wrote: > > Refer to > https://dovecot.org/pipermail/dovecot/2015-March/099971.html > https://wiki.dovecot.org/PasswordDatabase > I tried to repeat the same thing. > Set these passdb: > > passdb { > args = /myscript.sh ip=%r > driver = checkpassword > result_f

Re: Calendar function ?

2018-10-22 Thread Sami Ketola
> On 21 Oct 2018, at 16.54, Marcus Rueckert wrote: > > On 2018-10-21 13:51, m...@caloro.ch wrote: >> I need the possibilities to Sync the calender with diffrent Clients >> like Outlook, LotusNotes, Android, and Iphone Devices. > > Well carddav/caldav can do that. For outlook there is a plugin

Re: clients out of sync after restoring backup

2018-10-29 Thread Sami Ketola
> On 29 Oct 2018, at 22.32, Frank-Ulrich Sommer wrote: > > Hi, > due to a failing disk I had to restore everything from a backup including > dovecot (2.2.22) and the Maildir containing the stored mails. A period of > some days must later be restored manuall, but that is beyond scope for this

Re: error Cached MIME parts don't match message during parsing: Cached header size mismatch (parts=)

2018-11-02 Thread Sami Ketola
> On 2 Nov 2018, at 20.58, Poliman - Serwis wrote: > > I have a problem for specific mailbox. In mail.err file I see a lot: > Nov 2 07:41:17 s1 dovecot: imap(ar...@example.pl ): > Error: unlink(/var/vmail/example.pl/artur/Maildir/dovecot.index.cache >

Re: Proxy + 2x static passdb not working as expected

2018-11-13 Thread Sami Ketola
> On 13 Nov 2018, at 12.19, Michael Goth wrote: > > Hi all, > > I'm trying to setup a Dovecot proxy that authenticates the user against two > backend servers. If login server1 fails, server2 should be tried. > > The problem: Only the first server seems to be tried, even if the login fails.

Re: dovecot lmtp thinks that "disk quota exceeded" is "internal error"

2018-11-13 Thread Sami Ketola
> On 13 Nov 2018, at 21.06, Arkadiusz Miśkiewicz wrote: > > On 13/11/2018 15:54, Arkadiusz Miśkiewicz wrote: >> >> 2.2.36 (not migrated to 2.3 yet) reports such problem: >> >>> Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=, >>> Error: open(/var/mail/xxx/mailboxes.lock1bf6ad16b7b8b703) f

Re: dsync connection issue

2018-12-28 Thread Sami Ketola
> On 27 Dec 2018, at 19.13, Subscription wrote: > > but when I try to do a backup with the following command from the old to the > new site > > sudo doveadm -D -o imapc_user=user1@oldserver -o imapc_password=pw-oldserver > backup -R -u user1@newserver imapc: > Since both of your servers

Re: Migration

2018-12-30 Thread 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 with Dovecot 2.3.4 and will migrate > the mailboxes (maildir-format) from the old to the new server. I'm planning >

Re: Issue with LMTP proxying and port number

2018-12-30 Thread Sami Ketola
> On 31 Dec 2018, at 0.43, Laz C. Peterson wrote: > > Hello there, > > Everything was working fine on Dovecot 2.2.10 (on CentOS 7), but after > updating to version 2.2.36, our director servers are not able to proxy LMTP. > > We are sending mail from exim to the local Dovecot LMTP socket, whic

Re: Migration

2018-12-31 Thread Sami Ketola
> On 31 Dec 2018, at 12.22, Ignacio García wrote: > > A totally different approach (that is imap-server agnostic), providing that > you're setting up those new accounts with temporary passwords (which you > know), before users change their passwords to their liking: you could also > use ima

Re: Several problems on Solaris10

2019-01-01 Thread Sami Ketola
> On 31 Dec 2018, at 19.28, Pierluigi Frullani > wrote: > > > Answer inline. > > On Sun, Dec 30, 2018 at 12:59 PM James > wrote: > On 29/12/2018 13:49, Pierluigi Frullani wrote: > > > My version is 2.2.13 ( it was the last one, at the time of the first > > server se

Re: gcc -> clang

2019-01-03 Thread Sami Ketola
> On 3 Jan 2019, at 14.04, Ruben Safir wrote: > > On 1/3/19 4:50 AM, Rupert Gallagher via dovecot wrote: >> Please, use clang instead of gcc. Code quality can only profit from it. I >> just compiled 2.3.4 and compiler stderr is full of interesting problems. >> > > > oh please This is not

Re: Compiling Dovecot on Solaris 11 fails

2019-01-03 Thread Sami Ketola
> On 3 Jan 2019, at 18.45, Andrew Watkins wrote: > > > Hi, > > Tried to build dovecot-2.3.4 on Solaris 11 x86 and it fails at configure > part. I just went checked and it last version it works on is v2.3.2.1 does work just fine on my solaris 11 x86 box. configure:22610: checking whether f

Re: doveadm + HA

2019-01-07 Thread Sami Ketola
> On 7 Jan 2019, at 16.02, Maciej Milaszewski IQ PL > wrote: > > Hi > I have two server directors in ring and 5 dovecot servers (2.2.36) > IP for IMAP and POP3 is a VIP (keepalived) > > > What is the best solutions to get realy HA for 5 dovecot servers ? > Maby corosync+pacemeker ? But this

Re: mdbox import error from read-only filesystem

2019-01-14 Thread Sami Ketola
Hi, you can use INDEX=/writable/path/%u in your mail_location setting to define location for the required index data when importing. Also possibly you would need to define writable location for CONTROL and VOLATILEDIR. see https://wiki.dovecot.org/MailLocation

Re: Migration from one server to 2 new servers

2020-07-27 Thread Sami Ketola
Hi, the idea was to run it on the new server and not on the old server. That is also why you should use -R parameter to pull the mails from remote, not push. Sami > On 27. Jul 2020, at 17.13, Kishore Potnuru wrote: > > > I tried this command also. It didn't work. It shows syntax again. Plea

Re: Migration from one server to 2 new servers

2020-07-27 Thread Sami Ketola
> On 27. Jul 2020, at 23.11, Kishore Potnuru wrote: > > Hi , > > I have tried the below command from the new server. But I am getting an > error. Anything is missing here? > Are you sure that is dovecot 2.2.36? Sami

Re: Migration from one server to 2 new servers

2020-07-27 Thread Sami Ketola
> On 28. Jul 2020, at 0.10, Kishore Potnuru wrote: > > Yes. Please find the details of the servers below. I am executing the command > from one of the new servers. I find it very hard to believe this. Shall I look at the version control when backup was added as option to doveadm? 2.2.36 ha

Re: Migrating from qmail server, invalid option "o" in dsync

2020-07-30 Thread Sami Ketola
> On 30. Jul 2020, at 19.33, Aki Tuomi wrote: > >> >> On 30/07/2020 19:29 Justin Coleman wrote: >> >> >> Hi folks, >> I have an old server running qmail with several years of mails in maildir >> format I want to migrate to a new server, without requiring fresh client >> download of everyt

Re: INBOX sharing does not work

2020-08-19 Thread Sami Ketola
Hi, try setting mail_shared_explicit_inbox=yes https://doc.dovecot.org/settings/core/#mail-shared-explicit-inbox Sami > On 18. Aug 2020, at 23.56, Torsten wrote: > > Hello! > > INBOX sharing does not seem to work, although

Re: Deleted mail reappearing

2020-09-01 Thread Sami Ketola
> On 1. Sep 2020, at 7.28, John S wrote: > > Recently I upgraded dovecot quite a few major versions. Since then some > mailboxes are experiencing deleted mail reappearing. It seems to be happening > roughly once a day, but not for every mail client or mailbox, I have at least > two clients

Re: Btrfs RAID-10 performance

2020-09-07 Thread Sami Ketola
> On 7. Sep 2020, at 12.38, Miloslav Hůla wrote: > > Hello, > > I sent this into the Linux Kernel Btrfs mailing list and I got reply: "RAID-1 > would be preferable" > (https://lore.kernel.org/linux-btrfs/7b364356-7041-7d18-bd77-f60e0e2e2...@lechevalier.se/T/). > May I ask you for the comme

Re: Outlook problems on Apple systems(Mac os)

2020-09-08 Thread Sami Ketola
> On 8. Sep 2020, at 9.21, h...@cndns.com wrote: > > Outlook version is 16.40 Latest I could find was 16.21 and it seems to work just fine. Also if Outlook does not like the extra info after OK reply you probably should open a bug for microsoft not being RFC compliant on this. Sami

Re: Vacation sieve explained: how does it work?

2020-09-23 Thread Sami Ketola
> On 23. Sep 2020, at 15.15, Graham Leggett wrote: > > On 23 Sep 2020, at 14:07, Marc Roos wrote: > >> It is just a sieve rule. >> >> 1. >> On disk default file .dovecot.sieve >> >> 2. I am using roundcube webmail for that. >> >> 3. with if false # true >> # rule:[Out of Office] >> if tru

Re: How do I make "vnd.dovecot.environment" available?

2020-09-24 Thread Sami Ketola
> On 24. Sep 2020, at 18.58, Graham Leggett wrote: > > Hi all, > > According to the docs at https://wiki.dovecot.org/Pigeonhole/Sieve, some > extensions are not available by default. > > The docs tell me the sieve_plugins, sieve_extensions and/or > sieve_global_extensions configs are invol

Re: [EXT] How do I make "vnd.dovecot.environment" available?

2020-09-24 Thread Sami Ketola
> On 24. Sep 2020, at 22.50, Graham Leggett wrote: > > On 24 Sep 2020, at 20:45, Sami Ketola <mailto:sami.ket...@dovecot.fi>> wrote: > >> can you link your doveconf -n and the sieve script? > > [root@gatekeeper ~]# cat /var/lib/dovecot-sieve/default.s

Re: auth_username_format effective only within passdb/userdb

2020-09-30 Thread Sami Ketola
> On 30. Sep 2020, at 17.08, Bob wrote: > > Hello dovecot list. > > I have multiple passdb/userdb, some use %Ln some use %Lu. > How to make auth_username_format effective only within passdb/userdb? passdb { driver = passwd-file args = username_format=%Ln /etc/dovecot/dovecot-passwd } S

Re: dovecot lda deliver_log_format question

2020-10-01 Thread Sami Ketola
> On 1. Oct 2020, at 11.18, rud...@padaru.de wrote: > > Hey, > > i have an question about the deliver_log_format. > > My log looks sometimes like: > Oct 1 09:38:01 dd44414 dovecot: lda(user)<20009><9MYzGVmHdV8pTgAA+v7NQw>: > msgid=<20201001073801.628713ac0...@myserver.com >

Re: Providers running dovecot?

2020-10-10 Thread Sami Ketola
> On 7. Oct 2020, at 17.35, Olivier Cailloux > wrote: > > So far I didn’t find a service provider providing free e-mail accounts > (similar to GMail, Yahoo, …) and using Dovecot, which I find very > surprising, as I thought some of these big names, or at least some > smaller ones that I do not

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Sami Ketola
> On 14. Oct 2020, at 12.51, Victor Sudakov wrote: > > Those Mac clients who do not use nested folders do not seem to be > affected. That is, I've already suggested to the Mac Mail user that he > start Thunderbird, move all his mailboxes into the IMAP root folder, and > then go on using Mac Ma

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Sami Ketola
> On 14. Oct 2020, at 14.20, @lbutlr wrote: > > On 14 Oct 2020, at 04:24, Sami Ketola wrote: >> On 14. Oct 2020, at 12.51, Victor Sudakov wrote: >>> Those Mac clients who do not use nested folders do not seem to be >>> affected. That is, I've already

Re: Auro expunge

2020-10-15 Thread Sami Ketola
> On 13. Oct 2020, at 22.27, @lbutlr wrote: > > When using autoexpunge = 14 days in, for example. The trash of junk folders, > does that physically remove the messages from disk or simply mark them to be > removed and some other action needs to be taken? > > I ask because my mail server cra

  1   2   3   4   >