Re: Sieve body test

2020-10-22 Thread Stephan Bosch
On 20/10/2020 23:37, @lbutlr wrote: On 20 Oct 2020, at 13:46, @lbutlr wrote: It looks like what I need to do is enable and use vnd.dovecot.filter error: require command: unknown Sieve capability `vnd.dovecot.filter'. Is this not available to a user? I guess I can put the in global, but

Re: Sieve_before

2020-10-22 Thread Sean Kamath
> On Oct 22, 2020, at 15:58, @lbutlr wrote: > > On 22 Oct 2020, at 15:46, @lbutlr wrote: >> And it doesn't explain why "if address :matches ["To", "Cc"] ["*@*."] {" >> also failed to match despite also showing the email address. >> >>> “krem...@kreme.com” does not have a :detail part >>>

Re: Sieve_before

2020-10-22 Thread @lbutlr
On 22 Oct 2020, at 15:46, @lbutlr wrote: > And it doesn't explain why "if address :matches ["To", "Cc"] ["*@*."] {" also > failed to match despite also showing the email address. > >> “krem...@kreme.com” does not have a :detail part >> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples talks

Directors and LMTP: mailAlternateAddress of same user

2020-10-22 Thread Paterakis E. Ioannis
Good evening everyone, I'd like to paste a problem i experience the last days with a mail cluster system based on three dovecot servers and two directors in front of them. The Directors are proxying the auth requests to the dovecot servers below (LDAP). The protocols i use are

Re: Sieve_before

2020-10-22 Thread @lbutlr
On 22 Oct 2020, at 15:10, Sean Kamath wrote: > On Oct 22, 2020, at 12:19, @lbutlr wrote: >> On 22 Oct 2020, at 10:05, @lbutlr wrote: >>> if address :matches ["To", "Cc"] ["*@*."] { >> if envelope :matches :detail "to" "*" { >> set :lower "name" "${1}"; >> redirect :copy

Re: Sieve_before

2020-10-22 Thread Sean Kamath
> On Oct 22, 2020, at 12:19, @lbutlr wrote: > > On 22 Oct 2020, at 10:05, @lbutlr wrote: >> require ["variables", "copy"]; >> >> if address :matches ["To", "Cc"] ["*@*."] { >> redirect :copy "backup+295.${1}.${2}@*example.com*"; >> } > > I have tried this with similar results: > > require

Re: Sieve_before

2020-10-22 Thread @lbutlr
On 22 Oct 2020, at 10:05, @lbutlr wrote: > require ["variables", "copy"]; > > if address :matches ["To", "Cc"] ["*@*."] { > redirect :copy "backup+295.${1}.${2}@*example.com*"; > } I have tried this with similar results: require ["copy", "variables", "envelope", "fileinto", "subaddress"];

Re: Sieve_before

2020-10-22 Thread @lbutlr
On 22 Oct 2020, at 09:35, @lbutlr wrote: > Is there a way to force the default and sieve_before scripts to log to syslog? OK, the "top level" sieves are also logged to the users trace files along with the user's sieve files, if any. So, I am getting this: 3: address test 3: starting

Re: Sieve_before

2020-10-22 Thread @lbutlr
On 21 Oct 2020, at 14:10, @lbutlr wrote: > I have trace logs enabled for user scripts, but I think only error get logged > for upper level, and only along the lines of "could not compile sieve>". Any ideas? Is there a way to force the default and sieve_before scripts to log to syslog? --

net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied

2020-10-22 Thread mj
Hi, We are getting very occasional messags from dovecot: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied Over the last week, the message appeared five times. (on a mail server with over 100 users, to that's basically almost never) doveconf -n below # 2.3.4.1

Error: Mailbox INBOX: Transaction commit failed: FTS transaction commit failed: transaction context

2020-10-22 Thread Graham Leggett
Hi all, While trying to reindex a large mailbox to take advantage of Apache Tika, dovecot logs the following message: Error: Mailbox INBOX: Transaction commit failed: FTS transaction commit failed: transaction context The message is vague in that a transaction has failed, but nowhere does it

Re: Best prometheus exporter for Dovecot 2.3 with the new metrics/stats module

2020-10-22 Thread Aki Tuomi
> On 22/10/2020 12:18 Sidsel Jensen wrote: > > > Hi ppl. > > I am trying to locate the best prometheus exporter for use with Dovecot 2.3 > in connection with the new metrics/stats module. > Any pointers in the right direction will be appreciated - seems like there is > a bunch out there

Best prometheus exporter for Dovecot 2.3 with the new metrics/stats module

2020-10-22 Thread Sidsel Jensen
Hi ppl. I am trying to locate the best prometheus exporter for use with Dovecot 2.3 in connection with the new metrics/stats module. Any pointers in the right direction will be appreciated - seems like there is a bunch out there which all works with the old stats module. Anybody have something

Re: Indexer error after upgrade to 2.3.11.3

2020-10-22 Thread John Fawcett
On 21/10/2020 19:00, John Fawcett wrote: > On 21/10/2020 16:44, Patrik Peng wrote: >> On 16.10.20 18:34, Patrik Peng wrote: >>> On 16.10.20 18:00, Scott Q. wrote: This reminds me, the way I was able to reproduce this consistently was by having large headers ( 100+ lines ).

Re: Testing with imaptest to non existing folder makes imap service crash

2020-10-22 Thread Aki Tuomi
> On 21/10/2020 22:09 Marc Roos wrote: > > > FWIIW I had this message still in drafts > > /usr/bin/imaptest - append=100,0 logout=0 host=xxx port=143 user=xxx > pass=xxx seed=100 secs=1 clients=1 mbox=64kb.mbox box=inbox/test > msgs=10 > > And inbox/test does not exist, results in: