Re: Notification "API" for external replication

2023-07-31 Thread Sami Ketola
Hi, can't this just be triggered by using the notify plugin or push notification framework? Sami > On 24. Jul 2023, at 10.46, Heiko Schlittermann via dovecot > wrote: > > Hi Aki and all the Dovecot team, > > thank you for your work on Dovecot. > > As the &q

Re: [External] Help - Permissions issue with new mail

2023-05-10 Thread Sami Ketola
d be able to read of write the files. You have some other issue likely an issue with userdb {} returning userid or wrong userid. Sami ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: doveadm-search finds emails, but IMAP search fails to find any

2022-09-19 Thread Sami Ketola
Hi, you have different userdb setup for protocols imap, doveadm and lmtp? try to check differences in 'doveconf -f protocol=doveadm -n' and 'doveconf -f protocol=doveadm -n' Sami > On 19. Sep 2022, at 16.10, Philip Warner wrote: > > OK...I have made som

Re: Bypass quota check

2022-09-05 Thread Sami Ketola
xample if an email comes from a > specific ip address? There is multiple ways to implement this. When I did this long time ago I created separate userdb for protocol doveadm without quota restrictions and injected the overquota mail with doveadm command. Sami

Re: multiple / backup sql servers for sql server access

2022-08-30 Thread Sami Ketola
a few days before I > realized that there was an issue. How can I specify a backup server so that > if my primary sql server goes down, a backup sql server will be queried? Use haproxy. Sami

Re: Restrict IMAP login, but allow Postfix SASL

2022-06-03 Thread Sami Ketola
uld just configure a deny passdb inside protocol imap {} block with a list of users denied imap access. something like this: protocol imap { passdb { driver = passwd-file args = /etc/dovecot/imap-deny-passdb deny = yes } } Sami

Re: Can sync/migrate all mail from remote imap account except the main "INBOX"

2022-05-17 Thread Sami Ketola
igration framework to monitor the migration logs and then apply workarounds if end user and this strange INBOX.INBOX setup. Unfortunately that is all I can remember about it and I've since left Open Xchange and do not have an access to my old migration toolkit bits and command line documentations. Sami

Re: Can sync/migrate all mail from remote imap account except the main "INBOX"

2022-05-13 Thread Sami Ketola
-u saywhat...@letest.tld <mailto:saywhat...@letest.tld> -R imapc: Then check the saved rawlogs for hints if the remote even lists all subfolders in response. Sami

Re: Bad Signature - Both Roundcube and Squirrelmail webmail cannot search for anything + cannot open many emails because there are more than 200, 000 emails in my Inbox

2022-04-19 Thread Sami Ketola
ow many (important) emails you have not received because of this. Sami

Re: Unable to write *.sieve files while Dovecot is running

2022-04-08 Thread Sami Ketola
y feature in your operating system that blocks the modifications. Sami

Re: Simplifying Support of Virtual and System Users

2022-03-28 Thread Sami Ketola
name_format = %Lu (which is the default, not %n) then for the PAM passdb use username_filter = !*@* that will then skip all usernames that have @ included. Dovecot 2.2.30 or later required for that. Sami

Re: Doveadm backup...

2022-03-28 Thread Sami Ketola
retain all data as for example IMAP protocol does not allow client to set email UID numbers. Backup made with imapsync is always partial copy of the original and cannotbe restored identically. Sami

Re: macOS ManageSieve client?

2022-02-20 Thread Sami Ketola
e addon: https://addons.thunderbird.net/en-us/thunderbird/addon/sieve/ <https://addons.thunderbird.net/en-us/thunderbird/addon/sieve/> Not sure if there is any other native solution available. Sami

Re: sieve: destination folder lookup in database?

2022-02-08 Thread Sami Ketola
le: https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/ <https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/> Sami

Re: Too many wait in auth process

2022-02-08 Thread Sami Ketola
is this? with 2.3.17 or later you should probably use service_count=0 here. That would prevent auth-worker process from dying after each authentication and then need for new process to be spawned for each authentication. Sami

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

