On Thu, Dec 28, 2000 at 01:02:49PM +0100, Nicolas Desir wrote:

> L'auteur préconiserait certainement de corriger le bug dans php, en plus
> il utilise php sur son site. Mais je n'ose plus lui poser de questions:

En fait il ne s'agit pas d'un bug de PHP mais d'un bug dans
l'utilisation de la fonction mail() de PHP. Il faut spécifier des
headers corrects lorsqu'on envoie en mail en 8 bits.

> Donc sa réponse à coup sûr:
> well-written mua/mta will generate rfc2045 compliant mail....

Exactly ! Voici un bout de la réponse que Philippe m'a forwardé.

On Mon, 5 Jun 2000, Philippe Strauss wrote:

> Is their any plan to provide the sysadmin with a option for
> accepting 8bit content local-delivery? (and just for that - i can leave
> with the others, 8 bit header must be rejected ASAP, 8 bit content could
> be bounced back to the user sending this email, ie when relaying).

On Mon, 5 Jun 2000, Sam wrote:

No, and precisely for this reason -- the generated bounces themselves
would have corrupt MIME headers.  Accepting improperly-formatted mail
means that:

* Bounces will be corrupt too.

* Relaying to external mail relays may result in a failure to properly
  reencode 8-bit mail as quoted-printable for gateways that do not
  accept 8-bit mail.

-- 
Francois Deppierraz <[EMAIL PROTECTED]>
Nimag Networks Sàrl - www.nimag.net
Phone +41 21 847 00 75 - Fax +41 21 847 00 77
PGP Key ID: 9D283BC9
--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question.

Répondre à