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

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 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 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-11 Thread Rick Widmer
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 thinking straight, or am I way offbase? It's not an unreasonable way of d

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

2007-01-11 Thread Joshua Megerman
> Joshua Megeman wrote: >> It sets the connection type based on a list of known >> ports (25/465/587 for SMTP, 110/995 for POP and 143/993 for IMAP), and >> defaults to POP on an unknown conenction. > > Sorry, this isn't an actual thread reply, but I just came across an > issue with the vchkpw prog

[vchkpw] Re: vchpw/onauth connection types

2007-01-11 Thread Rick Romero
Joshua Megeman wrote: > It sets the connection type based on a list of known > ports (25/465/587 for SMTP, 110/995 for POP and 143/993 for IMAP), and > defaults to POP on an unknown conenction. Sorry, this isn't an actual thread reply, but I just came across an issue with the vchkpw program itse