IMAPS only for some users.

Patrick Goetz pgoetz at mail.utexas.edu
Tue Oct 5 11:34:43 EDT 2010


On 10/05/2010 05:50 AM, Josef Karliak wrote:
>   Hi there,
> is it possible to allow imaps only for some users (accounts are in the
> passwd) ?
> I want to accept imaps from net for few special users. Others are
> authorized only over imap clients from local network.
> Thanks.

I'm not sure if you can do this withing cyrus, but if not, you could use 
a firewall (e.g. iptables) to restrict port 143/993 traffic to 
particular uid's:

   iptables -A my_chain -o ethX -m owner --uid-owner {USERNAME} 
--destination-port 143 -j ACCEPT

This might get onerous to manage if you have a lot of user accounts, though.



More information about the Info-cyrus mailing list