Hi list,

Has anyone ever tried to use "REMOTE_ADDR" to be sent along with emails sent
from php-scripts that use the "mail()" function?

I have built a small auto-relaying sendmail (crudely based on mini-sendmail,
http://www.acme.com/software/mini_sendmail/) that adds a "received" header
containing the poster's ip-address.

Unfortunately php does NOT pass on these environment variabeles to the
program that gets called as the mail-program (In my case my mini-sendmail).
This renders this little "spamfinder" trick unusable, which is too bad :(

If someone has a clue/trick for me on how to enable this, I would be really
gratefull!

Kind regards,


Maikel Verheijen.

Reply via email to