Mercurial > dovecot > original-hg > dovecot-1.2
diff src/imap-login/imap-proxy.h @ 2773:e624a9ad6a30 HEAD
More smart IMAP and POP3 proxies. Now if remote login fails, it just
destroys the proxy and allows trying another username which can go elsewhere.
Also now replies with the same old "Authentication failed" error message
instead of showing remote server's failure message.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 19 Oct 2004 02:07:01 +0300 |
parents | d344be0bb70f |
children | e4eb71ae8e96 |
line wrap: on
line diff
--- a/src/imap-login/imap-proxy.h Tue Oct 19 02:03:54 2004 +0300 +++ b/src/imap-login/imap-proxy.h Tue Oct 19 02:07:01 2004 +0300 @@ -1,6 +1,8 @@ #ifndef __IMAP_PROXY_H #define __IMAP_PROXY_H +#include "login-proxy.h" + int imap_proxy_new(struct imap_client *client, const char *host, unsigned int port, const char *user, const char *password);