limit user access to certain IP addresses?

Alain Spineux aspineux at gmail.com
Tue Aug 19 10:58:11 EDT 2008


On Mon, Aug 18, 2008 at 1:23 PM, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> It it possible to limit POP3/IMAP access for chosen users only to
> certain IP addresses?
>
> For example, I'd like to allow some users only access from 127.0.0.1
> (or, Squirrelmail running on the same address as Cyrus); those users
> shouldn't have public access to POP3/IMAP from the whole Internet.

I do that using nginx as a pop3/imap proxy

http://wiki.codemongers.com/NginxMailCoreModule

>
> At the same time, though, I would like to allow access for some other
> users via POP3/IMAP as well.
>
>
> Is it somehow possible with Cyrus? If it is, it would be great if it
> could be used to limit access to SMTP as well. As SMTP is different than
> what Cyrus does, this would perhaps suggest some additional PAM library?

postfix allow you to setup your own policy service.
You can insert your in smtpd_sender_restrictions or
smtpd_rcipient_restrictions lists


>
> Any ideas?
>
>
> --
> Tomasz Chmielewski
> http://wpkg.org
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list