Re: A user's last access time

2020-10-19 Thread Sami Ketola
> On 19. Oct 2020, at 18.54, Victor Sudakov wrote: > > Dear Colleagues, > > Is there a file or directory within a user's Maildir, whose date of > modification or access indicates the last time the user accessed his/her > E-mail via IMAP or POP3? > > I'd like to figure out the time a user las

Re: A user's last access time

2020-10-20 Thread Sami Ketola
> On 20. Oct 2020, at 5.31, Victor Sudakov wrote: > > Sami Ketola wrote: >> >> >>> On 19. Oct 2020, at 18.54, Victor Sudakov wrote: >>> >>> Dear Colleagues, >>> >>> Is there a file or directory within a user's Maildi

Re: Looking for a guide to collect all e-mail from the ISP mail server

2020-10-26 Thread Sami Ketola
> On 26. Oct 2020, at 11.02, Arjen de Korte wrote: > > Citeren Sebastian Nielsen : > >> Because when I email to friends that are using gmail, my mail ends up in >> spam unless my friends put me in whitelist. Seems to vary however, and >> seems to get better with time. > > In order to preven

Re: Looking for a guide to collect all e-mail from the ISP mail server

2020-10-26 Thread Sami Ketola
> On 26. Oct 2020, at 11.08, lists wrote: > > I have no problems with Gmail from Digital Ocean. But I have both spf, DKIM, > DMARC and a reverse pointer. You need to not look spammy. > > One advantage to using a VPS is your IP is unique. That is you don't share it > with a spammer. Not so

Re: Looking for a guide to collect all e-mail from the ISP mail server

2020-10-26 Thread Sami Ketola
> On 26. Oct 2020, at 11.36, lists wrote: > > Actually the reverse pointer doesn't have to match. In fact this is > impossible if you are setting up virtual accounts on one server for different > domains. You just need to have a reverse pointer. > > Most email servers look to seen if the re

Re: dovecot replicator not replicating automatically?

2020-10-29 Thread Sami Ketola
> On 29. Oct 2020, at 17.24, Norman King wrote: > > Hello all. > > I'm trying to set up the dovecot replicator plugin to automatically replicate > mail between 2 servers. > > The servers are both using iredmail with dovecot as the imap server. > > I have everything working if i run dovecot

Re: doveadm sync usage ; root INBOX unsynced

2020-11-06 Thread Sami Ketola
> On 31. Oct 2020, at 16.19, François Poulain wrote: > > Le Sat, 31 Oct 2020 13:36:32 +0100, > François Poulain a écrit : > >> Does someone have on hint? > > I tried to remove all dirs and re-start using doveadm backup as did in > https://dovecot.org/pipermail/dovecot/2019-December/117963.h

Re: HIGHESTMODSEQ replication issue

2020-11-06 Thread Sami Ketola
> On 6. Nov 2020, at 14.12, Gustavo Ajeitos wrote: > El 4/11/20 a las 15:33, John Fawcett escribió: >> On 04/11/2020 18:33, Gustavo Ajeitos [Office365] wrote: >>> Hi John, >>> >>> Thank you for your answer! >>> >>> I agree with you, I think you recommendation should solve the problem, >>>

Re: Where is dovemon

2021-01-27 Thread Sami Ketola
> On 13. Jan 2021, at 13.30, li...@mlserv.org wrote: > > Hello, > > I found this link in the documentation: > > https://doc.dovecot.org/configuration_manual/dovemon/ > > But where can I find the program "dovemon"? I searched all over whithout > luck. In the source code, Google, nothing. It

Re: doveadm expunge logging

2021-02-04 Thread Sami Ketola
.. specifically mail_log plugin for protocol doveadm {} I myself made that mistake many times and loaded mail_log only for protocol imap {} and then wondering why events are not logged. Sami > On 4. Feb 2021, at 15.01, Aki Tuomi wrote: > > Did you also load `mail_log` plugin? > > Aki > >>

Re: dsync and sieve again

