But in any case Mail Reset now work, when I go to received link i this:
*
Warning*: Wrong parameter count for strstr() in */home/ssp/functions.inc.php* on line *301*

*Notice*: Undefined variable: keyphrase in */home/ssp/functions.inc.php* on line *314*

*Warning*: mcrypt_generic_init() [function.mcrypt-generic-init <https://ssp.webmerchantsinc.com/function.mcrypt-generic-init>]: Iv size incorrect; supplied length: 0, needed: 32 in */home/ssp/functions.inc.php* on line *317*

*Warning*: session_start() [function.session-start <https://ssp.webmerchantsinc.com/function.session-start>]: Cannot send session cache limiter - headers already sent (output started at /home/web_app/production/ssp/index.php:70) in */home/ssp/pages/resetbytoken.php* on line *65*

*Notice*: session_start() [function.session-start <https://ssp.webmerchantsinc.com/function.session-start>]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in */home/ssp/pages/resetbytoken.php* on line *65*

*Notice*: Undefined index: login in */home/ssp/pages/resetbytoken.php* on line *66*


   Token is not valid

How I can fix this ?

Thank you.
Slava.

On 5/19/2011 2:21 PM, admin wrote:
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.

Thank you.

Slava.

On 5/18/2011 6:07 PM, Clément OUDOT wrote:
Le 18 mai 2011 16:32, admin<[email protected]>  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.



_______________________________________________
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