I don't really know to start. I've made a patch and want to ask for the offical way to bring this patch into the php engine (if this is possible). I also need some help about the internals of php.
At first I will explain some things, why I made the patch. Imagine a big webserver with a few dozen virtuell hosts on it. Some of the hosts are doing different mailling list via php. There are sending dozens of mails around the world. For some reasons they don't check the emails for correctness. (*I* know this is bad.) And so the mails will be returned - in case of an unreable 'To:' - to the webserver itself: "[EMAIL PROTECTED]". That is bad, because this adress is not existing. Creating the adress will not solve the problem, because then the mailing from different customers are hitting all the same adress. That is bad too. My basic idea was to 'fake' the fifth parameter of the mail command. Excerpt from http://www.php.net/manual/en/function.mail.php: mail("[EMAIL PROTECTED]", "the subject", $message, "From: [EMAIL PROTECTED]", "[EMAIL PROTECTED]"); The 'additional_parameters' would solve my problem. I copy the 'From:' header to the 'additional_parameters'. Then I prefixed it with a '-f' and everything is fine for sendmail and compatibles. The patch is about 130 lines. The questions are: - what do you think about it? - is it a good idea to 'fake' the '-f' parameter? - Can I post the patch here? Which format? uu oder base64? - How good are the chances that this patch is welcome? - Who decides about good (going into the php-core) patches and bad patches (not going in)? - Should there be a flag in php.ini for enabling/disabling it? Thanx for your help. -- So long... Fuzz -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php