St?phane MERLE: > in fact, I use PHPMailer because it can handle the connexion directly in > SMTP and not with the php mail() function. > > if I understood you correctly, what i am doing right now (and since > about 8 years ...) is wrong. I got this kind of headers (sender domain > <> return path domain as use de same return path domain for common > treatment ) :
The return-path header is DELETED when Postfix receives mail. The return-path header is CREATED when Postfix delivers mail. The return-path header contains the envelope sender address. If the return-path header does not contain what you want, then you must specify the correct envelope sender email address. Wietse