Re: IMAPS only for some users.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux