[Dovecot] IMAP proxy configuration

Leonardo Rodrigues leolistas at solutti.com.br
Sun Mar 14 02:19:32 EET 2010


Em 13/03/2010 18:17, Timo Sirainen escreveu:
>
> Basically add to your password_query something like:
>
> .., domains.host as host, 'Y' as proxy_maybe, ..
> from emails, domains where domains.domain = '%d', ..
>
> So it's really exactly the same as per-user quota, except you're just
> returning it per-domain in the query.
>    


     but if i simply add that, query will always return nothing when 
user is not local.

     where endereco='%u'

     will make it return an empty resultset when user does not exists 
locally.


     i'm really strugling to discover how, probably with MySQL select 
syntax, to return one resultset if CONDITION1 (where endereco='%u' 
exists) and another resultset if CONDITION2 (where domains.domain = '%d' 
exists)

     i really dont know to acchieve that .... imap proxying is clear to 
me, but i couldnt get how to acchieve it for users that does not exists 
in my local email table ...



-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes at solutti.com.br
	My SPAMTRAP, do not email it






More information about the dovecot mailing list