Dynamically set LDAP user namespace using two attributes

2022-10-26 Thread Thomas Leuxner
Hi, I’m looking for a way to use two LDAP attributes to create a user-specific namespace to be expunged e.g. mailExpungeTrash=namespace/inbox/mailbox/%{ldap:mailTrashMailbox}/autoexpunge I can create the namespace fine returning the full string to be expunged:

Re: Local access to IMAP mailboxes

2018-09-26 Thread Thomas Leuxner
* Victor Sudakov 2018.09.26 12:17: > > >> However, I often read and modify the mailboxes locally with Mutt (e.g. > > >> append and delete mails). Why not use Mutt's IMAP capabilities and keep the indexes nice and clean? Regards Thomas signature.asc Description: PGP signature

Re: imapsieve: script not triggered

2018-05-08 Thread Thomas Leuxner
* Andreas Krischer 2018.05.07 19:58: > sieve_global_extensions = +vnd.dovecot.pipe Hi, my working configuration looks like this: sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute Regards Thomas signature.asc Description: PGP signature

Dovecot 2.3-rc Logging Format

2017-12-20 Thread Thomas Leuxner
Hi, the release candidate defaults to a log format with session IDs. mail_log_prefix = "%s(%u)<%{pid}><%{session}>: " As the LMTP service seems to have the session ID hardcoded, the IDs get duplicated in the logs: Dec 21 08:48:03 edi dovecot: lmtp(26573): Connect from local Dec 21 08:48:03

Re: v2.3.0 release candidate released

2017-12-20 Thread Thomas Leuxner
* Timo Sirainen 2017.12.18 16:23: Hi, what is the correct way of implementing carbon stats with 2.3? /etc/dovecot/conf.d/90-stats.conf: old_stats_carbon_server=127.0.0.1:2003 old_stats_carbon_name=host_domain_tld old_stats_carbon_interval=60s /etc/dovecot/conf.d/20-imap.conf:

Re: Dovecot lmtp doesn't log

2017-12-01 Thread Thomas Leuxner
* Tomislav Perisic 2017.12.01 15:30: > Does anyone have a working configuration regarding this that they don't > have a problem with LMTP logging? If yes could you please send me your > config and dovecot version to compare. 2.2.devel (904765b05): # doveconf

Re: stats module