2022-01-27 Thread Sami Ketola
ot;backup" the docs say "doveadm backup performs one-way synchronization" > > That's where I'm confused. invoke ‘doveadm backup’ locally and it will sync TO remote. invoke ‘doveadm backup -R’ locally and it will sync FROM remote. Sami

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

2022-01-27 Thread Sami Ketola
> of the "-R" flag is in relation to "doveadm backup" ? Surely by definition > backup = remote -> local ? –R means reverse sync. Reverse direction. Sami

Re: S3 integration w Dovecot

2022-01-21 Thread Sami Ketola
ions. Dovecot Object Storage plugin is commercial offering from Open-Xchange. I suggest you contact their sales for information. Sami

Re: Extracting CLIENTID information from checkpassword or postlogin scripting

2022-01-17 Thread Sami Ketola
27;t work >args = /usr/local/bin/checkpassword.pl client_id > ># Doesn't work >args = /usr/local/bin/checkpassword.pl %{client_id} > ... > } > > What am I missing? Is it possible to get these variables into an external > script that checkpassword or postlogin executes? > > Is your client sending IMAP ID pre login? Sami

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: [OFFTOPIC] Outlook vs. Dovecot experience

2022-01-17 Thread Sami Ketola
adding IMAP account: https://imgur.com/a/sB3Kfu6 <https://imgur.com/a/sB3Kfu6> (says in image: For better experience, your messages will be synced to the Microsoft cloud) I cannot opt-out from this. (Just realised that this actually might be something forced by my employers Intune policies) Sami

Re: Searching 30 GB mailbox

2021-12-02 Thread Sami Ketola
d since it has to > figure out the sent date before it can search, but it's doable. If you have fts_enforced = yes then that SEARCH probably goes to solr even if message-id is found from cache. So the delay is probably on solr side. Can you try to remove fts_enforced for that one particular user? Sami

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
it just seems to dump index files. I tried > dumping the cache file but it complains that it can't auto detect the file > type. Try this: [root@ketola .INBOX]# pwd /vmail/s...@ketola.io/index/.INBOX [root@ketola .INBOX]# doveadm dump . | grep -c hdr.message-id 11007 This is Maildir, but it should work the same way with mdbox. Sami

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
cache updated. Each mail needs to be accessed for that to happen. Ie. With doveadm fetch. You can inspect the index files with doveadm dump to check what is cached. Not sure how it went with mdbox storage driver. Sami

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
.' > command. > > How can I find out what dovecot is doing in those 30 seconds? 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 setting is mail_always_cache_fields = hdr.message-id But you also might want to add some other fields Sami

Re: limiting cpu time of dovecot/imap

2021-11-01 Thread Sami Ketola
eve by returning service/imap/executable="/usr/bin/nice -n 10 /usr/libexec/dovecot/imap" from users for the throttled users. Sami

Re: Create a separated mailbox for archived mails

2021-10-20 Thread Sami Ketola
. Which you can also force with subscribe = auto Sami > On 20. Oct 2021, at 17.36, Claudio Corvino wrote: > > Hi Sami, > > thanks for your answer! > > Why should I use sdbox? > > If I configure the archive location on a NFS mountpoint and I move mails > olde

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 <mailto:ccorv...@trustita

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

2021-04-16 Thread Sami Ketola
pen-xchange.com/7.10.5/ui/features/all-messages-folder.html> Sami > On 12. Apr 2021, at 23.01, Marcel wrote: > > Any ideas on this? I am sure that I can't be the only one having issues with > the search function while using Gmail. > >> Hi, >> >> I am using

Re: dsync and sieve again

2021-03-01 Thread Sami Ketola
Hi, imapc does not sync sieve scripts. You need to use native doveadm protocol. Sami > On 25. Feb 2021, at 20.56, Edgaras Lukoševičius > wrote: > > Then what is a correct configuration? Because I was not able to get it to > work. > > It is a simple setup using Virtual

Re: dsync and sieve again

2021-02-22 Thread Sami Ketola
ecot 2.3.13 (89f716dc2) > - Pigeonhole 0.5.13 (cdd19fe3) > > It's a straightforward setup, nothing fancy. So the question is - is it > supposed to work at all without replicator? > It does sync sieve scripts as long as you have the plugin installed in both ends and have correct configuration regarding sieve script location. Sami

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?

Re: Where is dovemon

2021-01-27 Thread Sami Ketola
In the source code, Google, nothing. It seems as only the web site > would exist. > > Can somebody help me please Dovemon is only part of the enterprise edition. It is not open source. Contact Open-Xchange sales for more information. Sami

Re: HIGHESTMODSEQ replication issue

2020-11-06 Thread Sami Ketola
ip address affinity is probably the easiest way - if supported on >> your load balancer - and providing that your users are distributed on >> different ip addresses (e.g. not behind a NAT and presenting all as the >> same ip). Best solution is to put dovecot director ring in front of the backends to balance the load. Sami

Re: doveadm sync usage ; root INBOX unsynced

2020-11-06 Thread Sami Ketola
l/dovecot/2019-December/117963.html but it > didn't worked better. So if you delete *everything* from the target server and start from scratch with "doveadm backup" it still fails to sync INBOX? Can you collect debug logs and possibly imapc rawlogs from such session? Sami

Re: dovecot replicator not replicating automatically?

2020-10-29 Thread Sami Ketola
og notify > your mail_plugins does not even load replication plugin. Sami

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

2020-10-26 Thread Sami Ketola
6-254-93.uk <http://83-136-254-93.uk/>-lon1.upcloud.host[83.136.254.93]>: Client host rejected: eat a bag of dicks (in reply to RCPT TO command) and for that reason I have blacklisted you from any help requests. You may do the same whatever you are telling me to do. Sami

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

2020-10-26 Thread Sami Ketola
ntical email in terms of mail structure is silently dropped. There is just no way to guarantee a delivery to gmail. Sami

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

2020-10-26 Thread Sami Ketola
get silently dropped or moved to spam when working with gmail. Sami

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: A user's last access time

2020-10-19 Thread Sami Ketola
irectly but you might want to take a look at this: https://doc.dovecot.org/configuration_manual/lastlogin_plugin/ Sami

Re: Auro expunge

2020-10-15 Thread Sami Ketola
nd first email in order which did not match expunge criteria anymore. It started from start of the mailbox and stopped when first recent email was found. And if the mails were not in order it did leave rest of the folder untouched. Sami

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: Changing IMAP separator - does it break things?

2020-10-14 Thread Sami Ketola
t; then go on using Mac Mail. I hope that's what he has done. There is a bug in Mail.app that it always assumes / as hierarchy separator and completely ignores server provided separator. Not sure if anyone has created BUG to Apple about this. Atleast I have not. Sami

Re: Providers running dovecot?

2020-10-10 Thread Sami Ketola
maller ones that I do not know, would use Dovecot. There is always mailbox.org <http://mailbox.org/> available that runs on dovecot. Not free, but 1€/month is not far from that. Sami

Re: dovecot lda deliver_log_format question

2020-10-01 Thread Sami Ketola
deliver_log_format is prefixed with mail_log_prefix. default setting is "%s(%u)<%{pid}><%{session}>:" so service, userid, process id, session id. deliver_log_format part then starts from msgid. Sami

Re: auth_username_format effective only within passdb/userdb

2020-09-30 Thread Sami Ketola
cot/dovecot-passwd } Sami

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: How do I make "vnd.dovecot.environment" available?

