[Ltb-users] Self service password trouble.

admin admin at webmerchantsinc.com
Thu May 19 13:21:08 CEST 2011


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=<www-data at mydomain.com>, size=696, nrcpt=1 (queue active)
May 19 12:58:39 ubuntu postfix/smtp[4322]: E2FEF6F58F: 
to=<user at mydomain.com>, 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 
<20110519095838.E2FEF6F58F at ubuntu-server.mydomain.com> 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=<20110519110502.073DD6F58F at ubuntu-server.mydomain.com>
May 19 14:05:02 src postfix/qmgr[24410]: 073DD6F58F: 
from=<Domain at mydomain.com>, size=646, nrcpt=4 (queue active)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F: 
to=<user at mydomain.com>, 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 
<20110519110502.073DD6F58F at ubuntu-server.mydomain.com> Queued mail for 
delivery)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F: 
to=<ssp at mydomain.com>, 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 
<20110519110502.073DD6F58F at ubuntu-server.mydomain.com> Queued mail for 
delivery)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F: 
to=<Password at mydomain.com>, 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 
<20110519110502.073DD6F58F at ubuntu-server.mydomain.com> Queued mail for 
delivery)
May 19 14:05:02 src postfix/smtp[10640]: 073DD6F58F: 
to=<Remainder at mydomain.com>, 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 
<20110519110502.073DD6F58F at ubuntu-server.mydomain.com> 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.

Thank you.

Slava.

On 5/18/2011 6:07 PM, Clément OUDOT wrote:
> Le 18 mai 2011 16:32, admin<admin at webmerchantsinc.com>  a écrit :
>>> this is possible with the trunk version (version 0.6) but not in version
>>> 0.5.
>> possible to change or to get email with empty From ?
>>
> You will have a $mail_from configuration parameter.
>
>
> Clément.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ltb-project.org/pipermail/ltb-users/attachments/20110519/b46fdf90/attachment.htm>


More information about the ltb-users mailing list