[courier-users] access to couriertcpd environment from auth modules

This is a discussion on [courier-users] access to couriertcpd environment from auth modules within the Courier-Imap forums, part of the Mail Servers and Related category; hi I'm trying to create a custom auth module which will look at the remote IP address or some ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-04-2006
Sergiy Zhuk
 
Posts: n/a
Default [courier-users] access to couriertcpd environment from auth modules

hi

I'm trying to create a custom auth module which will look at the remote
IP address or some other env variable set by couriertcpd to make a decision
about the type of password and return values it'll use.
Problem is the environment accessible from login processes (pop3login or
imaplogin) doesn't seem to be accessible from auth_login() (different
context and different parents?) so I can't seem to access TCPREMOTEIP and
other variables by using getenv() from the auth module itself.
Is there any standard way to access that environment from an auth module or
I have to modify pop3dlogin and imaplogin to somehow pass this info to
auth_login() ?
I could do that, but I would rather not since custom auth modules are
officially supported while custom login processes are not ;)

thanks

--
rgds,
serge


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=...486&dat=121642
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0