lmtp with sieve editheader Panic: file edit-mail.c: line 1809 (merge_from_parent): assertion failed

2022-12-06 Thread Matthias Lay
Hi, I have experienced a crash in lmtp delivery on some mails when sieve editheader plugin is used. The first one was an "analytics mail" from azure exchange. I stripped down the mail to the relevant parts that trigger this error. log message: lmtp(johnd)<27019>: Error: Raw backtrace:

Re: A user's last access time

2020-10-20 Thread Matthias Lay
Am Tue, 20 Oct 2020 09:31:16 +0700 schrieb Victor Sudakov : > Hello Sami, > > I have seen this but I do not want this information in a database. If > you know how to make the lastlogin_plugin write to a local file, that > would be very helpful. Even a local sqlite database would do. > > The

sieve size match with multiple of 4GB not matching (BUG?)

2020-01-24 Thread Matthias Lay
Hi, I have noticed a strange behaviour when using size matches with GB in sieve. If I use filter that matches mails smaller then 4, or 8GB it does not match in any case. same filter matches with 3,5,6,7 GB example filter: require "vnd.dovecot.debug"; if allof (size :under 4G) {

Re: PATCH for Stephan: Re: pigeonhole/lda accessing -m folder

2019-09-12 Thread Matthias Lay via dovecot
with: ${env.vnd.dovecot.default_mailbox} Greetz Matze Am Mon, 10 Aug 2015 17:05:58 +0200 schrieb Stephan Bosch : > Op 8/10/2015 om 4:29 PM schreef Steffen Kaiser: > > On Mon, 10 Aug 2015, matthias lay wrote: > > > > Dear Stephan, > > > > If you find this code OK

Re: Dovecot and Oauth

2019-08-20 Thread Matthias Lay via dovecot
Am Tue, 20 Aug 2019 11:07:13 +1200 schrieb Michael Hallager via dovecot : > Hi all, > > I am considering expanding a mail server to support Oauth with > Google. I have read through the following: > https://wiki.dovecot.org/PasswordDatabase/oauth2 > however, it doesn't work and appears to me to

Re: lmtp with non ASCII Parameters changed in dovecot 2.3

2019-07-25 Thread Matthias Lay via dovecot
> mail from: > 500 5.5.2 Invalid command syntax this was a bad example. the problem is more common on rcpt to: if you deliver to usernames or special folders rcpt to:<üser> or rcpt to:

lmtp with non ASCII Parameters changed in dovecot 2.3

2019-07-24 Thread Matthias Lay via dovecot
Hi, I updated from 2.2 to 2.3 and noticed lmtp rejects parameters containing non ASCII now. this worked with dovecot-2.2 lmtp. the string is already denied after reading in "smtp_command_parse_parameters()" mail from: 500 5.5.2 Invalid command syntax is there a plan to change this

Re: Variable expansion with variables containing '%' (ldap with 2.3.6)

2019-07-02 Thread Matthias Lay via dovecot
Am Tue, 2 Jul 2019 08:51:24 +0300 schrieb Aki Tuomi : > On 2.7.2019 8.24, Aki Tuomi via dovecot wrote: > > On 1.7.2019 13.37, Matthias Lay via dovecot wrote: > >> Am Mon, 1 Jul 2019 13:08:46 +0300 (EEST) > >> schrieb Aki Tuomi : > >> > >>>

Re: Variable expansion with variables containing '%' (ldap with 2.3.6)

2019-07-01 Thread Matthias Lay via dovecot
Am Mon, 1 Jul 2019 13:08:46 +0300 (EEST) schrieb Aki Tuomi : > Hi, > > there seems to be a problem when expanding variables containing a > single '%' in value in dovecot V2.3.6 > > having a user defined Variable in user_attrs like > > user_attrs = name=home=/maildir/%Ln, >

Variable expansion with variables containing '%' (ldap with 2.3.6)

2019-07-01 Thread Matthias Lay via dovecot
Hi, there seems to be a problem when expanding variables containing a single '%' in value in dovecot V2.3.6 having a user defined Variable in user_attrs like user_attrs = name=home=/maildir/%Ln, =myvar=path/%L{ldap:sAMAccountName} and sAMAccountName conains a '%', in my example

Variable expansion with variables containing '%' (ldap with 2.3.6)

2019-07-01 Thread Matthias Lay via dovecot
Hi, there seems to be a problem when expanding variables containing a single '%' in value in dovecot V2.3.6 having a user defined Variable in user_attrs like user_attrs = name=home=/maildir/%Ln, =myvar=path/%L{ldap:sAMAccountName} and sAMAccountName conains a '%', in my example

Re: [BUG] auth_bind with "()#<>"\:," in username not working

2016-08-02 Thread Matthias Lay
ror(struct ldap_connection *conn); struct db_ldap_result_iterate_context * On Tue, 2 Aug 2016 14:32:48 +0200 Matthias Lay <matthias@securepoint.de> wrote: > Hi once again, replying to myself > > > I think I tracked down the problem with a local openldap server. > &g

[BUG] auth_bind with "()#<>"\:," in username not working

2016-08-02 Thread Matthias Lay
20160729231039Z Greetz On Tue, 26 Jul 2016 13:07:24 +0200 Matthias Lay <matthias@securepoint.de> wrote: > Hi guys, > > > I had a look in the sources about this problem. > > the problem seems to be the ldap_escape function that is called from > > ldap_v

[BUG] Re: auth_bind with "()" in username not working

2016-07-26 Thread Matthias Lay
Hi guys, I had a look in the sources about this problem. the problem seems to be the ldap_escape function that is called from ldap_verify_plain_auth_bind_userdn(..) I dont really know if this escaping is needed at this point, but with this change it works for me. No other problems discovered

Re: auth_bind with "()" in username not working

2016-06-24 Thread Matthias Lay
Hi again, did some more tseting on this. I think the problem is the ldap userlookup, where "("s are evil and have to be quoted, but these quotes should be removed for the bind request. I get my usernames from ldap with a filter like this user_filter = (sAMAccountName=%Ln) so I think in

auth_bind with "()" in username not working

2016-06-09 Thread Matthias Lay
Hi all, I have an AD testsetup with auth_bind setting auth_bind_userdn = "spdev\\%Ln" I created a testuser "claasc (test)" which works fine in all ldapfilters but not for the auth_bind. the log shows everything correct just "invalid credentials" mail.debug: Jun 9 14:12:31 dovecot:

Re: A few new Pigeonhole features

2016-04-14 Thread Matthias Lay
On Thu, 14 Apr 2016 12:22:22 +0200 Stephan Bosch wrote: > > I am not sure what you mean exactly. Can you clarify? > sure, at the moment, if I am using a script like this fileinto :copy "myspecialplace" in lda sieve, the hardlinking is not working the mail

Re: A few new Pigeonhole features

2016-04-14 Thread Matthias Lay
On Thu, 7 Apr 2016 15:44:04 +0200 Stephan Bosch wrote: > > - Recently, I implemented support for the "imapsieve" extension in > Sieve and its IMAP counterpart (https://tools.ietf.org/html/rfc6785). > This is now in the Pigeonhole master branch. This allows running > Sieve

Re: subscribe users mailbox with non-valid mutf7 chars

2016-03-19 Thread Matthias Lay
amp;- p products group/' (0.000 secs). the same procedure works great with every Ascii Username. On Tue, 9 Feb 2016 12:31:31 +0100 Matthias Lay <matthias@securepoint.de> wrote: > > Hi all, > > I got a question if its possible to subscribe a mailbox from another > u

subscribe users mailbox with non-valid mutf7 chars

2016-02-09 Thread Matthias Lay
Hi all, I got a question if its possible to subscribe a mailbox from another user, who contains non mutf7 valid chars in his mailbox path. I have a private namespace which can subscribe to mailboxes of a shared namespace with public/ prefix in this example username in private namespace is

Re: My dovecot works fine against Active Directory 2003, but not against AD2008

2015-09-10 Thread Matthias Lay
REFERRALS off in ldap.conf means that the client should not follow > referrals returned by the DC > > So, if a referral answer is given from my DC, I think that is because > such DC can't provide the object which the client is looking for, so, > why works fine just by telling doveco

Re: My dovecot works fine against Active Directory 2003, but not against AD2008

2015-09-09 Thread Matthias Lay
hi, check your /etc/openldap/ldap.conf for REFERRALS off I had this errors with "referrals on" in misconfigured dns environments. you can debug the dns packets by strace-ing the auth process On Tue, 8 Sep 2015 11:00:37 +0200 Fran wrote: > Hello, > >

Re: question on autch cache parameters[Bug]

2015-08-31 Thread Matthias Lay
hi again, On Thu, 27 Aug 2015 14:37:59 +0300 Teemu Huovila wrote: > > However, I am unable to reproduce this. Could you post your doveconf > -n please? Im especially interested in your passdb and userdb > configurations and auth-cache settings. > just reproduced

Re: question on autch cache parameters

2015-08-27 Thread matthias lay
unable to reproduce this. Could you post your doveconf -n please? Im especially interested in your passdb and userdb configurations and auth-cache settings. br, Teemu Huovila On 08/06/2015 01:07 PM, matthias lay wrote: hi timo, I checked out the commit causing this. its this one

Re: PATCH for Stephan: Re: pigeonhole/lda accessing -m folder

2015-08-10 Thread matthias lay
hi stephan, On 08/10/2015 05:05 PM, Stephan Bosch wrote: I'll give this a look. Also, are there any other environment items that may be useful? when I checked the environment plugin I was wondering cuz it was not what I was thinking it would be, .before reading the RFC ;) would it be a

Re: pigeonhole/lda accessing -m folder

2015-08-10 Thread matthias lay
On 08/07/2015 04:03 PM, matthias lay wrote: fixed my problem. if somebody is interested. I added an variable to the environment extension, which is quite easy. And the value of the folder is already there. so this is all: src/lib-sieve/plugins/environment/ext-environment

Re: pigeonhole/lda accessing -m folder

2015-08-07 Thread matthias lay
like if anyof ( environment :matches spfolder *) { set myfolder ${1}; } On 08/07/2015 12:40 PM, matthias lay wrote: hi jost thx for the reply, by access I mean to read the variable require [fileinto, variables, ?destfolder? ]; if anyof ( destfolder :matches

Re: pigeonhole/lda accessing -m folder

2015-08-07 Thread matthias lay
2015, matthias lay wrote: anybody knows, if there is a way to acces the folder from a call like this deovecot-lda -m destfolder from within a sieve script? Depending on what you mean by access, this could be as easy as require fileinto; fileinto destfolder; Yours Jost Krieger

Re: question on autch cache parameters

2015-08-06 Thread matthias lay
that we did at least one successful passdb lookup */ On 08/05/2015 05:33 PM, matthias lay wrote: just tested against dovecot 2.2.15 everythings works fine. so might be a bug introduced between 2.2.16 and 2.2.18 On 08/05/2015 04:30 PM, matthias

question on autch cache parameters

2015-08-05 Thread matthias lay
Hi list, I have a question on auth caching in 2.2.18. I am using acl_groups for a master user, appended in a static userdb file # snip ### master@uma:{SHA}=::userdb_acl_groups=umareadmaster allow_nets=127.0.0.1 # snap ### and use

Re: question on autch cache parameters

2015-08-05 Thread matthias lay
just tested against dovecot 2.2.15 everythings works fine. so might be a bug introduced between 2.2.16 and 2.2.18 On 08/05/2015 04:30 PM, matthias lay wrote: Hi list, I have a question on auth caching in 2.2.18. I am using acl_groups for a master user, appended in a static userdb file

Re: ldap attribute modifiers. how to lowercase non ASCII

2015-08-04 Thread matthias lay
/blÄtula On 07/28/2015 05:15 PM, matthias lay wrote: hi all, I encountered some problem with lowercasing chars like an Ä with user_attrs like this: user_attrs = uid=home=/mail/%Lu, =myvar=%L{ldap:uid} the Ä doesnt get lower cased in both cases # doveadm user BLÄTULA field value

ldap attribute modifiers. how to lowercase non ASCII

2015-07-28 Thread matthias lay
hi all, I encountered some problem with lowercasing chars like an Ä with user_attrs like this: user_attrs = uid=home=/mail/%Lu, =myvar=%L{ldap:uid} the Ä doesnt get lower cased in both cases # doveadm user BLÄTULA field value userblÄtula uid vmail gid vmail home

Re: [Dovecot] lda+ldap multiple users

2014-02-17 Thread matthias lay
Hi Bob, On 02/14/2014 07:36 PM, Bob Miller wrote: I documented my sandbox qmail-ldap/dovecot system here, maybe it is useful to you: http://cocnm.computerisms.ca/index.php/Install_Qmail-ldap,_Dovecot,_and_Related_Email_Services thx for your help and support, but changing stuff in qmail is

Re: [Dovecot] lda+ldap multiple users

2014-02-14 Thread matthias lay
On 02/14/2014 08:27 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 7 Feb 2014, matthias lay wrote: I experienced that if a Mailaddress matches several users the delivery is aborted. dovecot: auth: Error: ldap(christian.t...@securepoint.de

[Dovecot] lda+ldap multiple users

2014-02-07 Thread matthias lay
Hi list and timo, I use dovecot lda with ldap to do a email = user lookup. I experienced that if a Mailaddress matches several users the delivery is aborted. dovecot: auth: Error: ldap(christian.t...@securepoint.de): LDAP search returned multiple entries dovecot: auth:

Re: [Dovecot] ntlm auth / usernames with white spaces

2012-08-01 Thread Matthias Lay
works the same way! at least for ntlm but should do the same for spnego. thx. didnt see your strarray join function. On Tue, 2012-07-31 at 22:10 +0300, Timo Sirainen wrote: On 27.7.2012, at 17.32, Matthias Lay wrote: we experienced some problems with white spaces in usernames

[Dovecot] authenticate plain and utf-8 with special chars

2012-07-31 Thread Matthias Lay
Hi, I experienced some problems with authenticate. seems like the mail clients like thunderbird send their base64 string in ISO- encoding, which doesnt work on my dovecot setup if there are some Umlauts I am not able to login as ömer for example If I authenticate from telnet with an base64

[Dovecot] ntlm auth / usernames with white spaces

2012-07-27 Thread Matthias Lay
Hi, we experienced some problems with white spaces in usernames (this was NOT our idea) authenticated bei dovecots ntlmhelper I wrote a little patch fixing this, if you would like. patch applies on 2.1.7 and 2.1.8 (tested those) diff -up ./src/auth/mech-winbind.c.username