[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: probleme de points avec postfix



sylvain maugiron <smaugiron@yahoo.fr> writes:

> salut, 
> 
> je viens de tomber sur un probleme avec mon postfix: 
> quand mon mail contient une ligne commencant par un point (.), ce
> point est supprime du mail . 

Ce n'est pas postfix, c'est plutôt le client mail qui fait mal son
boulot.
En SMTP, un mail se termine par un point :

220 duvel.u-picardie.Fr ESMTP Postfix (Debian/GNU)
[...]
data
354 End data with <CR><LF>.<CR><LF>

Du coup, il a fallut définir des règles pour permettre l'envoi d'une
ligne contenant un simple '.':

http://www.ietf.org/rfc/rfc0821.txt :

 4.5.2.  TRANSPARENCY

         Without some provision for data transparency the character
         sequence "<CRLF>.<CRLF>" ends the mail text and cannot be sent
         by the user.  In general, users are not aware of such
         "forbidden" sequences.  To allow all user composed text to be
         transmitted transparently the following procedures are used.

            1. Before sending a line of mail text the sender-SMTP checks
            the first character of the line.  If it is a period, one
            additional period is inserted at the beginning of the line.

            2. When a line of mail text is received by the receiver-SMTP
            it checks the line.  If the line is composed of a single
            period it is the end of mail.  If the first character is a
            period and there are other characters on the line, the first
            character is deleted.

Ton client mail semble ne pas être au courant et oublier de doubler
les '.' qu'il rencontre en début de ligne.

Ni mutt ni gnus n'ont ce problème.

               Jean Charles
-- 
Jean Charles Delépine - Équipe Réseaux Télécoms - Université de Picardie


-- 
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: