[Dovecot] director: non standart ports at backends

Timo Sirainen tss at iki.fi
Mon Jun 11 15:01:27 EEST 2012


On 11.6.2012, at 12.27, Костырев Александр Алексеевич wrote:

> hello,
> I'm trying to figure out how to proxy pop3 and pop3s that listens on non-standart ports at backends.
> For example, pop3 is at 1110 and pop3s at 1995 (on backend side).
> is it possible? 
> how should I separate this ports in director's config?
> it's easy for one port:
> for example lmtp - you just use passdb in protocol lmtp {}

The passdb needs to return the "port" field. You can't use static passdb for this, since it has no conditionals and you can't do per-port configuration. Maybe use sqlite (simply to use it as a scripting engine - empty database) or checkpassword as your passdb.




More information about the dovecot mailing list