2017-11-05 Thread Thomas Leuxner
* Jeff Abrahamson 2017.11.03 17:45: > > >>     -rw-r--r-- 1 root root  1856 Nov  3 16:11 91-stats Please take note of the include scheme: !include conf.d/*.conf Regards Thomas signature.asc Description: PGP signature

Re: authenticate as userA, but get authorization to user userB's account

2017-10-25 Thread Thomas Leuxner
* Heiko Schlittermann 2017.10.25 12:58: > Question: Is there any way to split the authentication from the > authorization within common mail clients (as Thunderbird) in combination > with Dovecot. That is, doing something like logging in to the > account sa...@example.com,

Re: maildir boxes directory mode upon creation

2017-08-24 Thread Thomas Leuxner
* vadim 2017.08.23 16:04: > I am unable to enforce dovecot to create mailboxes with 660 permissions. > Output of dovecot -n is in the attachment. > > Please tell me what's the right way to control mailbox permissions ? Hi Vadmin, inject the mails per LMTP rather than having

Re: Latest Virtual Plugin changes seem to have broken flag changes: 2.2.devel (bf2fa36)

2017-08-14 Thread Thomas Leuxner
* Thomas Leuxner <t...@leuxner.net> 2017.07.25 08:27: https://github.com/dovecot/core/commit/f39bde1e1fb00905b71a4f2a793faea4b915e27b This finally fixed the issue, I guess along with the other changes that have been previously submitted. Thanks! signature.asc Description: PGP signature

Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-26 Thread Thomas Leuxner
* Davide Marchi 2017.07.26 10:25: > cat /etc/dovecot/dovecot-acl > * user=book...@hotelsangiorgioriccione.com lrwsi > * user=i...@hotelsangiorgioriccione.com lrwsi Hi Davide, For LMTP to file the mails you need to add the p flag (POST). Regards Thomas signature.asc

Re: Latest Virtual Plugin changes seem to have broken flag changes: 2.2.devel (bf2fa36)

2017-07-25 Thread Thomas Leuxner
* Thomas Leuxner <t...@leuxner.net> 2017.07.24 14:41: > https://github.com/dovecot/core/commit/88b2ef52690acf66a925e2470331a9cc7c4cd320 It looks like it only partially fixes the problem. If messages get read in a virtual mailbox they sync to the "original" mailbox. Chang

Re: Latest Virtual Plugin changes seem to have broken flag changes: 2.2.devel (bf2fa36)

2017-07-24 Thread Thomas Leuxner
* Aki Tuomi 2017.07.21 13:45: Hi Aki and Timo, I'm still monitoring the flag sync. Appears https://github.com/dovecot/core/commit/88b2ef52690acf66a925e2470331a9cc7c4cd320 has done the trick. Will confirm once I have more evidence. Regards Thomas signature.asc

Re: Latest Virtual Plugin changes seem to have broken flag changes: 2.2.devel (bf2fa36)

2017-07-21 Thread Thomas Leuxner
* Aki Tuomi 2017.07.21 12:53: > I cannot repeat this. Hi Aki, a bit hard for me to debug speaking protocol, but I can definitely reproduce it with multiple MUAs. Regards Thomas signature.asc Description: PGP signature

Latest Virtual Plugin changes seem to have broken flag changes: 2.2.devel (bf2fa36)

2017-07-21 Thread Thomas Leuxner
Hi, I’m using several views like this: # cat Dovecot/dovecot-virtual :public/Archive/Mailing-Lists/Dovecot/* :public/Mailing-Lists/Dovecot all Before the recent changes read mail stayed in sync with the virtual folder. Now regardless whether mail is read in the original Folder or the virtual

Re: 2.2.devel (0bee280) crashdump virtual plugin

2017-07-20 Thread Thomas Leuxner
* Aki Tuomi 2017.07.20 05:40: > Should be fixed with > > commit 81e832796cdc6af790ed7be8a6c150889f03171c > Author: Timo Sirainen > Date: Wed Jul 19 23:19:12 2017 +0300 > > virtual: Optimize mailbox_notify_changes() when there's only a

Re: 2.2.devel (0bee280) crashdump virtual plugin

2017-07-20 Thread Thomas Leuxner
* Aki Tuomi 2017.07.20 05:40: > Should be fixed with > > commit 81e832796cdc6af790ed7be8a6c150889f03171c > Author: Timo Sirainen > Date: Wed Jul 19 23:19:12 2017 +0300 > > virtual: Optimize mailbox_notify_changes() when there's only a

Re: 2.2.devel (0bee280) crashdump virtual plugin

2017-07-19 Thread Thomas Leuxner
* Aki Tuomi 2017.07.19 11:43: > Should be fixed with > > commit 2f691d6dd1b98f605043744846534b828a43994d > Author: Aki Tuomi > Date: Wed Jul 19 12:03:58 2017 +0300 > > virtual: Stop watching notification on backend box close > > Fixes

Re: 2.2.devel (0bee280) crashdump virtual plugin

2017-07-19 Thread Thomas Leuxner
* Aki Tuomi 2017.07.19 08:31: > oh and any idea which one of these crashes? This one does: # cat Flagged/dovecot-virtual * :public/* -Trash -Trash/* flagged signature.asc Description: PGP signature

Re: 2.2.devel (0bee280) crashdump virtual plugin

2017-07-19 Thread Thomas Leuxner
* Aki Tuomi 2017.07.19 08:22: > Can you provide your virtual config? Here you go: # cat Dovecot/dovecot-virtual :public/Archive/Mailing-Lists/Dovecot/* :public/Mailing-Lists/Dovecot all # cat Flagged/dovecot-virtual * :public/* -Trash -Trash/* flagged # cat

Re: 2.2.devel (0bee280) crashdump virtual plugin

2017-07-19 Thread Thomas Leuxner
* Aki Tuomi 2017.07.18 20:01: > Hi! > > Thank you for your report. Do you have mailbox_list_index=yes? > > Aki Hi Aki, yes I do: doveconf mailbox_list_index mailbox_list_index = yes Regards Thomas signature.asc Description: PGP signature

2.2.devel (0bee280) crashdump virtual plugin

2017-07-18 Thread Thomas Leuxner
#0 0x7f497ecdb067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 10092 selftid = 10092 #1 0x7f497ecdc448 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler =

Re: Sieve removeflag Action

2017-02-26 Thread Thomas Leuxner
* Stephan Bosch 2017.02.26 19:49: > I created the following file in ~/message-lmtp.eml (substitute MAIL > FROM/RCPT TO with whatever you need): > > LHLO frop > MAIL FROM: > RCPT TO: > DATA > From: User > To: step...@rename-it.nl >

Re: Sieve removeflag Action

2017-02-24 Thread Thomas Leuxner
* Stephan Bosch 2017.02.24 10:20: > Could you show me your full configuration (`dovecot -n`)? > > Regards, > > Stephan Live configuration and scripts sent off-list. Regards Thomas signature.asc Description: Digital signature

Re: Sieve removeflag Action

2017-02-22 Thread Thomas Leuxner
* Thomas Leuxner <t...@leuxner.net> 2017.02.20 12:56: > Feb 20 07:00:23 nihlus dovecot: master: Dovecot v2.2.devel (8f42a89) starting > up for imap, lmtp > > This one processed the dovecot-news mail for 2.2.28.rc1 fine which uses a > similar sieve rule. I will

Re: How to dsync mdbox compressed to maildir uncompressed

2017-02-22 Thread Thomas Leuxner
* Daniel Betz 2017.02.22 11:07: Here you go: # 2.2.devel (d89a40c): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.devel (0d78a30) # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.7 auth_cache_size = 16 k auth_verbose = yes deliver_log_format = msgid=%m, time=%{delivery_time}ms,

Re: How to dsync mdbox compressed to maildir uncompressed

2017-02-22 Thread Thomas Leuxner
* Daniel Betz 2017.02.22 09:37: > doveadm -o plugin/quota= -o plugin/zlib_save= backup -u imap at test.de > maildir:~/Maildir > > file Maildir/cur/1487752497.M128284P11684.mail,S=7691,W=7887:2,S > Maildir/cur/1487752497.M128284P11684.mail,S=7691,W=7887:2,S: gzip compressed >

Re: How to dsync mdbox compressed to maildir uncompressed

2017-02-21 Thread Thomas Leuxner
* Daniel Betz 2017.02.21 11:49: > Have tried this: doveadm -o "maildir_copy_with_hardlinks=no" sync -u > i...@test.de maildir:~/Maildir > From Wiki: If you want to use dsync to convert to a compressed Maildir you > may need -o maildir_copy_with_hardlinks=no (this is set to yes by

Re: Sieve removeflag Action

2017-02-20 Thread Thomas Leuxner
* Stephan Bosch 2017.02.17 14:34: > Couldn't reproduce this with v2.3.devel yesterday (i.e. no flags set for the > Security mailbox and all flags set for the message in INBOX), but I will try > later with some older version. I did install a newer build this morning: Feb

Re: Sieve removeflag Action

2017-01-31 Thread Thomas Leuxner
* Stephan Bosch 2017.01.31 21:31: > This slipped my attention for the moment. Will look at this soon... Thanks. signature.asc Description: Digital signature

Re: Sieve removeflag Action

2017-01-19 Thread Thomas Leuxner
* Stephan Bosch 2017.01.19 10:32: > Could you provide a more detailed example? Sure. Personal script v /var/vmail/domains/leuxner.net/tlx/.dovecot.sieve: require ["include","copy","fileinto","imap4flags","vacation"]; include :global "global"; -- Global script

Re: Sieve removeflag Action

2017-01-19 Thread Thomas Leuxner
* Stephan Bosch 2017.01.14 12:35: > Fixed: > > https://github.com/dovecot/pigeonhole/commit/772485538302957ebada484b6eedec57136bc737 Hi Stephan, I recently noticed that the 'flags' still cause issues when using an _include_ script like: require

Re: Dynamic autoexpunge for IMAP folders

2017-01-17 Thread Thomas Leuxner
* Thorsten Hater 2017.01.17 12:04: > userdb { >driver = static >args = namespace/inbox/mailbox/Bla/autoexpunge=6h > } I'm almost sure that 'driver = static' contradicts the concept of userdb overrides: http://wiki.dovecot.org/UserDatabase/ExtraFields If

Re: Dynamic autoexpunge for IMAP folders

2017-01-17 Thread Thomas Leuxner
* Thorsten Hater 2017.01.17 10:57: > Unfortunately, this yields the same problem > > Debug: Unknown userdb > setting: plugin/userdb_namespace/inbox/mailbox/Bla/autoexpunge=6h > > userdb_namespace/inbox/mailbox/Bla/autoexpunge=6h 'plugin' is not part of the userdb

Re: Dynamic autoexpunge for IMAP folders

2017-01-17 Thread Thomas Leuxner
* Thorsten Hater 2017.01.17 09:40: > namespace/inbox/mailbox/Bla/autoexpunge=6h > > from a userdb, which results in > > Debug: Unknown userdb setting: > plugin/namespace/inbox/mailbox/Bla/autoexpunge=6h userdb_namespace/inbox/mailbox/Bla/autoexpunge=6h Regards

Re: Sieve removeflag Action

2017-01-14 Thread Thomas Leuxner
* Stephan Bosch 2017.01.14 12:35: > Fixed: > > https://github.com/dovecot/pigeonhole/commit/772485538302957ebada484b6eedec57136bc737 > > Regards, > > Stephan. Confirmed effective. Thanks! signature.asc Description: Digital signature

Re: Sieve removeflag Action

2017-01-13 Thread Thomas Leuxner
* Stephan Bosch 2017.01.13 13:50: > So, that performs as expected. However, when I test this with LDA, Í can > reproduce your problem: > > $ doveadm fetch flags mailbox "Trash" 1 > flags: \Recent > $ doveadm fetch flags mailbox "INBOX" 1 > flags: \Recent > > Will

Re: Sieve removeflag Action

2017-01-13 Thread Thomas Leuxner
* Steffen Kaiser 2017.01.13 10:49: > from point of "logic" I would turn around both actions: > > removeflag "\\Flagged $MailFlagBit1"; > fileinto "Trash"; > > addflag "\\Flagged $MailFlagBit1"; > keep; Hi Steffen, that works thanks. Not sure why it worked

Sieve removeflag Action

2017-01-13 Thread Thomas Leuxner
Hi, I recently noticed that some of my automatically processed mails do no longer show flags with current Dovecot builds. This used to work before, not sure what broke it or whether I used it in the wrong way. When the removeflag line is dropped *both* messages get flagged in the client, one

Latest Dovecot v2.2.devel (9bc8d9b) crashes on login and lmtp

2016-12-20 Thread Thomas Leuxner
I was unable to produce an IMAP core but have been successful with LMTP. Basically it crashes right upon login or delivery: Dec 20 08:55:23 nihlus dovecot: master: Dovecot v2.2.devel (9bc8d9b) starting up for imap, lmtp Dec 20 08:56:15 nihlus dovecot: imap(t...@leuxner.net): Fatal: master:

Re: autoexpunge=30d does not works :(

2016-12-16 Thread Thomas Leuxner
* Peter Hodur 2016.12.16 11:42: > mailbox Spam { > auto= subscribe > special_use = \Junk > autoexpunge

Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner
> This should fix it: > > https://github.com/dovecot/pigeonhole/commit/63f9b42f20cf0bd26b981be8a08f01b48e23517f Confirmed fixed. Can you please push to 2.2 so builds pick up there? Thanks Thomas

Re: Latest git Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner
# doveconf -d | grep discard # doveconf -a | grep discard sieve_discard = ~/.dovecot.sieve When set the crash disappears.

Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner
> I hope you mean git since hg is no longer maintained. > > Aki Apologies. Latest and greatest in GIT.

Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner
> Oct 15 09:50:15 nihlus dovecot: lmtp(t...@leuxner.net): Fatal: master: > service(lmtp): child 11447 killed with signal 6 (core not dumped) #0 0x7fdc0b5d7067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 22091

Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner
# 2.2.devel (c73322f): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.devel (fac92b5) # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6 ==> /var/log/dovecot/dovecot.log <== Oct 15 09:50:15 nihlus dovecot: lmtp(11447): Connect from local Oct 15 09:50:15 nihlus dovecot: lmtp(t...@leuxner.net):

[SOLVED] Error: istream-seekable: safe_mkstemp(/tmp/dovecot.imap.) failed

2016-09-05 Thread Thomas Leuxner
* Thomas Leuxner <t...@leuxner.net> 2016.03.02 09:54: > * Timo Sirainen <t...@iki.fi> 2016.03.01 23:03: > > > > I'm seeing these recently: > > > > > > Feb 27 09:24:01 nihlus dovecot: imap(t...@leuxner.net): Error: > > > istream-seekable:

Re: Save user passwords in clear text

2016-08-12 Thread Thomas Leuxner
* Lefteris Tsintjelis 2016.08.05 21:01: > Is it possible to save user passwords as clear text through dovecot? Have a look at how schemes can be converted using postlogin scripts: http://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes signature.asc Description: Digital

Re: Deliver same E-Mail in same Mailbox only once ?

2016-04-20 Thread Thomas Leuxner
* Heiko Schlittermann 2016.04.20 19:31: > > * Christoph Adomeit 2016.04.20 10:29: > > #Deduplicate mails sent to aliases for same mailbox using the msgid > > if duplicate { > > discard; > > } > > I wouldn't do that. Message with the

Re: Deliver same E-Mail in same Mailbox only once ?

2016-04-20 Thread Thomas Leuxner
* Christoph Adomeit 2016.04.20 10:29: > Is there a way to deliver the same Mail in the same Mailbox only once ? Yes this case is supported via an sieve extension: require ["duplicate"]; #Deduplicate mails sent to aliases for same mailbox using the msgid if

Re: mdbox and shared \Seen flag

2016-04-09 Thread Thomas Leuxner
* Dmitry Nezhevenko 2016.04.09 19:38: > As far as I understand, "shared" namespace will keep \Seen flag private. > So any suggestions how to make \Seen shared? This can be done using INDEXPVT: location = mdbox:/var/vmail/shared:INDEXPVT=~/mdbox/shared

Re: Error: istream-seekable: safe_mkstemp(/tmp/dovecot.imap.) failed

2016-03-02 Thread Thomas Leuxner
* Timo Sirainen 2016.03.01 23:03: > > I'm seeing these recently: > > > > Feb 27 09:24:01 nihlus dovecot: imap(t...@leuxner.net): Error: > > istream-seekable: safe_mkstemp(/tmp/dovecot.imap.) failed: No such file or > > directory > > You don't have a /tmp directory or imap is

Error: istream-seekable: safe_mkstemp(/tmp/dovecot.imap.) failed

2016-02-27 Thread Thomas Leuxner
I'm seeing these recently: Feb 27 09:24:01 nihlus dovecot: imap(t...@leuxner.net): Error: istream-seekable: safe_mkstemp(/tmp/dovecot.imap.) failed: No such file or directory Feb 27 09:24:01 nihlus dovecot: imap(t...@leuxner.net): Error: istream-seekable: safe_mkstemp(/tmp/dovecot.imap.)

Re: systemd changes in Git/Debian Auto-Builds

2016-02-22 Thread Thomas Leuxner
* Timo Sirainen 2016.02.22 09:28: > Another fix: > https://git.dovecot.net/dovecot/core/commit/2d5fcede6dcce079fdca5f0589c9c2142f016a65 Thanks. Confirmed effective. signature.asc Description: Digital signature

Re: systemd changes in Git/Debian Auto-Builds

2016-02-21 Thread Thomas Leuxner
* aki.tu...@dovecot.fi 2016.02.21 12:43: > This is fixed in > https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb589b Thanks Aki. As all patches are in the source tree, I guess this is not included in Stephan's Auto-Build: $ dpkg --unpack

systemd changes in Git/Debian Auto-Builds

2016-02-21 Thread Thomas Leuxner
Not sure if the issue is limited to the Debian Auto-Builds, but after the latest commits an update of the packages fails: https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c884a2 Feb 21 07:31:22 nihlus dovecot: master: Dovecot v2.2.devel (950a6e6) starting up for imap,

Re: [Dovecot-news] v2.2.20 release candidate released

2015-12-03 Thread Thomas Leuxner
* Timo Sirainen 2015.12.03 15:27: > protocol imap { > namespace inbox { > mailbox Trash { > autoexpunge = 5 days > } > } > } Thanks. signature.asc Description: Digital signature

Re: [Dovecot-news] v2.2.20 release candidate released

2015-12-03 Thread Thomas Leuxner
* Timo Sirainen 2015.12.03 14:51: > + Added mailbox { autoexpunge= } setting. See >http://wiki2.dovecot.org/MailboxSettings for details. namespace inbox { mailbox Trash { autoexpunge = 5 days special_use = \Trash } } I'm using autoexpunge on the Trash mailbox.

Re: iterate users with passwd-file passdb?

2015-10-15 Thread Thomas Leuxner
* Timo Sirainen 2015.10.13 23:20: > Use userdb passwd-file to get iteration working. passdb isn't used for > iteration. userdb static can't be used to iterate. I guess this works for a single file comprising of all users at the moment: Oct 15 11:13:58 nihlus dovecot:

Re: Different behavior of ACLs in MUA and doveadm

2015-09-08 Thread Thomas Leuxner
* Thomas Leuxner <t...@leuxner.net> 2014.12.31 22:10: namespace { list = yes location = mdbox:/var/vmail/public:INDEXPVT=~/mdbox/public prefix = Public/ separator = / subscriptions = no type = public } $ cat /var/vmail/conf.d/leuxner.net/global-acl INBOX owner lrwstiekxap

Re: Different behavior of ACLs in MUA and doveadm

2015-09-08 Thread Thomas Leuxner
* Timo Sirainen 2015.09.08 14:28: > > Both debug levels raised, it doesn't log about the problem when using > > doveadm. I guess the patch is not enough: > > With doveadm you need to give -D parameter for it to log debug output. Comparing this to the previous imap log it does

Re: Different behavior of ACLs in MUA and doveadm

2015-09-08 Thread Thomas Leuxner
* Timo Sirainen 2015.09.08 12:20: > How does the PublicMailboxAdmins group get set? Looks to me like the problem > is that it's not getting set to doveadm. Here's an easy way to check if > that's the problem or something else: > http://hg.dovecot.org/dovecot-2.2/rev/500e8dd7a389

Re: HG port=0 changes still problematic

2015-08-31 Thread Thomas Leuxner
* Stephan Bosch 2015.08.31 02:13: > Yes, yes, yes.. you may smack me now :) > > http://hg.rename-it.nl/dovecot-2.2-patches/file/c51a10802ce6/in_port_t_fix_2.patch I wouldn't go that far :) Latest HG works. Thanks signature.asc Description: Digital signature

HG port=0 changes still problematic

2015-08-30 Thread Thomas Leuxner
Aug 30 12:35:04 nihlus.leuxner.net systemd[1]: Started Dovecot IMAP/POP3 email server. Aug 30 12:35:04 nihlus.leuxner.net dovecot[60404]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 24: Invalid port number 0 Aug 30 12:35:04 nihlus.leuxner.net systemd[1]:

Re: IMAP hibernate feature committed

2015-08-29 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2015.08.29 12:20: Set verbose_proctitle=yes and you'll see what the imap processes are doing. It'll show IDLE in the ps output if the client is IDLEing. Although it doesn't say how long the client has been doing it. dovenull 1318 0.0 0.0 18340 4772 ?

Re: IMAP hibernate feature committed

2015-08-27 Thread Thomas Leuxner
* Teemu Huovila teemu.huov...@dovecot.fi 2015.08.27 13:58: Did you specify a value other than zero for 'imap_hibernate_timeout'? Yes I did: $ doveconf imap_hibernate_timeout imap_hibernate_timeout = 1 mins I sometimes see one imap-hibernate process (only one), but several imap processes

Re: IMAP hibernate feature committed

2015-08-26 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2015.08.25 22:21: There's no good default setting here. It depends on your userdb settings and/or mail_uid setting. So for example if your imap processes are running as vmail user, you should set service imap-hibernate { unix_listener imap-hibernate { user =

Re: IMAP hibernate feature committed

2015-08-25 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2015.08.25 17:28: == /var/log/dovecot/dovecot.log == Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error:

Re: IMAP hibernate feature committed

2015-08-25 Thread Thomas Leuxner
* Thomas Leuxner t...@leuxner.net 2015.08.25 09:45: http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 == /var/log/dovecot/dovecot.log == Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied Aug 25 09

Re: IMAP hibernate feature committed

2015-08-25 Thread Thomas Leuxner
http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 == /var/log/dovecot/dovecot.log == Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error:

Typo in systemd commit HG 8dc79a437858

2015-05-25 Thread Thomas Leuxner
The apostrophes need to be removed from the LimitCORE example, otherwise the parameter will not be recognized: $ cat /etc/systemd/system/dovecot.service.d/service.conf [Service] #Environment='OPTIONS=-p' #LimitCORE=8192 LimitCORE=infinity signature.asc Description: Digital signature

Re: v2.2.17 release candidate released

2015-05-11 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2015.05.09 19:41: + lda, lmtp: deliver_log_format can now include %{delivery_time}, which expands to how many milliseconds it took to deliver the mail. With LMTP %{session_time} also expands to how many milliseconds the LMTP session

Re: Xi broken

2015-05-10 Thread Thomas Leuxner
* Stephan Bosch step...@rename-it.nl 2015.05.10 17:34: Don't hesitate to notify me if there are any problems. Thanks for fixing this. As this repo stuff is mostly bleeding edge, I noticed that the systemd service file needs to be modified to allow coredumps. Not sure how it is supposed to

Re: Postpone email delivery with LMTP and Postfix

2015-04-30 Thread Thomas Leuxner
* Miloslav Hůla miloslav.h...@gmail.com 2015.04.29 22:47: is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be delivered. But emails must be delivered when

Re: ACL Error

2015-02-27 Thread Thomas Leuxner
* Bobber bob...@kc0dxf.net 2015.02.25 19:01: acl = vfile:/usr/local/etc/dovecot/dovecot-acl And here is my dovecot-acl: user=bobber lrwstipekxa authenticated lr Global ACLs require a search pattern as described here: http://wiki2.dovecot.org/ACL * user=bobber lrwstipekxa Public/*

Re: Indexing Mail faster

2015-01-29 Thread Thomas Leuxner
* Peter Hodur peteho...@gmail.com 2015.01.29 05:25: With a current version of Dovecot a search is pretty fast _without_ using external indexes. I have a view defined (virtual plugin) with around 22.000 messages in it, and searching the full view only takes 2.5 seconds: hmmm, could you

Re: Indexing Mail faster

2015-01-28 Thread Thomas Leuxner
* superinterstel...@gmail.com superinterstel...@gmail.com 2015.01.28 12:07: Do you think I should try 2.2.15? Or stick to EE? This is in the repo. My version just has *all* the latest changes applied which sometime can be untested. signature.asc Description: Digital signature

Re: Indexing Mail faster

2015-01-28 Thread Thomas Leuxner
* Kevin Laurie superinterstel...@gmail.com 2015.01.28 03:31: . OK Search completed (21.478 secs). Really hard to say what commit probably fixed that already. Dovecot uses a very dynamic development model. There are old versions like 2.0.9 which people still try to get help with since they are

Re: Indexing Mail faster

2015-01-28 Thread Thomas Leuxner
* superinterstel...@gmail.com superinterstel...@gmail.com 2015.01.28 11:53: Also could you advise which dovecot are you using? Bleeding edge (latest and hopefully greatest compiled from HG): # 2.2.15 (7557234ac0f4): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.6 signature.asc

Re: Indexing Mail faster

2015-01-27 Thread Thomas Leuxner
* Kevin Laurie superinterstel...@gmail.com 2015.01.27 03:24: . search text dear * OK Searched 9% of the mailbox, ETA 1:39 * OK Searched 20% of the mailbox, ETA 1:18 * OK Searched 29% of the mailbox, ETA 1:12 * OK Searched 38% of the mailbox, ETA 1:03 * OK Searched 50% of the mailbox, ETA

Re: Indexing Mail faster

2015-01-27 Thread Thomas Leuxner
* Kevin Laurie superinterstel...@gmail.com 2015.01.27 11:15: Hi Kevin, # 2.2.9: /etc/dovecot/dovecot.conf # OS: Linux 3.10.62-xenU-25-0e6777a-x86_64 x86_64 Ubuntu 14.04.1 LTS Although this was released back in 2013, let's assume the core search is not substantially broken for this release.

Re: Indexing Mail faster

2015-01-25 Thread Thomas Leuxner
* A. Schulze s...@andreasschulze.de 2015.01.25 16:58: once setup correctly it works like expected :-) Good! how do you separate older postings into the Archive? something like doveadm search + move ? Yes basically with move. I'd like to have them archived by year e.g.

Dovecot Virtual Plugin Use Cases (was Re: Indexing Mail faster)

2015-01-25 Thread Thomas Leuxner
* LuKreme krem...@kreme.com 2015.01.25 19:32: Another example, the one I used in the original reply, is 'gluing' together archives as a single view: $ cat virtual/Postfix-Users/dovecot-virtual Public/Archive/Mailing-Lists/Postfix-Users/* Public/Mailing-Lists/Postfix-Users all

Re: Indexing Mail faster

2015-01-25 Thread Thomas Leuxner
* Andreas Schulze s...@andreasschulze.de 2015.01.25 12:47: I assume you drop multiple mailing lists together in a mailbox and separate them using the virtual plugin, right? could publish how you configured dovecot virtual plugin? The namespace Virtual will look for its configuration in the

Re: Indexing Mail faster

2015-01-24 Thread Thomas Leuxner
* Kevin Laurie superinterstel...@gmail.com 2015.01.24 19:41: Currently the time it takes to search 25,000mails is 4mins. If indexed how much faster are we looking at? With a current version of Dovecot a search is pretty fast _without_ using external indexes. I have a view defined (virtual

Re: sieve filter not working

2015-01-22 Thread Thomas Leuxner
* Michael Williamson michael.h.william...@gmail.com 2015.01.22 20:11: I have dovecot 2.0.9 running on a CentOS 6.6 email server for a small This is a notorious version. Not only is it hopelessly outdated, it used to contain broken features way back... require [fileinto]; # Move spam to spam

Re: Changeset c02f29ca104d badly breaks LMTP/mdbox

2015-01-20 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2015.01.20 06:42: Should be fixed now. I think I'm now done for a while with the new core development work that was needed, so things shouldn't break so easily for a while. Although the body.snippet stuff still needs some more work. Looks good now after some

Changeset c02f29ca104d badly breaks LMTP/mdbox

2015-01-17 Thread Thomas Leuxner
$ gdb /usr/lib/dovecot/lmtp core_lmtp.48883.nihlus.leuxner.net GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO

Re: HG e3640ccaa76d crashes upon IMAP SEARCH

2015-01-14 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2015.01.15 00:24: $ doveconf -n | head # 2.2.15 (e3640ccaa76d): /etc/dovecot/dovecot.conf b search charset utf-8 body Sleeve imap(t...@leuxner.net): Panic: file message-decoder.c: line 346 (message_decode_body): assertion failed: (ctx-translation_size =

HG e3640ccaa76d crashes upon IMAP SEARCH

2015-01-12 Thread Thomas Leuxner
$ doveconf -n | head # 2.2.15 (e3640ccaa76d): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.6 # OS: Linux 3.16.0-0.bpo.4-amd64 x86_64 Debian 7.8 $ /usr/lib/dovecot/imap -u t...@leuxner.net * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY

Different behavior of ACLs in MUA and doveadm

2014-12-31 Thread Thomas Leuxner
I have noticed a difference in the behavior of ACLs. When used in a MUA the following global ACL works fine and has the desired effect - new mailboxes can be created by a user being part of the 'PublicMailboxAdmins' group: [ global-acl: ] INBOX owner lrwstiekxap Public/*

Execution of sieve script failed HG 3db5fbb216d3

2014-11-13 Thread Thomas Leuxner
# 2.2.15 (3db5fbb216d3): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.6 [...] The latest HG commits produce the following sieve execution error. There is no error log created though... Nov 13 08:54:11 nihlus dovecot: lmtp(t...@leuxner.net): kFEQG6JjZFQZBAAAgUOSbA: sieve:

Re: Execution of sieve script failed HG 3db5fbb216d3

2014-11-13 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2014.11.13 09:46: Did you (fully) recompile Sieve also? Some structs changed. I can't really think of anything else and it works ok in my tests. Yes I did. By a hunch I now deleted the binary script and that does seem to do the trick... signature.asc

Re: Execution of sieve script failed HG 3db5fbb216d3

2014-11-13 Thread Thomas Leuxner
* Stephan Bosch step...@rename-it.nl 2014.11.13 10:19: Yes, it does. Fixed by last two commits. Thanks, Stephan and Timo :) signature.asc Description: Digital signature

Re: Corrupted SSL parameters file in state_dir with HG 267bca7a62fb

2014-11-01 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2014.11.01 02:12: Fixed: http://hg.dovecot.org/dovecot-2.2/rev/6efd7ab25b71 Looks good now. Thanks signature.asc Description: Digital signature

Corrupted SSL parameters file in state_dir with HG 267bca7a62fb

2014-10-31 Thread Thomas Leuxner
Hi, with the latest HG 267bca7a62fb the following error started to appear in the logs: Oct 31 09:39:07 nihlus dovecot: master: Dovecot v2.2.15 (267bca7a62fb) starting up for imap, lmtp [...] Oct 31 10:10:52 nihlus dovecot: lmtp(20876): Error: Corrupted SSL parameters file in state_dir:

Re: virtualfolders under mdbox storage backend

2014-10-03 Thread Thomas Leuxner
* Jesus Cea j...@jcea.es 2014.10.01 14:37: Reading docs in http://wiki2.dovecot.org/Plugins/Virtual I wonder how is that used if I am using MDBOX as my storage backend. The only references there are about Maildir. You basically need to configure the path where it stores its indexes e.g.

virtual plugin in HG unaware of namespaces

2014-08-17 Thread Thomas Leuxner
The latest changes to the virtual plugin seem to have a negative effect on name space rules: $ cat dovecot-virtual * Public/* flagged While flagged messages inside the mailbox still show up, messages flagged in 'Public' are not picked up anymore. Regards Thomas signature.asc Description:

Re: virtual plugin in HG unaware of namespaces

2014-08-17 Thread Thomas Leuxner
* Thomas Leuxner t...@leuxner.net 2014.08.17 12:58: While flagged messages inside the mailbox still show up, messages flagged in 'Public' are not picked up anymore. The 'Public' messages actually show up again if you toggle their flag off/on in the mail client... signature.asc Description

Re: Assertion virtual-storage.c

2014-07-06 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2014.07.06 18:10: http://hg.dovecot.org/dovecot-2.2/rev/f1d29866e147 should fix this. There are some other larger virtual mailbox changes though, hopefully not too badly broken. But on the plus side it should now be able to handle virtual folders that consist of

  1   2   3   4   5   >