Hi all,

I'll start with the explanation, since I can't seem to write the question
accurately enough by itself...

I've written a small C program that will take a single string and match it
to the most likely user account in /etc/passwd.  Obviously, this is to ease
the task of forwarding on email with incorrectly spelt email addresses (we
feel this is less hassle that attempting to educate 6 billion morons who
can't handle spelling correctly).  The problem is, I'm not sure what the
best way to return the result is.  At the moment I set an environment
variable, but I'm not sure that works, just as I'm not sure putting
&$FORWARD_ADDRESS in .qmail works.

Any ideas welcome.

Jim

Reply via email to