Re: [Dovecot] LMTP: Rejecting unknown users

2010-08-04 Thread Timo Sirainen
On Wed, 2010-08-04 at 17:00 +0200, Peer Heinlein wrote: > r...@mail-archiv:/etc/dovecot# doveadm user notexist...@example.org > userdb lookup: user notexist...@example.org doesn't exist What if you run this twice, does the second one say it doesn't exist or does it then return the user? > But the

Re: [Dovecot] LMTP: Rejecting unknown users

2010-08-04 Thread Peer Heinlein
Am Mittwoch 04 August 2010 schrieb Timo Sirainen: > What are the full debug logs for this lookup? (What's different in > them compared to "doveadm user"?) > > > ...it's still possible to send him e-mails... > > LMTP and "doveadm user" should send the same command to auth process > and they should

Re: [Dovecot] LMTP: Rejecting unknown users

2010-08-04 Thread Timo Sirainen
On Wed, 2010-08-04 at 16:35 +0200, Peer Heinlein wrote: > But even if doveadm user denies the existence of my dummy-user: > > r...@mail-archiv:/etc/dovecot# doveadm user hgjhg...@example.org > userdb lookup: user hgjhg...@example.org doesn't exist > > Aug 4 14:30:49 mail-archiv dovecot: auth: ld

Re: [Dovecot] LMTP: Rejecting unknown users

2010-08-04 Thread Peer Heinlein
Am Mittwoch 04 August 2010 schrieb Timo Sirainen: > > Unfortunately, LMTP accepts mail for *all* users, even for those > > users, that doesn't exist in LDAP at all: > > Shouldn't happen.. Okay, so I'm hopefully not t stupid :-) > BTW. You should be able to test this more easily with "dovead

Re: [Dovecot] LMTP: Rejecting unknown users

2010-08-04 Thread Timo Sirainen
On Wed, 2010-08-04 at 15:37 +0200, Peer Heinlein wrote: > user_attrs = > =home=/mail/%d/%n,=uid=1,=gid=1,jpberlinMailQuota=quota_rule=*:storage=%$B > user_filter = (email=%u) Looks ok.. > Unfortunately, LMTP accepts mail for *all* users, even for those users, > that doesn't exist in LDA

[Dovecot] LMTP: Rejecting unknown users

2010-08-04 Thread Peer Heinlein
Hi! I'm using static results in LDAP-lookups: uris = ldap://127.0.0.1 dn = x dnpass = tls = no ldap_version = 3 base = x user_attrs = =home=/mail/%d/%n,=uid=1,=gid=1,jpberlinMailQuota=quota_rule=*:storage=%$B user_filter = (email=%u) pass_attrs =