Thanks for the positive reinforcement ;-) It's well beyond my own level of C coding ability, cause I'd have to know where the current connection info is to pass it through to the auth module and so on - anyone know who did the service code? Was it Sam? Anyone know where the service gets it's name from?
Maybe they or he can comment on if that is any easier now than it was before (I had mentioned the concept about a year ago I think, but if I remember right people thought it would be a difficult change). On another topic... I need to do a minor enhancement to allow a separate POP daemon to run with a different service name... is the service name coded in the daemon itself? What I'm doing here is facilitating some special types of messages that my users would always prefer to POP rather than store on IMAP - they can filter them to a "POP" folder which this extra POP daemon (running on a separate port from the normal one) accesses to give them the ability to have both functions run from one account. Would like to enhance this extra copy of POP to have a different service name - sure I can handle that if someone points me at the file containing the service name. Thanks again. m/ -----Original Message----- From: Rodrigo Severo [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 2:24 PM To: Mitch (WebCob) Cc: [EMAIL PROTECTED] Subject: Re: [courier-users] Login w/ mysql - can I detect the IP address & use in the query? Mitch (WebCob) wrote: >I know there have been a lot of changes / enhancements to this code - like >the addition of service and so on... > >Has anyone figured out a way to allow "bob" to log on ONLY to "bob's IP". > >Would be a nice security feature to prevent bob from using someone else's >server IP - and thereby avoid the bandwidth fees... > > > I believe that this requires a code change such as the one that created the $service variable. >We do virtual hosting, so with a single server, there might be a few hundred >domains hosted - each with it's own user accounts - our accounting counts >data use by IP though, so it would be nice to be able to write an auth query >which includes the address or hostname connected to so I could make sure it >matches the the proper one. > >Just one of those loose ends I'd like to tie up. > > > I see... I agree that's a good idea. What do you think Mr. Sam? Rodrigo ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
