SQL auxprop options and client IP

Ken Murchison murch at andrew.cmu.edu
Wed Mar 7 08:58:10 EST 2007


Pavel A Crasotin wrote:
> Hello -
> 
> We use cyrus-imapd to let our clients get mail.
> 
> I need to check client IP address (or hostname) in MySQL to evaluate
> access rights.
> Is it possible to add some arguments to SQL auxprop like these:
> %i - client IP address
> %h - client hostname
> ?

I would gladly accept a patch that does this, as long as this data is 
available to the plugin with the current API.  Its been a while since 
I've had my hands on the auxprop source, and I don't recall off the top 
of my head what data is available.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Cyrus-sasl mailing list