On 3 Mar 2003, Jonas Pasche wrote:

> The drawback is that tcpserver sets (besides others) the environment
> variable TCPREMOTEIP, which vchkpw uses for logging and for opening
> dynamic relays. sslserver from the ucspi-ssl package set SSLREMOTEIP
> instead, which causes vchkpw to stop logging IP addresses as well as its
> functionality for roaming users.

I'm no C hacker, but if I'm reading things correctly, something like this
would solve the problem without adding another weird hack to vpopmail:

*** sslserver.c.0rig    Sun Mar  2 20:42:25 2003
--- sslserver.c Sun Mar  2 20:42:30 2003
***************
*** 208,213 ****
--- 208,214 ----
        }
        }
    env("SSLREMOTEIP",remoteipstr);
+   env("TCPREMOTEIP",remoteipstr);
    env("SSLREMOTEPORT",remoteportstr);
    env("SSLREMOTEHOST",remotehost);

What would be the drawbacks to modifying sslserver?

Thanks,

Charles

> What do you think: Should vpopmail read SSLREMOTEIP in addition to
> TCPREMOTEIP, using whatever of them is set?
>
> Does anyone know a workaround until either vpopmail reads SSLREMOTEIP or
> ucspi-ssl sets TCPREMOTEIP?
>
> Jonas
>
>
>


Reply via email to