Re: Failed to map transaction log path - Stale file handle

2021-03-01 Thread Aki Tuomi
> On 01/03/2021 14:59 Gonzalo Palacios Goicolea > wrote: > > > Hi All, > > We recently moved from RHEL6 to RHEL7 and updated dovecot from > dovecot-2.2.10-1_14.el6.x86_64 to dovecot-2.2.36-8.el7.x86_64. We use NFS for > storing the mail, and 5 servers running at the same time. > Before up

Re: Can master users retain private \Seen flags ?

2021-03-01 Thread Aki Tuomi
le to retain private \Seen flags between > sa...@example.com*al...@example.com and sa...@example.com*b...@example.com? > > Thanks again for your help! > > > ‐‐‐ Original Message ‐‐‐ > On Monday, March 1, 2021 10:46 AM, Aki Tuomi > wrote: > > > > On 01/03/2021 10

Re: Search is uninterruptable

2021-03-01 Thread Aki Tuomi
> On 01/03/2021 15:30 van der Kamp, John wrote: > > > Hi, > > When a user is doing a search, and the data is not indexed, then a search can > take a very long time. It seems that search process is uninterruptable. The > IMAP connection gets a status message with an ETA every so often, but

Re: Can master users retain private \Seen flags ?

2021-03-01 Thread Aki Tuomi
> On 01/03/2021 10:55 tuuialou wrote: > > > Hello, > I am trying to setup a shared mailbox for a small team. Let's say Alice and > Bob both need to read and answer sa...@example.com. I would like Alice and > Bob to retain private \Seen flags on sa...@example.com. I know I can achieve > that

Re: last login plugins

2021-02-28 Thread Aki Tuomi
ovecotuserdb {  >driver = prefetch}userdb {  args = >/etc/dovecot/dovecot-sql.conf.ext last_login_key=last-login/%u/%d/%r/%l/%a  >driver = sql} > > > > > >Aki Tuomi () 在 2021年2月28日星期日 下午03:56:09 >[GMT+8] 寫道: > > It goes into the arguments section... > >Not

Re: last login plugins

2021-02-27 Thread Aki Tuomi
last_login_key > > # > If in userdb, set > default_fields = last_login_key = last-login/%u/%d/%r/%l/%a > Error: > auth: Fatal: Invalid userdb template last_login_key = > last-login/%u/%d/%r/%l/%a - key must not be empty > > > what is my wrongs about? thanks >

Re: last login plugins

2021-02-27 Thread Aki Tuomi
nown variable '%k' > Error: Failed to expand plugin setting last_login_key = > 'last-login/%u/%d/%r/%l/%b': Unknown variable '%b' > Error: Failed to expand plugin setting last_login_key = > 'last-login/%u/%d/%r/%l/%m': Unknown variable '%m&

Re: last login plugins

2021-02-27 Thread Aki Tuomi
19日星期五 下午12:15:10 [GMT+8] 寫道: > >but I need logging other fields such as port 143 or 993, and tls 1.1 or >tls 1.3, client hostname, what should I do it ? >https://doc.dovecot.org/configuration_manual/config_file/config_variables/ > >Aki Tuomi () 在 2021年2月18日星期四 下午03:04:10 >

Re: doveadm user '*' vs sssd: enumeration works only once

2021-02-25 Thread Aki Tuomi
> On 25/02/2021 13:17 Heiko Schlittermann wrote: > > > Aki Tuomi (Do 25 Feb 2021 12:06:43 CET): > > > > > > diff --git a/src/auth/userdb-passwd.c b/src/auth/userdb-passwd.c > > > index 70b9969f6..4682dc873 100644 > > > --- a/src/auth/user

Re: doveadm user '*' vs sssd: enumeration works only once

