[LUGOS] BAD-HEADER; amavisd-new, php

miran zerak miranzerak at hotmail.com
Thu Dec 14 11:26:21 CET 2006


evo se mail, ki ni hotelo poslati :|
---
oj,

uporabljam zadnjo verzijo amavisd-new-2.4.4 in php-5.2.0.

Po updejtu amavisd-new in php
je nastal problem.

Pri mail headerju php skripte:
$headers  = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=windows-1250\r\n";
$headers .= "From: x <x at x.si>\r\n";

mi amavis rece:
Dec 14 08:01:00 bel amavis[30478]: (30478-02) Passed BAD-HEADER, <...

in dobim email:

WARNING: bad headers Improper use of control character (char 0D hex):
MIME-Version: 1.0\r\n Improper use of control character (char 0D hex):
Content-type: text/html; charset=windows-1250\r\n

problem je v <CRLF>, ce dam samo "\n" deluje oz. ne javi napake.
Sumim da je kriv php, ker na ostalih boxah imam enako verzijo amavis in je 
ok. Edina razlika je, da tam uporabljam php4



LP
  miran

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the lugos-list mailing list