[Dovecot] sieve under lmtp using wrong homedir ?

Timo Sirainen tss at iki.fi
Sun Jan 29 00:04:16 EET 2012


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=test at 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:<test at 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.


More information about the dovecot mailing list