2021-02-25 Thread Aki Tuomi
> On 25/02/2021 13:06 Aki Tuomi wrote: > > > > On 25/02/2021 11:41 Heiko Schlittermann wrote: > > > > > > Heiko Schlittermann (Do 25 Feb 2021 10:36:21 CET): > > > > within a small timeframe returns a subset of the local users only (the >

Re: doveadm user '*' vs sssd: enumeration works only once

2021-02-25 Thread Aki Tuomi
> On 25/02/2021 11:41 Heiko Schlittermann wrote: > > > Heiko Schlittermann (Do 25 Feb 2021 10:36:21 CET): > > > within a small timeframe returns a subset of the local users only (the > > say count(); > I suppose the following would fix the issue: > (not tested yet) > > diff --git a/src/

Re: LMDB support?

2021-02-23 Thread Aki Tuomi
> On 24/02/2021 08:15 Mark Constable wrote: > > > Hi all, is there any way I could use LMDB for userdb and passdb lookups? You can use Lua userdb/passdb. See https://doc.dovecot.org/configuration_manual/authentication/lua_based_authentication/ Aki

Re: Dovecot dsync certificate errors

2021-02-21 Thread Aki Tuomi
> On 22/02/2021 00:43 Stephan Mending wrote: > > > Hi *, > I've setup two dovecot instances. > As soon as i send the syncing part of dovecot to work I see the following > errors in my maillogs. > > $ cat /var/log/mail.log > doveadm(inbox@sec-level.domain): Error: doveadm server disconne

Re: Some questions about mail_crypt setups

2021-02-21 Thread Aki Tuomi
> On 22/02/2021 00:20 deano-dove...@areyes.com wrote: > > > Some questions about mail_crypt setups > I have global mail enecryption working nicely, and replication works nicely > between two systems. The main problem is that the private and public keys are > *right there* on the server in /et

Re: mail_crypt_global_private_key: Couldn't parse private key: Unknown/invalid PEM key type

2021-02-20 Thread Aki Tuomi
gt; test key was in encrypted 'PKCS8' format. > > The solution was to convert our private key to pkcs8 format: > > cat private_key_encrypted.pem | base64 -d | \ > openssl pkcs8 -topk8 -v2 aes-256-cbc -v2prf hmacWithSHA256 | \ > base64 -w0 > private_key_encrypted_pkcs8.pem &g

Re: mail_crypt_global_private_key: Couldn't parse private key: Unknown/invalid PEM key type

2021-02-20 Thread Aki Tuomi
Can you tell us what you did differently? Aki On 20 February 2021 11.33.15 EET, Antti Antinoja wrote: >Got it! My private test key was in wrong format. > >Cheers, >Antti > >On Sat, 20 Feb 2021 14:15:07 +0800 >Antti Antinoja wrote: > >> Version: Dovecot 2.3.13 (89f716dc2) >> >> Issue: Dovecot s

Re: Sieve regex error "invalid preceding regular expression"

2021-02-18 Thread Aki Tuomi
> On 19/02/2021 07:54 m...@shadrinden.ru wrote: > > > Hi, everyone! > > I'm trying to get the detail part of the address (i.e. anything that comes > between + and @ in the address of this type: alias+det...@mydomain.tld) in > this sieve: > > if address :regex :localpart "to" "\+(.*)" { >

Re: Dovecot v2.3.14.rc1 released

2021-02-18 Thread Aki Tuomi
14-0.rc1.x86_64/usr/lib64/dovecot/lib21_fts_lucene_plugin.so > > > If you are asking why I need to rebuild from source, is because I'm still > migration some server from CentOS 6 to 7. > Thanks > > Il 17/02/21 15:38, Aki Tuomi ha scritto: > > > We

Re: last login plugins

2021-02-17 Thread Aki Tuomi
> On 18/02/2021 08:57 Henry wrote: > > > > > Anyone kwon the last-login plugins can using Authentication variables such as  > %m mechanism, %a local_port . > we want to record this in DB, thanks You can use this syntax to add further fields for last_login plugin. map { pattern = share

Dovecot v2.3.14.rc1 released

2021-02-17 Thread Aki Tuomi
https://repo.dovecot.org/ Docker images are not available for this release candidate. Kind regards, Aki Tuomi Open-Xchange oy --- * Added new aliases for some variables. Usage of the old ones is possible, but discouraged. (These were partially added already to v2.3.13.) See https

Pigeonhole v0.5.14.rc1 released

2021-02-17 Thread Aki Tuomi
-pigeonhole-0.5.14.rc1.tar.gz.sig Binary packages in https://repo.dovecot.org/ Docker images are not available for this release candidate. Kind regards, Aki Tuomi Open-Xchange oy --- * IMAP FILTER command: cmd-filter-sieve - Do not allow NIL as script name argument. signature.asc Description: PGP

Re: sieve_after seems to not bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13

2021-02-16 Thread Aki Tuomi
> On 16/02/2021 13:00 Bug Report wrote: > > > it looks like sieve_after gets executed only when sending to an address > defined in script failsTemat: Re: sieve_after seems to not bring any effect > to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13 > Data: 2021-02-12 10:27 Did you try mai

Re: quota_max_mail_size and dsync

2021-02-15 Thread Aki Tuomi
protocol doveadm { plugin { quota_max_mail_size = -1 } } this might work. Alternatively you can define quota_max_mail_size for protocols you need it for. Aki > On 15/02/2021 16:41 Edgaras Lukoševičius > wrote: > > > Hello, > > as we have enabled quota_max_mail_size, dsync is no

Re: sieve_after seems to not bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13

2021-02-12 Thread Aki Tuomi
Can you try turning on mail_debug=yes and see if it sheds any light why the script(s) aren't executed? Aki > Data: 2021-02-11 12:46 > Nadawca: "Aki Tuomi" > Adresat: "Bug Report" ; dovecot@dovecot.org; > > > > >> > >> On 11/02/2

Re: sieve_after seems to not bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13

2021-02-11 Thread Aki Tuomi
> On 11/02/2021 13:30 Bug Report wrote: > > > dovecot 2.3.13 (89f716dc2) > > dovecot-pigeonhole-0.5.13 > > OS: FreeBSD amd64 12.2-RELEASE > > After following code > > -- > > require ["copy"]; > > # rule:[redirect] > > if true > > { > > redirect :copy "m...@mail.com"; > >

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-09 Thread Aki Tuomi
Return the password with {CRAM-MD5} or {MD5-CRYPT} prefix, then dovecot will know the password scheme. Aki > On 10/02/2021 05:04 Pablo Murillo wrote: > > > Hi > > I'm made a lot of test trying to get SLQ auth driver work with > vpopmail/mysql configured with many domains (one table for eac

Re: stat writer error

2021-02-07 Thread Aki Tuomi
Hi! For small systems I'd recommend fixing this with service stats {   unix-socket stats-writer {     mode = 0666   } } The error itself is not really an error, and it only means that you don't get stats from the process warning about these. If you are not using the new metrics system this is no

Re: Service unavailable, lots of idle dovecot-login processes

2021-02-05 Thread Aki Tuomi
Version is 2.3.4.1. It's a production system, I'd like to avoid having > to compile my own version of dovecot unless there's no way around it. > > Greetings, > Wolfgang > > On 2/5/21 10:51 AM, Aki Tuomi wrote: > > Can you set > > > > ve

Re: Service unavailable, lots of idle dovecot-login processes

2021-02-05 Thread Aki Tuomi
Can you set verbose_proctitle = yes this should provide more information what the process is up to. Can you also check your logs? Aki > On 05/02/2021 11:46 Wolfgang wrote: > > > Hi, > > Sorry, the problem is back! Not solved, again no change except that I > lowered the limits again and re

Re: logging verbosity

2021-02-04 Thread Aki Tuomi
> On 05/02/2021 08:11 Fourhundred Thecat <400the...@gmx.ch> wrote: > > > > On 2021-02-05 06:00, Jeff Abrahamson wrote: > > On 05/02/2021 05:17, Fourhundred Thecat wrote: > >> Hello, > >> > >> I definitely want to keep logging unsuccessful auth, but how can I > >> suppress the verbose rest? > >

Re: Feb 03 13:27:19 aggregator: Fatal: chroot(/var/lib/dovecot/run/dovecot/.) failed: Operation not permitted

2021-02-04 Thread Aki Tuomi
Uh, no. RESTRICT_ACCESS_FLAG_ALLOW_ROOT *allows* running as root, it does not *force* running as root. The problem here is that dovecot thinks it's able to do chroot when gid = 0 and thus attempts to chroot. To avoid this, you could do service aggregator { chroot = } so aggregator process

Re: Several users, same mailbox

2021-02-04 Thread Aki Tuomi
> On 04/02/2021 17:20 Adrian wrote: > > > Hello, > > I have had Dovecot set up to use PAM authentication, as my current users > all have system accounts on Debian. > > I've just moved over to passwdfile authentication, because I want to > add new users who won't have logins on the system.

Re: doveadm expunge logging

2021-02-04 Thread Aki Tuomi
Did you also load `mail_log` plugin? Aki > On 04/02/2021 14:52 Arkadiusz Miśkiewicz wrote: > > > Hello. > > dovecot 2.3.13 here, using > > doveadm -c /etc/my.conf expunge -A mailbox SomeFolder savedbefore 31d > > and my.conf includes > > plugin { > mail_log_events = delete undelete expu

Re: AW: AW: Custom quota exeed message

2021-02-03 Thread Aki Tuomi
ct way to define an userdb variable? I have read alot about > but dont yet understood, seemingly.. > > Mit freundlichen Grüßen > Yours sincerely > Pascal Rudolf > > > > -Ursprüngliche Nachricht- > Von: dovecot Im Auftrag von Aki Tuomi > Gesendet: Mittwoc

Re: AW: Custom quota exeed message

2021-02-03 Thread Aki Tuomi
? Ist important for us, that the sender from the > mail see the correct mail-adresse where he send the mail, and no internal > user and servername. > > Mit freundlichen Grüßen > Yours sincerely > > > Pascal Rudolf > > > -Ursprüngliche Nachricht- >

Re: error getting messages from mdbox_deleted

2021-02-03 Thread Aki Tuomi
> On 01/02/2021 23:49 Marc Roos wrote: > > > I was trying to list messages deleted with > > doveadm -f flow -o mail_location=mdbox_deleted:/home/mail/xxx /mdbox > fetch -u xxx "mailbox date.saved guid" ALL > > And getting this error. What is this about? > > doveadm(xxx): Pan

RE: error getting messages from mdbox_deleted

2021-02-03 Thread Aki Tuomi
> On 03/02/2021 12:31 Marc wrote: > > > > > I was trying to list messages deleted with > > > > > > doveadm -f flow -o mail_location=mdbox_deleted:/home/mail/xxx > > /mdbox fetch -u xxx "mailbox date.saved guid" ALL > > > > > > And getting this error. What is this about? > > > > > > d

Re: Custom quota exeed message

2021-02-02 Thread Aki Tuomi
> On 02/02/2021 11:29 rud...@padaru.de wrote: > > > Hey there, > > i need some help with custom quota messages with dovecot and postfix. > > The quota setup is clear and easy, now i want to manipulate the exceed > message, which is generated, if the mailbox is full. > > Now i got something

Re: Service unavailable, lots of idle dovecot-login processes

2021-02-02 Thread Aki Tuomi
> On 02/02/2021 14:59 Wolfgang wrote: > > > Hi, > > Web search turned no results to this problem: > > We have a small site running private e-mail for maybe 12 people, dovecot > is used by Postfix-SASL and IMAP clients. > > PROBLEM: When starting dovecot, after a few hours, IMAP clients are

Re: Reminder Re: Dovecot Gmail OAuth2.0 Setting Question

2021-02-01 Thread Aki Tuomi
> > > > 1611654464.207331 { > > > > > > 1611654464.207331 "error": { > > > > > > 1611654464.207331 "code": 401, > > > > > > 1611654464.207331 "message": "Request is missi

Re: Unknown euid and egid, wrong mail directory

2021-01-30 Thread Aki Tuomi
> On 30/01/2021 22:51 Michael Agbaglo wrote: > > > Hi! > > > Trying to set up dovecot for local accounts and virtual users, sending > test mail fails: dovecot sees a permission problem in /home but the mail > should go to /srv/mail/example.net/alice. > > "euid=1001() egid=1001()" 1001 does

Re: 10G mails use 90G on disk

2021-01-29 Thread Aki Tuomi
> On 29/01/2021 13:24 Markus Schönhaber wrote: > > > 29.01.21 11:46 +0100, Aki Tuomi: > > >> On 29/01/2021 12:41 Markus Schönhaber > >> wrote: > >> > >> > >> Hello, > >> > >> on a system I administer the

Re: 10G mails use 90G on disk

2021-01-29 Thread Aki Tuomi
> On 29/01/2021 12:41 Markus Schönhaber wrote: > > > Hello, > > on a system I administer the disk where Dovecot's mailstore (mdbox) > resides got filled up to the brim although the combined quotas for the > users are much smaller than the disk's capacity. > > For one user I see the followin

Re: Enabling auth_cache_verify_password_with_worker disables proxy mode

2021-01-28 Thread Aki Tuomi
> On 28/01/2021 20:22 Malte Schmidt wrote: > > > Setting "auth_cache_verify_password_with_worker = yes" in order to leverage > multiple cores for the Dovecot authentication-process causes Dovecot not to > proxy anymore. With debug-logging I figured: > > auth_cache_verify_password_with_worke

Re: Master user password mismatch

2021-01-28 Thread Aki Tuomi
Did you try with `doveadm pw -t 'hash-goes-here'`? Sometimes you need to use passdb { driver = passwd-file args = scheme=your-pw-scheme /path/to/file } Note that the path must be placed last. Aki > On 28/01/2021 20:53 Gregory Sloop wrote: > > > Anyone? > > > > > >Trying

Re: Infinity loop when run "doveadm quota get -A" from Dovecot Director with 500 users

2021-01-28 Thread Aki Tuomi
Thanks for the patch, we'll take a look at it. Aki > On 29/01/2021 04:49 Duc Anh Do wrote: > > > Hi all, > > Because I think this is a race condition so instead of using only one > current_ioloop: > * I create ioloop for each Backend in the list of Director > * I think connections from a

Re: Shared mailboxes, users with dots and a bug in subscriptions

2021-01-28 Thread Aki Tuomi
> On 28/01/2021 16:55 Tobias Stein wrote: > > > Hi Aki, > > Thanks for your prompt reply! :-) > And because i classically forgot to attach > the dovecot-sysreport, i'll deliver it now. :-) > > > Yes, you're right. Setting :LAYOUT=fs would be a workaround. > I'd also have to migrate every >

Re: Shared mailboxes, users with dots and a bug in subscriptions

2021-01-28 Thread Aki Tuomi
> On 28/01/2021 15:15 Tobias Stein wrote: > > > Hi, > > i'm running Dovecot 2.3.14.alpha0 with shared namespaces > and stumbled across some errors messages logged, > when the list of subscribed mailboxes is queried by a client. > For every distinct account of in the list of subscriptions > t

Re: 2.13 read, i_stream_read_memarea: assertion failed: (!stream->blocking)

2021-01-28 Thread Aki Tuomi
Hi! Would it be possible for you to provide the mail through obfuscation. You can use https://dovecot.org/tools/maildir-obfuscate.pl for this purpose. If you are using maildir format, you can decompress the mail with lz4 decompression tool. If you are using dbox format, it's slightly trickier a

Re: Dovecot Mail Server - Cloud Compatibility

2021-01-27 Thread Aki Tuomi
> On 27/01/2021 23:48 Kristie Buller wrote: > > > I have a question regarding the Dovecot Server compatibility with Azure > Cloud, which our application is migrating to.We are currently usingDovecot > Mail Server v2.3.4. I need to verify that the software is compatible with > that type of e

Re: [EXT] Re: Reminder Re: Dovecot Gmail OAuth2.0 Setting Question

2021-01-26 Thread Aki Tuomi
gt; 〒163-6017 東京都新宿区西新宿6-8-1 住友不動産新宿オークタワー > 株式会社 ジャストシステム 技術企画室 情報システムグループ 福田泰葵 > e-mail: taiki.fuk...@justsystems.com > 内線: 5158 > TEL: 03-5324-7900 > mobile: 080-6198-7328 > -------

Re: [EXT] Re: Reminder Re: Dovecot Gmail OAuth2.0 Setting Question

2021-01-26 Thread Aki Tuomi
線: 5158 > TEL: 03-5324-7900 > mobile: 080-6198-7328 > --------- > > > > 2021年1月26日(火) 15:45 Aki Tuomi : > > Yes, however I still cannot see rawlogs. > > > > Aki

Re: Error "collect2: error: ld returned 213 exit status" when build Dovecot 2.3.13 on CentOS 7&8 with Valgrind

2021-01-25 Thread Aki Tuomi
> On 22/01/2021 12:04 Duc Anh Do wrote: > > > Hi all, > > I'm building Dovecot from source of Dovecot 2.3.13. When doing make check, I > saw an error: > make[1]: Entering directory > '/home/xxx/rpmbuild/BUILD/xxx/dovecot-2.3.13/src/lib-ssl-iostream' > for bin in test-iostream-ssl; do \ > i

Re: Reminder Re: Dovecot Gmail OAuth2.0 Setting Question

2021-01-25 Thread Aki Tuomi
- > > 〒163-6017 東京都新宿区西新宿6-8-1 住友不動産新宿オークタワー > > 株式会社 ジャストシステム 技術企画室 情報システムグループ 福田泰葵 > > e-mail: taiki.fuk...@justsystems.com > > 内線: 5158 > > TEL: 03-5324-7900 > > mobile: 0

Re: Reminder Re: Dovecot Gmail OAuth2.0 Setting Question

2021-01-25 Thread Aki Tuomi
; 内線: 5158 > TEL: 03-5324-7900 > mobile: 080-6198-7328 > --------- > > > > 2021年1月25日(月) 17:16 Aki Tuomi : > > > > > On 25/01/2021 10:12 福田泰葵 wrot

Re: Reminder Re: Dovecot Gmail OAuth2.0 Setting Question

2021-01-25 Thread Aki Tuomi
> On 25/01/2021 10:12 福田泰葵 wrote: > > > Dear Mr. Tuomi > Google is responding to me as Unauthorized. > So I need to send my credentials such as access token in the request > parameter for authentication in google’s Get User API request. > But I don’t know how to configure dovecot to achieve t

Re: Massive /tmp files

2021-01-22 Thread Aki Tuomi
> On 22/01/2021 20:29 Ron Garret wrote: > > > On Jan 22, 2021, at 10:05 AM, @lbutlr wrote: > > > On 22 Jan 2021, at 09:07, Ron Garret (gmail) wrote: > >> On Jan 22, 2021, at 8:02 AM, @lbutlr wrote: > >> > >>> On 21 Jan 2021, at 18:08, MRob wrote: > Hello, > I just found user w

Re: Reminder Re: Dovecot Gmail OAuth2.0 Setting Question

2021-01-21 Thread Aki Tuomi
.148.174 > > (http://10.243.148.174): Remote closed connection (state=READY) > > dovecot[30307]: lmtp(30309): Connect from 10.243.148.110 > > dovecot[30307]: lmtp(30309): Disconnect from 10.243.148.110 > > (http://10.243.148.110): Remote closed connection (state=READY) >

Re: Where does sieve store its "vacation" state?

2021-01-20 Thread Aki Tuomi
> On 21/01/2021 00:02 Ron Garret wrote: > > > Pigeonhole/sieve has a “vacation” feature that keeps track of which addresses > it has sent messages to already so it doesn’t send too many. The state for > this feature seems to survive a dovecot restart, so it must be persistent > somewhere

Re: Sieve fileinto :create is failing

2021-01-20 Thread Aki Tuomi
> On 20/01/2021 22:37 Ron Garret wrote: > > > On Jan 20, 2021, at 12:32 PM, Piotr Auksztulewicz wrote: > > > On Wed, Jan 20, 2021 at 12:12:40PM -0800, Ron Garret wrote: > >> 1. Is there any documentation about what “requires” are needed > >> to access various features? The only source I’v

Re: Dovecot and mutt

2021-01-20 Thread Aki Tuomi
> On 20/01/2021 13:27 @lbutlr wrote: > > > I have a user who is unable to use mutt to login. I tested and sent a muttrc > that worked for me and all he needed to do was put in his username and > password. > > Which failed. > > After some back and forth, I figured out that his password con

Re: Sieve fileinto :create is failing

2021-01-19 Thread Aki Tuomi
> On 20/01/2021 08:46 Ron Garret wrote: > > > On Jan 19, 2021, at 10:40 PM, Aki Tuomi wrote: > > > > >> On 19/01/2021 19:45 Ron Garret wrote: > >> > >> > >> I’m trying to get a sieve script to move messages into a folder, an

Re: Sieve fileinto :create is failing

2021-01-19 Thread Aki Tuomi
> On 19/01/2021 19:45 Ron Garret wrote: > > > I’m trying to get a sieve script to move messages into a folder, and to > create that folder if it doesn’t already exist. I’m following the example > code at: > > https://doc.dovecot.org/configuration_manual/sieve/examples/ > > and doing this

Re: Timeout/Event leak

2021-01-19 Thread Aki Tuomi
What version is this? But this was probably caused by aborted authentication attempts when you restarted dovecot. Aki > On 19/01/2021 20:45 Lefteris Tsintjelis wrote: > > > Hi, any idea what all this is? > > Jan 19 18:23:00 master: Warning: Killed with signal 15 (by pid=33729 > uid=0 code

Re: Dovecot Gmail OAuth2.0 Setting Question

2021-01-18 Thread Aki Tuomi
> On 19/01/2021 07:17 福田泰葵 wrote: > > > Dear Sir or Madam > Unable to build OAuth2.0 authentication to Gmail using dovecot as proxy. > I have a question about how to use dovecot as a proxy to perform OAuth 2.0 > authentication to Gmail using a mail client. Mail client is required, in this ca

Re: dovecot 2.3.13 : make check FAILURE : Assert failed: buffer_append_full_file

2021-01-18 Thread Aki Tuomi
> On 18/01/2021 17:21 J Lumby wrote: > > > On 1/18/21 12:25 AM, Aki Tuomi wrote: > >> On 18/01/2021 00:35 J Lumby wrote: > >> > >> > >> Thanks Aki. > >> > >> > >> On 1/16/21 10:18 AM, Aki Tuomi wrote: > >&

Re: Changing the default delivery mailbox to something other than INBOX

2021-01-18 Thread Aki Tuomi
> On 18/01/2021 18:05 Ron Garret wrote: > > > On Jan 17, 2021, at 11:06 PM, Aki Tuomi wrote: > > > > >> On 18/01/2021 08:56 Ron Garret wrote: > >> > >> > >> On Jan 17, 2021, at 10:48 PM, Aki Tuomi wrote: > >> > &

Re: Changing the default delivery mailbox to something other than INBOX

2021-01-17 Thread Aki Tuomi
> On 18/01/2021 08:56 Ron Garret wrote: > > > On Jan 17, 2021, at 10:48 PM, Aki Tuomi wrote: > > > Don't touch the INBOX setting (leave it out), use the -m parameter for > > dovecot-lda. > > I don’t think that will work. My MTA is postfix and it’

Re: Changing the default delivery mailbox to something other than INBOX

2021-01-17 Thread Aki Tuomi
what > the client thinks is the main inbox. > Don't touch the INBOX setting (leave it out), use the -m parameter for dovecot-lda. Aki > On Jan 17, 2021, at 10:04 PM, Aki Tuomi wrote: > > > I don't see how that would the obvious way, and that, as you found out

Re: Changing the default delivery mailbox to something other than INBOX

2021-01-17 Thread Aki Tuomi
I don't see how that would the obvious way, and that, as you found out, does cause your mails to disappear. Looking at `man dovecot-lda` you'll find -m mailbox Destination mailbox (default is INBOX). If the mailbox doesn't exist, it will not be created (unless the lda_mailbox_autocreate setti

Re: dovecot 2.3.13 : make check FAILURE : Assert failed: buffer_append_full_file

2021-01-17 Thread Aki Tuomi
> On 18/01/2021 00:35 J Lumby wrote: > > > Thanks Aki. > > > On 1/16/21 10:18 AM, Aki Tuomi wrote: > >> On 16/01/2021 16:36 J Lumby wrote: > >> > >> > >> > >> make check had one failure as follows : > >> &

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-16 Thread Aki Tuomi
It's not decided yet. Aki > On 16/01/2021 20:16 Brad Smith wrote: > > > I haven't seen anything about this commited upstream yet. > > On 1/7/2021 1:45 AM, Aki Tuomi wrote: > > Can you try adding this to the file? > > > > #define RLIMIT_AS RLI

Re: dovecot 2.3.13 : make check FAILURE : Assert failed: buffer_append_full_file

2021-01-16 Thread Aki Tuomi
> On 16/01/2021 16:36 J Lumby wrote: > > > After successfully building dovecot 2.3.13 (linux kernel 5.10.1 , > glibc-2.32 , gcc-9.3) > > make check had one failure as follows : > > test-buffer-istream.c:54: Assert failed: buffer_append_full_file(result, > TEST_FILENAME, SIZE_MAX, &error)

Re: The use of %w in password_query leads to "Failed to expand plugin setting" error

2021-01-14 Thread Aki Tuomi
> On 14/01/2021 17:30 Filidor Wiese wrote: > > > Hi, > I'm trying to convert my existing users to a more modern password scheme by > following the how-to at https://wiki.dovecot.org/HowTo/ConvertPasswordSchemes. > One of the steps is to include the use of '%w' in the password_query, like so:

Re: Authentication segfault with Dovecot 2.3.13

2021-01-14 Thread Aki Tuomi
Hi! This has been fixed with https://github.com/dovecot/core/commit/225e2e040c5725753eb80a725d3d36878ba9a243.patch Aki > On 11/01/2021 13:24 Harald Leithner wrote: > > > Hi, > > just a confirmation after removing 'nodelay' we didn't notice any > further segfaults. > > thanks > > Harald

Re: Where is dovemon

2021-01-13 Thread Aki Tuomi
> On 13/01/2021 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 seems

Re: Remap login before authentication

2021-01-11 Thread Aki Tuomi
. > > Milo > > > Dne 11.01.2021 v 17:11 Miloslav Hůla napsal(a): > > Probably not way for me. I forgot to write, then I cannot change LDAP > > schema, so bindDN is fixed for me. > > > > Milo > > > > Dne 11.01.2021 v 17:00 Aki Tuomi

Re: Remap login before authentication

2021-01-11 Thread Aki Tuomi
auth_bind_userdn = uid=%d,dc=domain,dc=tld, also see %D - return “sub.domain.org” as “sub,dc=domain,dc=org” (for LDAP queries) from https://doc.dovecot.org/configuration_manual/config_file/config_variables/ Aki > On 11/01/2021 17:58 Miloslav Hůla wrote: > > > Hi, > > with Dovecot 2.3.4 I

Re: Dovecot FTS not using plugins

2021-01-11 Thread Aki Tuomi
> On 11/01/2021 16:51 Joan Moreau wrote: > > > Hello, > With recent git version of dovecot, I can see that the FTS does not use the > configured plugin anymore, but tries to sort the mailbox directly on the spot > (which is of course very painful). > Is there a change in the configuration fi

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-11 Thread Aki Tuomi
replication is configured according to > > > >   https://wiki.dovecot.org/Replication > > > > > > Both processes run separately in time. > > > > > > Still on some accounts mails of Inbox or another folder get duplicated. > > We&

Re: status of test code

2021-01-10 Thread Aki Tuomi
Thanks for the update, we'll check it out and see if there is something to do. Aki > On 10/01/2021 23:34 st...@keptprivate.com wrote: > > > Update: > > I was finally able to build 2.3.13 on centos 8 (8.3). I managed this by going > back to the qmailtoaster spec file, removing a few things no

Re: Dovecot 2.3.13 source rpm build fails on Centos 8

2021-01-08 Thread Aki Tuomi
> On 08/01/2021 10:25 Alessio Cecchi wrote: > > > Il 08/01/21 03:34, st...@keptprivate.com ha scritto: > > > > > > > I tried to post this in a more nuanced way, but the fact is the latest > > source RPM does not build on the latest Centos 8. > > > > > > > + sed -i 's|/etc/ssl|/etc/pki/do

Re: Dovecot 2.3.13 source rpm build fails on Centos 8

2021-01-07 Thread Aki Tuomi
> On 08/01/2021 04:34 st...@keptprivate.com wrote: > > > > I tried to post this in a more nuanced way, but the fact is the latest source > RPM does not build on the latest Centos 8. > > > + sed -i 's|/etc/ssl|/etc/pki/dovecot|' doc/mkcert.sh (http://mkcert.sh) > > doc/example-config/conf.d

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-07 Thread Aki Tuomi
dsync is intended to be used to change mailbox format, so it should work just fine. Aki > On 07/01/2021 11:17 Andrea Gabellini > wrote: > > > Hello, > > I had a similar problem some time ago, and the problem was the mailbox > format change. > > Please try to migrate with the same format.

Re: Authentication segfault with Dovecot 2.3.13

2021-01-06 Thread Aki Tuomi
It would appear that nodelay causes the crash here. We are tracking this bug as DOV-4280 internally. Aki > On 07/01/2021 01:05 Josef 'Jeff' Sipek wrote: > > > On Wed, Jan 06, 2021 at 14:07:06 -0500, Josef 'Jeff' Sipek wrote: > > Ok, just a quick update. I managed to reproduce it. I'll try

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-06 Thread Aki Tuomi
Can you try adding this to the file? #define RLIMIT_AS RLIMIT_DATA Aki > On 06/01/2021 22:47 Rupert Gallagher wrote: > > > OpenBSD > > > Original Message > On Jan 6, 2021, 21:37, Aki Tuomi < aki.tu...@open-xchange.com> wrote: > > Which distro/OS is this? > Aki

Re: problem building on centos 8 (8.3 kernel)

2021-01-06 Thread Aki Tuomi
> On 07/01/2021 03:57 st...@keptprivate.com wrote: > > > Hi, > > I'm converting from qmailtoaster/vpopmail build. > When I try to build dovecot-2.3.13-2.src.rpm for centos 8.3 the first thing I > run into is this: > > + sed -i 's|/etc/ssl|/etc/pki/dovecot|' doc/mkcert.sh > doc/example-config

Re: systemd-homed

2021-01-06 Thread Aki Tuomi
> On 07/01/2021 02:47 Yilin Wei wrote: > > > Hi, > > I’ve been looking into a problem with a local dovecot setup with > ~systemd-homed~ and uses PAM authentication. To give a brief overview, > ~systemd-homed~ mounts the users home directory upon particular > authencation calls (which is conf

Re: multiple mailstores

2021-01-06 Thread Aki Tuomi
> On 07/01/2021 01:51 Alexander Rivanykov wrote: > > > Hi, > > I need to merge mail data from two companies to one - i could attach the > second storage via NFS which has the sdbox mailbox format while the other one > is maildir. > Is it possible to have two mail locations with different

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-06 Thread Aki Tuomi
> On 06/01/2021 21:34 Rupert Gallagher wrote: > > > test-file-cache.c:259:24: error: use of undeclared identifier 'RLIMIT_AS' > test_assert(getrlimit(RLIMIT_AS, &rl_cur) == 0); > ^ > test-file-cache.c:267:24: error: use of undeclared identifier 'RLIMIT_AS

Re: doveadm backup only working once?

2021-01-06 Thread Aki Tuomi
uld migrate/reconfigure my "server2" to mdbox while keeping my > "production/server1" running on mbox and backup everything from > server1->server2 and switch over once everything proves to be working OK. > > Engelbert > > Op 6-1-2021 om 15:40 schreef A

Re: doveadm backup only working once?

2021-01-06 Thread Aki Tuomi
Hi! dsync has limited support to work with mbox format, which is mainly to get away from it. Aki > On 06/01/2021 16:37 Christian Kivalo wrote: > > > On January 6, 2021 2:14:32 PM GMT+01:00, Engelbert Torremans > wrote: > >All, > > > >Maybe a relevant piece of additional information that

Re: Dovecot v2.3.13 released

2021-01-06 Thread Aki Tuomi
> On 06/01/2021 15:37 Juri Haberland wrote: > > > On 04/01/2021 13:02, Aki Tuomi wrote: > > We are pleased to release v2.3.13. Please find it from locations below: > > > > https://dovecot.org/releases/2.3/dovecot-2.3.13.tar.gz > > https://dovecot.org/re

Ubuntu packages

2021-01-06 Thread Aki Tuomi
regards, Aki Tuomi Open-Xchange oy signature.asc Description: OpenPGP digital signature

Re: CVE fixed?

2021-01-05 Thread Aki Tuomi
> On 05/01/2021 13:06 Oren Savich wrote: > > > Hi, I wanted to know if you fixed CVE-2020-24386 & CVE-2020-25275. > If so, in what commits? > > thanks in advance! CVE-2020-24386: https://github.com/dovecot/core/compare/b9a2f18466a0d3377bab3e7a57691bdd75d8507c%5E..f8114a20e492859b958634ba023

Re: CVE-2020-24386: IMAP hibernation allows accessing other peoples mail

2021-01-04 Thread Aki Tuomi
> On 04/01/2021 15:02 Dan Malm wrote: > > > On 2021-01-04 13:03, Aki Tuomi wrote: > > Vulnerable version: 2.2.26-2.3.11.3 > > Fixed version: 2.3.13 > > No fix for 2.2.36? > > -- > BR/Mvh. Dan Malm, Systems Engineer, One.com We have not made fix for 2.2.36 as it's EOLed. Aki

Re: Panic file istream-seekable.c

2021-01-04 Thread Aki Tuomi
Can you send a core dump? Instructions can be found from https://www.dovecot.org/bugreport-mail Aki > On 04/01/2021 17:06 Eric Mauger wrote: > > > Hi, > > I still have the same problem/message. I've got no answer from my previous > mail. > > It happens generally when the list server se

CVE-2020-25275: MIME parsing crashes with particular messages

2021-01-04 Thread Aki Tuomi
Open-Xchange Security Advisory 2021-01-04 Product: Dovecot Vendor: OX Software GmbH Internal reference: DOV-4113 (Bug ID) Vulnerability type: CWE-20: Improper Input Validation Vulnerable version: 2.3.11-2.3.11.3 Vulnerable component: lda, lmtp, imap Report confidence: Confirmed Solution status: Fi

CVE-2020-24386: IMAP hibernation allows accessing other peoples mail

2021-01-04 Thread Aki Tuomi
Open-Xchange Security Advisory 2021-01-04 Product: Dovecot Vendor: OX Software GmbH Internal reference: DOP-2009 (Bug ID) Vulnerability type: CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences Vulnerable version: 2.2.26-2.3.11.3 Vulnerable component: imap Report confidence: Con

Pigeonhole v0.5.13 released

2021-01-04 Thread Aki Tuomi
/ Docker images in https://hub.docker.com/r/dovecot/dovecot Aki Tuomi Open-Xchange oy --- - duplicate: The test was handled badly in a multiscript (sieve_before, sieve_after) scenario in which an earlier script in the sequence with a duplicate test succeeded, while a later script caused a

<    6   7   8   9   10   11   12   13   14   15   >