probleme de points avec postfix
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 . c'est un evenement qui arrive rarement, sauf dans le cas de mail en html, avec une feuille de style au debut :-( est ce que quelqu'un a une idee du parametre de configuration a modifier pour resoudre ce probleme ? merci ! = Sylvain Maugiron - Microsoft is not the answer Microsoft is a question NO is the answer! Venez faire un tour sur http://Virtux.org ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: probleme de points avec postfix
On Wed, 10 Apr 2002 17:09:02 +0200 (CEST) sylvain maugiron [EMAIL PROTECTED] wrote: 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 . c'est un evenement qui arrive rarement, sauf dans le cas de mail en html, avec une feuille de style au debut :-( est ce que quelqu'un a une idee du parametre de configuration a modifier pour resoudre ce probleme ? Une ligne avec un point est la marque de fin du message du protocole SMTP (d'ailleurs quand tu te connectes avec telnet 25, après DATA postfix doit te dire de terminer le body comme ca) Pour envoyer une ligne avec un point il faut en mettre deux, si ca ne marche pas c'est que le mail a été envoyé avec un mailer pourri, ou en direct avec smtp. Microsoft is not the answer Microsoft is a question NO is the answer! Faudrait positiver un peu. Tu devrais lire le howto Linux advocacy Alain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: probleme de points avec postfix
sylvain maugiron [EMAIL PROTECTED] 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 CRLF.CRLF 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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]