2020-09-24 Thread Sami Ketola
quire command: unknown Sieve capability > `vnd.dovecot.environment'. > default: line 19: error: referring to variable in unknown namespace 'vnd'. > default: error: validation failed. > sievec(root): Fatal: failed to compile sieve script > '/var/lib/dovecot-sieve/default.sieve' can you link your doveconf -n and the sieve script? Sami

Re: Vacation sieve explained: how does it work?

2020-09-23 Thread Sami Ketola
the vacation message attribute through the > userdb lookup, could I then test if the variable was present, and then embed > that variable in the message? Pigeonhole can read sieve scripts from ldap too https://wiki.dovecot.org/Pigeonhole/Sieve/Configuration/LDAP <https://wiki.dovecot.org/Pigeonhole/Sieve/Configuration/LDAP> Sami

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: Btrfs RAID-10 performance

2020-09-07 Thread Sami Ketola
-0 devices. All harddrives are SAS 2.5" 15k > drives. > > Server serves as a IMAP with Dovecot 2.2.27-3+deb9u6, 4104 accounts, Mailbox > format, LMTP delivery. does "Mailbox format" mean mbox? If so, then there is your bottleneck. mbox is the slowest possible mailbox format there is. Sami

Re: Deleted mail reappearing

2020-09-01 Thread Sami Ketola
> two clients with this issue: Thunderbird and Outlook. > > Storage is local under two partitions, one as alternative storage. since you are running mdbox did you run purge before the upgrade? Sami

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

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

2020-07-30 Thread Sami Ketola
l ] [-r >> ] [-m ] [-g ] [-n | -N] [-x >> ] [-s ] [-t ] -d| >> > > doveadm -o pop3c_user=_user_ -o pop3c_password=_password_ backup -R -u _user_ > pop3c: Also I suggest to migrate over imap, not pop3. With pop3 migration you can't save the imap uid:s and all clients will see the mails as new. Sami

Re: Migration from one server to 2 new servers

2020-07-27 Thread Sami Ketola
adm? 2.2.36 has it: [root@ketola ~]# dovecot --version 2.2.36.8 (0c9d56b41) [root@ketola ~]# doveadm backup doveadm backup [-u |-A] [-S ] [-fPRU] [-l ] [-r ] [-m ] [-g ] [-n | -N] [-x ] [-s ] [-t ] -d| Sami

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

Re: Namespace issues & duplicate maiboxes

2020-07-17 Thread Sami Ketola
TY advertise SPECIAL-USE support? Mail.App will create those folders if SPECIAL-USE is not advertised and there was bugs at some point that stopped dovecot from adding SPECIAL-USE to the CAPABILITY string even after special_use folders were in config. Sami

Re: Error in namespace config; how to move messages

2020-07-16 Thread Sami Ketola
simply copy these messages to the relevant folder in the proper > namespace? Or do I need to export\import these? Some other procedure? > > Thanks in advance for any feedback… doveadm move. Sami

Re: dovecot 2.2.13

2020-07-14 Thread Sami Ketola
sages=0 vsize=0 > chandrasekhar messages=0 vsize=0 > admin messages=0 vsize=0 > gsnraju messages=0 vsize=0 You are not giving enough information to think. Sami

Re: Static users and doveadm

2020-07-14 Thread Sami Ketola
t; userdb { > args = uid=vmail gid=vmail home=/var/vmail allow_all_users=yes > userdb_warning_disable=yes > driver = static > } static does not support user listing. Where you think it would get the list of users from? Sami

Re: Apple Mail and subfolders

2020-07-14 Thread Sami Ketola
> On 12. Jul 2020, at 23.58, Filip Hajny wrote: > > >> 12. 7. 2020 v 22:37, Sami Ketola : >> >> I'm Apple user. I have separator set to / and I can create folders just fine >> without any encoding. Can you please record imap rawlogs where it shows wha

Re: Syncing emails from external server like Gmail

2020-07-14 Thread Sami Ketola
> On 13. Jul 2020, at 1.47, Vitalii wrote: > > On Sun, 12 Jul 2020 23:45:07 +0300 > Sami Ketola wrote: > >>> On 12. Jul 2020, at 23.38, Sami Ketola >>> wrote: >>> >>> >>> >>>> On 12. Jul 2020,

Re: Syncing emails from external server like Gmail

2020-07-12 Thread Sami Ketola
> On 12. Jul 2020, at 23.38, Sami Ketola wrote: > > > >> On 12. Jul 2020, at 12.54, Vitalii wrote: >> >> Panic: file imapc-sync.c: line 328 (imapc_initial_sync_check): >> assertion failed: (mail_index_is_expunged(view, lseq) || >> seq_range_exis

Re: Syncing emails from external server like Gmail

2020-07-12 Thread Sami Ketola
hink there was bug around this in some version. Sami

Re: Apple Mail and subfolders

2020-07-12 Thread Sami Ketola
understand. I'm Apple user. I have separator set to / and I can create folders just fine without any encoding. Can you please record imap rawlogs where it shows what command your Mail.App is sending? Sami

Re: Syncing emails from external server like Gmail

2020-07-11 Thread Sami Ketola
ot; > -o imapc_host=imap.gmail.com backup -R -u d...@ejoom.com imapc: > It basicly does it to verify mail -> UID pairing. You can try to save imapc indexes locally by defining imapc location as: imapc:~/.imapc to see if it can be skipped. Sami

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

2020-07-09 Thread Sami Ketola
l: > #sudo doveadm -D altmove -u v...@vito.pp.ua -r all > That seems behave like the original command ignoring '-r'. Can you try if works if you put the parameters to documented order? like: doveadm altmove -r -u victim all Sami

Re: Urgent Help required

2020-07-08 Thread Sami Ketola
s 2.3.10.1 CE release for CentOS 6. It should work on RHEL 6 too. But since support for CentOS/RHEL 6 is dropping soon, I think we will stop building CentOS 6 CE releases soon. Not sure what will be the last one as I'm not in charge of that. Sami

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: Dovecot Maildirs multi language

2020-07-07 Thread Sami Ketola
special_use = \Junk hidden = yes } } and then from userdb return: mailbox/inbox/mailbox/Spam/hidden=no or mailbox/inbox/mailbox/Roskaposti/hidden=no if to show the language specific Spam folder. Sami > On 7. Jul 2020, at 9.38, Luca Müller wrote: > > Hello, > > I'm hos

Re: Outlook vs Thunderbird

2020-07-06 Thread Sami Ketola
I do not understand this question at all. Can you please rephrase? Sami

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: Dovecot /VMWare Boxer

2020-06-11 Thread Sami Ketola
e header. Date header is not mandatory and also it's not written on server side. It is written by the sender. Sami

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: Special use folders in mailbox hierarchy

2020-06-08 Thread Sami Ketola
oot, some put them under INBOX. That is why special_use exists so that server can tell clients which folders are for special use. Sami

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
thub site, or see if it's > packaged on your client end. This is incorrect. Doveadm dsync can be used to pull mails from remote imap server that is not dovecot. > https://github.com/imapsync/imapsync > > This is a much simpler way to pull down a single IMAP account. .. but imapsync does not migrate all data. Sami

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
necessary that the source user name be the same as the > destination user name? Is it possible to backup an IMAP account to a user > account having a completely different name? > Nope. Source and destination usernames can be different. Please post your doveconf -n as this is probably an error on your local config. Sami

Re: Mailbox & Server Down

2020-06-04 Thread Sami Ketola
Just setup your own MX with priority 10 and your providers spooling MX with priority 20 in DNS records and you are good to go. Sami

Re: Error deleting INBOX when doing an imap sync

2020-06-03 Thread Sami Ketola
e Inbox on my current > mail server so it is trying to delete it. If so is there a way I can change > my configuration to allow it to be deleted? start from clean setup for the first backup run. Ie delete local mails. or move them away. Sami

Re: auth_policy_server vs client_id and x-originating-ip

2020-06-01 Thread Sami Ketola
il auth-policy[10357]: tls: true > May 31 14:27:41 mail auth-policy[10357]: } > This completely depends on the imap client. Some clients send IMAP ID pre-login and in that case it can be relayed to auth policy server. Some clients send IMAP ID post-login and then auth policy stuff is already completed without the information. Sami

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: Running doveadm without config file?

2020-05-29 Thread Sami Ketola
eading configuration: > stat(/etc/dovecot/dovecot.conf) failed: No such file or directory > > Is there a way to circumvent the need for a configuration file? I don't think so. But you can specify the location of the config file with -c /path/to/file like echo -n plaintextpass | doveadm -c /root/emptyfile.conf pw -s SHA1 Sami

Re: service doveadm - how to debug proxying with director

2020-05-28 Thread Sami Ketola
a_rule: *:storage=1048576:messages=153000 > > A 'doveadm user -u t...@test.com' command on the director host: > userdb: t...@test.com > user : t...@test.com > doveadm user is executed locally as director has its own userdb. try doveadm mailbox list -u Sami

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: dsync multiple mailboxes per connection?

2020-05-20 Thread Sami Ketola
’d like to avoid creating a separate TCP > connection per user. > > Thank you! > Not possible. But can run multiple users parallel. Sami

Re: dsync “destination” argument

2020-05-20 Thread Sami Ketola
his usage described in dsync’s man page. I just want to be > sure: is this a supported use of dsync? > > Thank you! Is there any reason why you are doing it this way and not using it the way it is usually used? backup does not support -1 btw. doveadm backup -u john -R ssh sshuser@remote "sudo /usr/bin/doveadm dsync-server -u john" Sami

Re: Ms Exchange vs dovecot

2020-05-12 Thread Sami Ketola
no kidding Our parent company Open-Xchange offers one. It's called App Suite.  Actually Dovecot Oy no longer exists as we are part of Open-Xchange now. > > at the current state i get more on using cyrus-* > > why was dovecot-oy even created ? To provide paid support and consulting. Sami

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

2020-05-10 Thread Sami Ketola
t does > multisearch! Virtual folder scales just fine. What makes you think it does not? We have customers that have users with thousand folders and millions of emails and still virtual folder scales. Sami

Re: What's a Reasonable Inbox Size?

2020-05-07 Thread Sami Ketola
ge number of files in single folder than the pure size of the mails combined. For filesystem based storage formats number of files is always a challenge. In your case mdbox probably would work better as it stores multiple mails in single file. The only downside is that it requires periodic purge operations to remove deleted mails from middle of the mail bundles. Sami

Re: [EXT] Urgent - Help needed

2020-05-07 Thread Sami Ketola
.dovecot.org/configuration_manual/plugins/mail_event_logging/> also if you want to check if that outlook does read the mail (ie. mail gets moved from new to cur) you need to configure imap_logout_format and pop3_logout_format to show number of mails fetched. see: https://doc.dovecot.org/settings/core/ <https://doc.dovecot.org/settings/core/> Sami

Re: Urgent - Help needed

2020-05-05 Thread Sami Ketola
the email. But do we have any log in POP3 server, >> stating the email has been to sent to Outlook? > > pop3 will remove emails on server It is a client setting to delete or leave mails on server with pop3. Sami

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/ <https://doc.dovecot.org/configuration_manual/plugins/mail_event_logging/> Sami > On 5. May 2020, at 16.03, Kishore Potnuru wrote: > &g

Re: Dovecot LDAP/AD with exim as mta

2020-05-04 Thread Sami Ketola
ecot-lda does not do it. you need external software to implement the mailing list. I believe both postfix and exim can do that. Sami

Re: Hierarchy separator recommendation?

2020-04-24 Thread Sami Ketola
> Or can i always change this namespace hierarchy separator later on? This would cause similar caching problems on end user devices. Sami

Re: Recommendations on intrusion prevention/detection?

2020-04-22 Thread Sami Ketola
sswords where data is exposed from another site's breach > (Users WANT to re-use passwords, this is where 2FA shines) > * Weak Passwords > (Users like using weak passwords, so implement password restrictions) Actually by far the biggest source of stolen credentials is viruses/trojans harvesting them. Sami

Re: setup sdbox per user with userdb

2020-04-18 Thread Sami Ketola
f -n, but you probably should return userdb_mail in your password_query instead of mail. Sami

Re: [EXT] doveadm backup from gmail with imapc

2020-04-11 Thread Sami Ketola
ISPs fair usage limits. But by repeating > the command from time to time I should gradually be able to synchronise > the whole mailbox. Nice! Those assert crashes are probably a bug of somekind. Maybe Aki or Timo could take a look at them. Sami

  1   2   3   4   >