2021-02-22 Thread Sami Ketola
> On 17. Feb 2021, at 23.53, Edgaras Lukoševičius > wrote: > > Hi, > > I'm starting to wonder if dsync is supposed to sync sieve scripts at all? Or > should it work only as a part of replicator? Because I was not able to get it > working on multiple Dovecot and Pigeon versions, and I see l

Re: dsync and sieve again

2021-03-01 Thread Sami Ketola
er http { > address = > haproxy = no > port = 9166 > reuse_port = no > ssl = no > } > privileged_group = > process_limit = 1 > process_min_avail = 0 > protocol = > service_count = 0 > type = > unix_listener stats-reader

Re: Only INBOX is searched when using gmail with dovecot FTS and solr

2021-04-16 Thread Sami Ketola
Hi, IMAP SEARCH is only applied to SELECTed folder. If you want to do searches across all folders you need to implement Virtual/All folder like in this example for App Suite: https://documentation.open-xchange.com/7.10.5/ui/features/all-messages-folder.html

Re: Create a separated mailbox for archived mails

2021-10-20 Thread Sami Ketola
Hi, You should be able to configure something like this: namespace archive { disabled = no hidden = no list = yes prefix = ARCHIVE/ location = sdbox:/archive/location/%u } Sami > On 20. Oct 2021, at 16.16, Claudio Corvino

Re: Create a separated mailbox for archived mails

2021-10-20 Thread Sami Ketola
r than 5 years to the "archive", how can I tell client like Thunderbird > where to find archived e-mails? > > Thanks! > > On 20/10/21 15:37, Sami Ketola wrote: >> Hi, >> >> You should be able to configure something like this: >> >> namespace

Re: limiting cpu time of dovecot/imap

2021-11-01 Thread Sami Ketola
> On 1. Nov 2021, at 19.25, Marc wrote: > > What would be the best way to 'throttle' dovecot/imap processes of specific > users? > Can you please elaborate a bit how you would like to ‘throttle’ the processes? Give it less CPU time? That you can probably achieve by returning service/imap

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
> On 1. Dec 2021, at 0.30, Einar Bjarni Halldórsson wrote: > > Hi, > > We're migrating our mailboxes from Zimbra to dovecot, running on FreeBSD > 12.2. We're using mdbox and solr for fts. dovecot version 2.3.17. > > One of our mailboxes gets a bcc of every outgoing mail from our system and

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
> On 1. Dec 2021, at 10.59, Einar Bjarni Halldórsson wrote: > >> Did you have Messsage-ID listed in mail_always_cache_fields when you >> imported the mailbox? >> Do you have it now? >> >> If not, please add it and then use doveadm fetch to populate that in cache. >> >> I think the correct s

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
> On 1. Dec 2021, at 13.05, Einar Bjarni Halldórsson wrote: > > >> Adding it to mail_always_cache_fields does not miraculously make cache >> updated. Each mail needs to be accessed for that to happen. >> Ie. With doveadm fetch. > I couldn't figure out the doveadm fetch syntax for searching so

Re: Searching 30 GB mailbox

2021-12-02 Thread Sami Ketola
> On 2. Dec 2021, at 10.57, Einar Bjarni Halldórsson wrote: > root@ht-mailstore01:/data/mail/hostmasterlog/mdbox/mailboxes/INBOX/dbox-Mails > # doveadm dump . | grep -c hdr.MESSAGE-ID > 4464736 > > In dovecot config I have `fts_enforced = yes` and after the search for > Message-ID finishes a

Re: [OFFTOPIC] Outlook vs. Dovecot experience

2022-01-17 Thread Sami Ketola
> On 17. Jan 2022, at 10.31, Vladislav Kurz wrote: > > Dne 15. 01. 22 v 18:46 Panayiotis Fafakos napsal(a): >> The same here in Greece. >> The only Outlook version which respects open standards concerning the IMAP >> protocol is Outlook 2010. >> We thought at first that Outlook 2013 would also

Re: [OFFTOPIC] Outlook vs. Dovecot experience

