On Fri, 14 May 1999, Fred Backman wrote:

> Hi,
> I have a mail server with a couple of virtual IPs set up and I want to
> modify qmail's pop server so that it can tell which one of the IP
> interfaces the remote user is connecting to. As an example of what I
> want to achieve in the end, if a remote user is connecting to port 110,
> the pop server will be able to add "Connection from <remote ip> to
> <local ip>."

just wrap it.  Since I haven't got many users, I wrap it with a small
shell script, which has available to it the various tcpserver environment
variables.  "echo $TCPREMOTEIP >>logfile" will do the trick.  If you've
got more users, write a tiny c program to wrap it.

> Is there a somewhat easy way to do this? I'm not afraid to dig deep into
> the source code. Currently running v1.00.
> 
> Please note that I am _not_ interested in solutions where the format of
> the pop username is similar to "user@domain"! All which is required is
> normal user and password.
> 
> Thanks a lot,
> Fred
> 
> 
> 

-- 
"Life is much too important to be taken seriously."
Thomas Erskine        <[EMAIL PROTECTED]>        (613) 998-2836

Reply via email to