On 11.1.2012, at 17.35, Frank Post wrote: > All is working well except lmtp. Sieve scripts are correctly saved under > /var/vmail/test.com/test/sieve, but under lmtp sieve will use > /var/vmail//testuser/ > Uid testuser has mail=t...@test.com configured in ldap. > > As i could see in the debug logs, there is a difference between the auth > "master out" lines, but why ? .. > Jan 11 14:39:53 auth: Debug: master in: USER 1 testuser > service=lmtp lip=10.234.201.9 rip=10.234.201.4
This means that Dovecot LMTP got: RCPT TO:<testuser> instead of: RCPT TO:<t...@test.com> You probably should fix your userdb lookup so that that would return "unknown user" instead of accepting it. But the real problem is anyway in your MTA setup.