2022-01-17 Thread Sami Ketola
> On 17. Jan 2022, at 10.54, Sami Ketola wrote: > > > >> On 17. Jan 2022, at 10.31, Vladislav Kurz > <mailto:vladislav.k...@webstep.net>> wrote: >> >> Dne 15. 01. 22 v 18:46 Panayiotis Fafakos napsal(a): >>> The same here in Greece. >>

Re: Extracting CLIENTID information from checkpassword or postlogin scripting

2022-01-17 Thread Sami Ketola
> On 17. Jan 2022, at 21.25, Dan Conway wrote: > > Hello, > > When extracting client_id information from the client connection (i.e. > setting imap_id_log = *) the information is directly logged by Dovecot as > such: > ID sent: name=Thunderbird, version=91.5.0 > > My question is, Is it poss

Re: S3 integration w Dovecot

2022-01-21 Thread Sami Ketola
> On 21. Jan 2022, at 19.38, Martin Olsen wrote: > > Good morning, day, evening :P > > As stated on documentation S3-compatible Storages — Dovecot documentation > only > AWS S3 is officially supported. > > However, we kno

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Sami Ketola
> On 27. Jan 2022, at 16.27, Laura Smith > wrote: > > Hi, > > As per the docs (https://wiki.dovecot.org/Tools/Doveadm/Sync) I'm presently > running doveadm backup multiple times with a view to eventual server > migration. > > I am seeing messages such as this: > Warning: Deleting mailbox

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Sami Ketola
> On 27. Jan 2022, at 19.32, Laura Smith > wrote: > > So I should not be using "-R" with "doveadm backup" then ? > > For "-R" the docs say "will instead pull messages from the remote to the > local storage." > > for "backup" the docs say "doveadm backup performs one-way synchronization" >

Re: Too many wait in auth process

2022-02-08 Thread Sami Ketola
> On 8. Feb 2022, at 12.27, itan...@univ-brest.fr wrote: > > service auth-worker { > client_limit = 1 > idle_kill = 0 > process_limit = 600 > process_min_avail = 0 > service_count = 1 > vsz_limit = 18446744073709551615 B > } What dovecot version is this? with 2.3.17 or later yo

Re: sieve: destination folder lookup in database?

2022-02-08 Thread Sami Ketola
> On 8. Feb 2022, at 3.59, Hadmut Danisch wrote: > > I found that dovecot's sieve has some database connections, e.g. LDAP or > > https://doc.dovecot.org/configuration_manual/sieve/dict/ > > but rather to receive the whole sieve script for a given recipient as the > owner of the mailbox. >

Re: macOS ManageSieve client?

2022-02-20 Thread Sami Ketola
> On 19. Feb 2022, at 16.20, Gerben Wierda wrote: > > I have a dovecot & dovecot-sieve running under MacPorts on my macOS ’server’. > I do a very low tech maintenance on sieve, by using the cli on the server and > edit sieve by hand for myself. I’d like to open this up to other users. > > Ho

Re: Import mailbox from different domain

2019-01-14 Thread Sami Ketola
> On 14 Jan 2019, at 22.47, Sergio Belkin wrote: > > Hi folks, > Let's say that I have on dovecot the domain example.net > and on MS Exchange example.com . > I've tried to import a mailbox from MS Exchange to Dovecot but it fails, I've > run: > > d

Re: Accidentally deleted .imap folder, how can I reindex?

2019-01-17 Thread Sami Ketola
Hi, doveadm force-resync -u user FOLDER Sami > On 17 Jan 2019, at 13.32, Les wrote: > > > Hello, > > I have several users with Maildir format. After upgrading from 2.2 to 2.3, > some directories could not be opened from thunderbird. The server log shows > all kinds of errors including thes

Re: Authentication lost within session

2019-01-17 Thread Sami Ketola
> On 17 Jan 2019, at 14.09, Marc Roos wrote: > > When I open the mail client (thunderbird), I can access the mailboxes > and all of a sudden, I am loosing the authenticated session. Any idea's > where to look? > > > > > Jan 17 12:42:04 mail04 dovecot: imap-login: Login: user=, > method=

Re: Authentication lost within session

2019-01-17 Thread Sami Ketola
> On 17 Jan 2019, at 14.19, Marc Roos wrote: > > > Same ip, connection, session happens after a few seconds, all on local > test network. Sorry I mistakenly overlooked at the ip:s. But anyway that is multiple connections and seems that PAM has some concurrency limit and refuses the third

Re: How to connect to a remote server and execute eg a search

2019-01-21 Thread Sami Ketola
> On 21 Jan 2019, at 21.32, Marc Roos wrote: > > > Is there a page that explains how to connect to a remote server? What is > the syntax of socket_path? > > > doveadm search -S XXX -u testuser mailbox INBOX ALL -S : Sami

Re: How to connect to a remote server and execute eg a search

2019-01-21 Thread Sami Ketola
> On 21 Jan 2019, at 22.00, Marc Roos wrote: > > > > Thanks Sami, And I should allow access on the remote server via > login_access_sockets? And the authenticated user via this connection is > then testuser I presume? > No. It's the doveadm service that it's contacting: service doveadm

Re: Moving messages between servers with different configurations

2019-01-22 Thread Sami Ketola
Hi, try running this on the NEW dovecot server: doveadm backup -u uid -R tcp:192.168.10.43:542 to pull the messages from old server. Sami > On 22 Jan 2019, at 16.52, Marc Roos wrote: > > > > Hi Martin, > > I feel a bit like an idiot, but I have been trying with copy, so I do > not lose

Re: Moving messages between servers with different configurations

2019-01-22 Thread Sami Ketola
Hi, not easily. You can always limit dsync to a single folder with -m folder, but then again it's designed to make 1:1 copy so you would need to rename the synced folder afterwards. Sami > On 22 Jan 2019, at 17.55, Marc Roos wrote: > > > This pulls over the whole test mailbox, but I need it

Re: problem in setting up proxy

2019-01-23 Thread Sami Ketola
> On 23 Jan 2019, at 16.33, Ted wrote: > > Hello, > > Absolutely, thanks, here it is: > > passdb { > args = nopassword=y > default_fields = proxy=y host=10.5.10.121 > driver = static > name = static > } at least change this to: passdb { driver = static name = static args = no

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

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 wan

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: 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 for

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: 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 proper

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: 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 /var/spool/postfix/

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 Dovec

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 NAMESPACE/

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: 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 clu

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: 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 mai

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 s

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: 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 > do

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 1

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: [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. It se

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? Depen

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: > chdir(/var/spool/mail

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: 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 glo

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

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 and

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) w

Re: [EXT] doveadm backup from gmail with imapc

2020-04-10 Thread Sami Ketola
> On 10 Apr 2020, at 14.07, Ben Mulvihill wrote: > > last answer from gmail: > 1586513176.126970 1944 OK Success last commands send by dovecot: > 1586513175.951965 1944 UID FETCH > 99624,99627,99628,99629,99631,99632,99633,99634,99635,99636,99637,99639 > ,99640,99641,99642,99643,99644,99

Re: [EXT] doveadm backup from gmail with imapc

2020-04-11 Thread Sami Ketola
> On 11 Apr 2020, at 15.20, Ben Mulvihill wrote: > > I tried setting imapc_cmd_timeout = 10s and that was enough to take the > download process past the ID stage and on to downloading messages. > doveadm still failed the same ASSERT and core dumps, just not so soon. > In four attempts I down

Re: setup sdbox per user with userdb

2020-04-18 Thread Sami Ketola
> On 17. Apr 2020, at 20.05, Maciek Jackowski wrote: > > Hi welcome > > I want to set some virtual users with sdbox mail_location > so I return in > password_query and user_query extra field mail > which contains > sdbox:/var/mail/example.com/user:INDEX=/var/mail_indexes/example.com/user:ALT=

Re: Recommendations on intrusion prevention/detection?

2020-04-22 Thread Sami Ketola
> On 22. Apr 2020, at 19.14, Michael Peddemors wrote: > The three most common attack vectors, (and attack volumes have never been > higher) are: > > * Sniffed unencrypted credentials > (Assume every home wifi router and CPE equipment are compromised ;) > * Re-used passwords where data is exp

Re: Hierarchy separator recommendation?

2020-04-24 Thread Sami Ketola
> On 24. Apr 2020, at 15.27, Admin Beckspaced wrote: > > Dear dovecot list, > > I'm using Maildir as mailbox format. > > Is there any recommendation for the namespace hierarchy separator? > > Currently I didn't set any. So it is the default of dot '.' this should work. > > I'm switiching

Re: Dovecot LDAP/AD with exim as mta

2020-05-04 Thread Sami Ketola
> On 4. May 2020, at 18.39, Benoît PELISSIER wrote: > > Hi, > > I have done configuration dovecot/exim/samba4ad. > > I use dovecot-lda not exim to deliver mail. > And dovecot to authentify users. > > I have users with mail address on AD. When i sent mail to user mail address, > its working

Re: Urgent - Help needed

2020-05-05 Thread Sami Ketola
Hi, With dovecot 2.2 you can log some events with mail_log plugin. https://doc.dovecot.org/configuration_manual/plugins/mail_event_logging/ Sami > On 5. May 2020, at 16.03, Kishore Potnuru wrote: > > Hi Benny and Dov

Re: Urgent - Help needed

2020-05-05 Thread Sami Ketola
> On 5. May 2020, at 16.30, Benny Pedersen wrote: > > On 2020-05-05 15:03, Kishore Potnuru wrote: > >> Actually my question is, is it possible to verify anything now whether >> the email has been pulled by application/server from the "Maildir/new" >> or "Maildir/cur" folder in my POP3 server?

Re: [EXT] Urgent - Help needed

2020-05-07 Thread Sami Ketola
> On 7. May 2020, at 12.45, Kishore Potnuru wrote: > > Hi All, > > Thank you for your replies and Suggestions. But, I still not clear on my > question. But It's live production server. At present I cannot make any > changes to it. That will take a long process to make any on this server. At

Re: What's a Reasonable Inbox Size?

2020-05-07 Thread Sami Ketola
> On 7. May 2020, at 18.39, Asai wrote: > > Greetings, > > I have several users who have inboxes that are over 20 GB. > > Lately I have noticed Dovecot logs say it's taking over 30 seconds to sync > their mailboxes. > > As email admins, how do you handle inboxes that are so large? Do you

Re: Support for MULTISEARCH

2020-05-10 Thread Sami Ketola
> On 10. May 2020, at 1.51, Peter wrote: > > Am 10.05.20 um 00:22 schrieb Daniel Miller: >> Thank you - I'm aware of the virtual folder option and do use it. My >> interest is for a Windows client, EM Client, which I otherwise really enjoy. >> Unfortunately, they've implemented server-side s

Re: [EXT] Support for MULTISEARCH

2020-05-11 Thread Sami Ketola
> On 10. May 2020, at 11.22, Peter wrote: > > Am 10.05.20 um 09:54 schrieb Sami Ketola: >>> On 10. May 2020, at 1.51, Peter wrote: >>> Am 10.05.20 um 00:22 schrieb Daniel Miller: >>>> Thank you - I'm aware of the virtual folder option and do use i

Re: Ms Exchange vs dovecot

2020-05-12 Thread Sami Ketola
> On 12. May 2020, at 19.18, Benny Pedersen wrote: > > On 2020-05-12 17:54, Robert Schetterer wrote: > >> At the end the subject question makes no sense... > > lets play football then :) > > i just wish that dovecot could be next generation exchange server, no kidding Our parent company Op

Re: dsync “destination” argument

2020-05-20 Thread Sami Ketola
> On 16. May 2020, at 3.46, Felipe Gasper wrote: > > Hello, > > Some code that I didn’t write but am maintaining passes a local > script’s path as dsync’s “destination” argument, like so: > > dsync -D -u john -v backup -R -1 "/code/dsync_client.pl" 127.0.0.1 > j...@mydomain.org > >

Re: dsync multiple mailboxes per connection?

2020-05-20 Thread Sami Ketola
> On 18. May 2020, at 17.18, Felipe Gasper wrote: > > Hello, > > Is it possible to batch syncs of multiple mailboxes in a single dsync > session? > > We’re transferring users between servers and want to use dsync to > transfer the mail; ideally we’d like to avoid creating a sep

Re: dsync “destination” argument

2020-05-22 Thread Sami Ketola
> On 20. May 2020, at 17.51, Felipe Gasper wrote: > >> >> On May 20, 2020, at 10:46 AM, Sami Ketola wrote: >> >>> On 16. May 2020, at 3.46, Felipe Gasper wrote: >>> >>> Hello, >>> >>> Some code that I didn’t

Re: service doveadm - how to debug proxying with director

2020-05-28 Thread Sami Ketola
> On 28. May 2020, at 11.12, patosec wrote: > > A 'doveadm user -u t...@test.com' command on the backend host: > userdb: t...@test.com > user : t...@test.com > home : /var/spool/imap/t...@test.com > quota : maildir:User quota > quota_rule: *:storage=1048576:messages=15300

Re: Running doveadm without config file?

2020-05-29 Thread Sami Ketola
> On 29. May 2020, at 23.09, Joseph Tam wrote: > > > It would be useful to run the "doveadm" utility on a non-dovecot server e.g. > generating password hashes: > > # echo plaintextpass | doveadm pw -s BLF-CRYPT > doveadm(user): Fatal: Error reading configuration: > stat(/etc/dov

Re: Running doveadm without config file?

2020-05-29 Thread Sami Ketola
> On 29. May 2020, at 23.43, Joseph Tam wrote: > > On Fri, 29 May 2020, Sami Ketola wrote: > >>> # echo plaintextpass | doveadm pw -s BLF-CRYPT >>> doveadm(user): Fatal: Error reading configuration: >>> stat(/etc/dovecot/dovecot.conf) failed

Re: auth_policy_server vs client_id and x-originating-ip

2020-06-01 Thread Sami Ketola
> On 31. May 2020, at 15.47, Zdeněk Zámečník wrote: > > I run into troubles when trying to set up auth_policy_server in Dovecot > 2.3.10.1. It works almost as expected but I cannot get client ID in this > process. > > By setting up "imap_id_log=*" I see in log that Dovecot gets details abou

Re: Error deleting INBOX when doing an imap sync

2020-06-03 Thread Sami Ketola
> On 3. Jun 2020, at 13.17, Des Magner wrote: > > Hi > > I am trying to set up a new mail server with dovecot. I got it all installed > and set up successfully but am running into problems trying to migrate from > my current email server. I tried the following command: > > doveadm -Dv -o i

Re: Mailbox & Server Down

2020-06-04 Thread Sami Ketola
> On 4. Jun 2020, at 18.17, Nicholas Taylor wrote: > > Fetchmail connects to your provider's e-mail server as if it were an MUA, > then feeds mail to your server's MTA as if it were a peer MTA. If your > provider doesn't allow client connections (by IMAP or POP), then you're right > that f

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
> On 7. Jun 2020, at 16.13, Gingko wrote: > > Hello, > > I also have issues using Dovecot Backup. > > I am trying to Backup (or possibly Sync - one way) a single user IMAP account > from a remote server, unknown type, to my own server. > > For that purpose, I defined the following parameter

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
> On 7. Jun 2020, at 18.20, John Stoffel wrote: > >> "Gingko" == Gingko writes: > > Gingko> I also have issues using Dovecot Backup. > > Gingko> I am trying to Backup (or possibly Sync - one way) a single > Gingko> user IMAP account from a remote server, unknown type, to my > Gingko> o

Re: Special use folders in mailbox hierarchy

2020-06-08 Thread Sami Ketola
> On 8. Jun 2020, at 0.23, Scott A. Wozny wrote: > > Dear Dovecot Gurus, > > Setting up my first IMAP server and looking at the folder structure, I had a > mailbox I built on a Dovecot server and a mailbox configured by a hosting > provider next to each other in Thunderbird and I noticed tha

Re: Doveadm Backup (other) issues

2020-06-09 Thread Sami Ketola
> On 8. Jun 2020, at 17.39, John Stoffel wrote: > >>>>>> "Sami" == Sami Ketola >>>>> <mailto:sami.ket...@open-xchange.com>> writes: > >>> On 7. Jun 2020, at 18.20, John Stoffel wrote: >>> >>>&

Re: Dovecot /VMWare Boxer

2020-06-11 Thread Sami Ketola
> On 11. Jun 2020, at 16.46, Djule Djukic wrote: > > > Hello all, > > My name is Djule Djukic and I am working for Hipotekarna Banka from > Montenegro. > We are using IMAP email server Dovecot version 2.1.17. As a email clients on > our corporate workstations we are using Thunderbird or Web

Re: Dovecot /VMWare Boxer

2020-06-11 Thread Sami Ketola
> On 11. Jun 2020, at 20.22, Ralph Seichter wrote: > > * Sami Ketola: > >> They do not rely on Date header. Date header is not mandatory and also >> it's not written on server side. It is written by the sender. > > Could you please elaborate on "

Re: Outlook vs Thunderbird

2020-07-06 Thread Sami Ketola
> On 7. Jul 2020, at 0.48, The Doctor wrote: > > Got a client that usually uses Outlook I think 2010. This person tends to > move > their e-mails to certain folers. On Thunderbird, the move shows. > Not on Outlook. > > Any explanation? Really sorry but I do not understand this question

Re: Dovecot Maildirs multi language

2020-07-07 Thread Sami Ketola
Hi, yes, you can override these settings by returning variables from userdb. for example can define: namespace INBOX { inbox = yes location = separator = / mailbox Spam { auto = suscribe special_use = \Junk hidden = yes } mailbox Roskaposti { auto = subscribe spec

Re: Dovecot Maildirs multi language

2020-07-07 Thread Sami Ketola
> On 7. Jul 2020, at 19.46, Sami Ketola wrote: > > Hi, > > yes, you can override these settings by returning variables from userdb. > > for example can define: > > namespace INBOX { > inbox = yes > location = > separator = / > mailbox Spam

Re: Urgent Help required

2020-07-08 Thread Sami Ketola
> On 8. Jul 2020, at 21.28, Kishore Potnuru wrote: > > Thank you for the reply. > > As per our current infrastructure, I can go maximum of the redhat 7.7 > version. Not more than that. Am I able to install or upgrade to dovecot 2.3 > version in redhat 7.7? > > I have another question. I un

Re: BUG report: dbox movealt doesn't move reverse (to default location)

2020-07-09 Thread Sami Ketola
> On 9. Jul 2020, at 15.12, Vitalii wrote: > > Hi, > > Here is the problem that occured: > #sudo doveadm -D altmove -u v...@vito.pp.ua all > works properly and moves all storage to alt dir. > However, to move it back to default storage I add '-r' by manual: > #sudo doveadm -D altmove -u v..

Re: Syncing emails from external server like Gmail

2020-07-11 Thread Sami Ketola
> On 11. Jul 2020, at 14.22, Vitalii wrote: > > Greeting > > I've managed to backup my emails from external email server via dsync > and imapc: protocol like this: > > doveadm -Dv -o imapc_user='u...@gmail.com' -o imapc_password="pass" > -o imapc_host=imap.gmail.com backup -R -u d...@ejoom.c

Re: Apple Mail and subfolders

2020-07-12 Thread Sami Ketola
> On 11. Jul 2020, at 22.50, Filip Hajný wrote: > >> I just created a subfolder in Apple mail. It shows up on the server as >> .list.Subfolder >> I drug your message into the folder, and the message shows up in Mail.app >> and shows up in the subfolder on the server >> >> # ls -lnR .lists.S

<    1   2   3   4   >