limit user access to certain IP addresses?

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

On Mon, Aug 18, 2008 at 1:23 PM, Tomasz Chmielewski <mangoo at> 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
> (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

> 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
> ----
> Cyrus Home Page:
> Cyrus Wiki/FAQ:
> List Archives/Info:

Alain Spineux
aspineux gmail com
May the sources be with you

More information about the Info-cyrus mailing list