Issue is http://tools.ltb-project.org/issues/311

On 5/19/2011 4:45 PM, admin wrote:

I created Issue - but forgot to assign it to you and to place it in to Self Service Password category.

Thank you.


On 5/19/2011 3:29 PM, Clément OUDOT wrote:
Le 19 mai 2011 13:21, admin<[email protected]>  a écrit :
Hello Clément.
Now I using version from trunk.
I received email with FROM header but I cant see anything in From header in
my Mail Client an in Postfix mail Server is shown www-data as sender:

Mail Client ScreenShot:
http://img33.imageshack.us/img33/7224/wofrom.png
Postfix Logs:
May 19 12:58:38 ubuntu postfix/qmgr[24410]: E2FEF6F58F:
from=<[email protected]>, size=696, nrcpt=1 (queue active)
May 19 12:58:39 ubuntu postfix/smtp[4322]: E2FEF6F58F:
to=<[email protected]>, relay=192.168.1.1[192.168.1.1]:25, delay=0.13,
delays=0.04/0/0/0.09, dsn=2.6.0, status=sent (250 2.6.0
<[email protected]>  Queued mail for
delivery)

When I changed in functions.inc.php:
$result = mail($mail, $subject, $body, $header."From: $mail_from\r\n");
to
$result = mail($mail, $subject, $body, $headers."FROM:$mail_from"
."\r\n","-f$mail_from");
I began to see From field:
Mail Client ScreenShot:
http://imageshack.us/m/607/4627/wfrom.png
Postfix Logs:
May 19 14:05:02 src postfix/pickup[11927]: 073DD6F58F: uid=33 from=<Domain>
May 19 14:05:02 src postfix/cleanup[9838]: 073DD6F58F:
message-id=<[email protected]>
May 19 14:05:02 src postfix/qmgr[24410]: 073DD6F58F:
from=<[email protected]>, size=646, nrcpt=4 (queue active)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F: to=<[email protected]>,
relay=192.168.1.1[192.168.1.1]:25, delay=0.12, delays=0.04/0/0/0.08,
dsn=2.6.0, status=sent (250 2.6.0
<[email protected]>  Queued mail for
delivery)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F: to=<[email protected]>,
relay=192.168.1.1[192.168.1.1]:25, delay=0.12, delays=0.04/0/0/0.08,
dsn=2.6.0, status=sent (250 2.6.0
<[email protected]>  Queued mail for
delivery)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F:
to=<[email protected]>, orig_to=<Password>,
relay=192.168.64.4[192.168.64.4]:25, delay=0.12, delays=0.04/0/0/0.08,
dsn=2.6.0, status=sent (250 2.6.0
<[email protected]>  Queued mail for
delivery)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F:
to=<[email protected]>, orig_to=<Remainder>,
relay=192.168.64.4[192.168.64.4]:25, delay=0.12, delays=0.04/0/0/0.08,
dsn=2.6.0, status=sent (250 2.6.0
<[email protected]>  Queued mail for
delivery)
May 19 14:05:02 src postfix/qmgr[24410]: 073DD6F58F: removed

I don't know is that correct, but it works in my another  php code.

Hi,

I have no problem with exim, but this is maybe related to Postfix. You
can open a bug, and I will add the '-f' option in the mail command.

Thanks for your test!

Clément.



_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users



_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to