Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: FORMS, validating mail was sent Date: Fri, 28 Jun 2013 11:43:25 +0200 Lines: 32 Message-ID: <51CD5ABD.5080204@arnowelzel.de> References: <2348539.nhvccKBfxy@PointedEars.de> <6LidnRtLdZLuPFXMnZ2dnUVZ_qadnZ2d@posted.internetamerica> <2474565.KKuniypEF1@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net gukOI2FSKFQXSGuikKtDOwBUH6hOL0952lISAsn2woEdOCISuf Cancel-Lock: sha1:JWaaTBnAqQdeVh08ngO6j1Ff3RM= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <2474565.KKuniypEF1@PointedEars.de> Xref: csiph.com comp.lang.php:9912 Am 25.06.2013 15:19, schrieb Thomas 'PointedEars' Lahn: > Gordon Burditt wrote: [...] >> Exim also has "sender verify" (which can be optionally enabled). >> On starting to receive an incoming message, Exim starts to send a >> bounce message back to the envelope-sender. If the bounce message >> is refused (at the MAIL FROM: and RCPT TO: stage), so is the message. >> The bounce message is never completely sent (and has no text) so >> it's never delivered. If sender DNS or mail server goes down, the >> message goes nowhere. > > That is the counter-measure I was talking about. It does not pertain to the > “From” header field, but to the *Envelope*-From. Which is something that > you cannot change with PHP's mail(). JFTR: Depending on the platform you use PHP you can - just pass an optional parameter to sendmail (-f) to override the envelope-From: mail('to@foobar.example', 'subject', 'message', 'From: from@foobar.example', '-f from@foobar.example'); Also see: -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de