Authentication depending on IP-Address?

Stefan Schleifer gnut at odn.de
Fri Dec 3 15:04:38 EST 2004


Hello List,

i'd like to use Cyrus imapd as mailserver, but have "privileged" and 
"normal" users.

The imap-server has two network-cards, one for the external, one for the 
internal network. Users from internal network (having a 192.168.x.x IP 
address) should authenticate against the internal database, users from the 
external interface should authenticate against the same database and should 
only be authorized if one additional field (external=yes or something) is set.


This is to apart the users which can only use the internal webmail-service 
from the user which can use the internal webmail service and have access to 
their mailboxes via imap-mailclient from home also.

MySQL is used as authentication backend, with sasl and pam.

Anyone any idea?

( Setting up an imap-murder with one frontend server for the internal users 
and one for the internal/external users is not really a solution :-) )

Regards,
Stefan


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list