[Dovecot] Feature Request for Proxy

Timo Sirainen tss at iki.fi
Sat Sep 22 18:25:51 EEST 2007


On Sun, 2007-09-09 at 13:26 +0100, Ed W wrote:
> Any suggestions on how this could be done more dynamically, or else 
> could I raise a feature request that the auth process somehow realises 
> when it's being forwarded to an IP address that it's actually listening 
> on already already (ie it's a request which loops back to itself), thus 
> simplifying the config files?  I haven't cracked open the code, but it 
> sounds somewhat possible to check the list of IP addresses we are 
> currently listening on and check that the proxy dest isn't among them?

Try the attached patch. It probably causes the login to fail then. If it
works, I'll continue with a dovecot-auth patch that does the same thing
to make it really work automatically.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: proxy-loop.diff
Type: text/x-patch
Size: 3069 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070922/3921cc5e/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070922/3921cc5e/attachment-0001.bin 


More information about the dovecot mailing list