[Dovecot] director: non standart ports at backends

Костырев Александр Алексеевич a.kostyrev at serverc.ru
Mon Jun 11 15:39:00 EEST 2012


thanks Timo, for you time
but I still don't get it)
should I return "port" with just "port_num1,port_num2" value or how?
I've tried to google an example but with no success.

-----Original Message-----
From: Timo Sirainen [mailto:tss at iki.fi] 
Sent: Monday, June 11, 2012 11:01 PM
To: Костырев Александр Алексеевич
Cc: dovecot at dovecot.org
Subject: Re: [Dovecot] director: non standart ports at backends

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