Re: [vchkpw] Re: vchpw/onauth connection types

2007-01-12 Thread Rick Romero
On Thu, 2007-01-11 at 21:30 -0700, Rick Widmer wrote: > > Joshua Megerman wrote: > > >>For example, vchkpw-imap would set the type to imap. vchkpw-smtp would > >>set it to smtp, etc. This seems like a trivial change, and would only > >>require a softlink back to vchkpw to enable. Am I thinkin

Re: [vchkpw] Re: vchpw/onauth connection types

2007-01-12 Thread Joshua Megerman
> On Thu, 2007-01-11 at 21:30 -0700, Rick Widmer wrote: >> >> Joshua Megerman wrote: >> > It's not an unreasonable way of doing things, although vchkpw will try >> to >> > figure out what the connection type is based on argv[1] if the port is >> > unknown. Maybe the best solution is to eliminate

Re: [vchkpw] Re: vchpw/onauth connection types

2007-01-12 Thread Rick Widmer
Joshua Megerman wrote: Well, changing the default LocalPort value won't necessarily cause a change in functionality, as this is what the code does: Get the value of the TCPLOCALPORT environment variable. If it's not set (getenv returns NULL), set LocalPort to 110, otherwise use atoi to conve

Re: [vchkpw] Re: vchpw/onauth connection types

2007-01-12 Thread Rick Romero
On Fri, 2007-01-12 at 09:32 -0700, Rick Widmer wrote: > > Joshua Megerman wrote: > > > Well, changing the default LocalPort value won't necessarily cause a > > change in functionality, as this is what the code does: > > > > Get the value of the TCPLOCALPORT environment variable. If it's not set