[Dovecot] LMTP returncode 450?

Timo Sirainen tss at iki.fi
Tue Jun 28 02:58:23 EEST 2011


On Mon, 2011-06-27 at 14:55 +0200, Peter Mogensen wrote:

> How do I get the LMTP-server to know which mailbox's are locally hosted 
> and return SMTP code 450 if delivery is attempted to a non local user?

You can't, at least that way. Why are you trying to deliver mails to a
non-local mailbox? You could anyway use Dovecot as LMTP proxy to the
remote LMTP server and it would deliver the mail there without an error.

> I can see that a lookup in the userdb is done, but now matter what I 
> return (1/111) from my checkpassword script I just get:

Set lmtp_proxy=yes and have passdb lookup return proxy=y and
host=1.2.3.4.




More information about the dovecot mailing list