On Thu, August 19, 2004 4:19, Jonathan Angliss said:
>> A sample mail:
>> Return-Path: <>
>>
>
> I don't think we put that there. I cannot find any code that sets the
> Return-Path. If you want a fix, you can add the code in
> src/compose.php, I'll go over the RFCs, and make sure we put it in
> correctly. Take a look at src/compose.php around line 1357. You'll see a
> function "deliverMessage". You can probably squeeze some code in around
> line 1428, something along the lines of:
>
> $rfc822_header->more_headers['Return-Path'] = '<' . $from_mail . '>';
This won't solve the problem... according to RFC 822, Return-Path is added by the
final transport system and usually has the value supplied after MAIL FROM: in the SMTP
session. It's used to direct bounces. Setting it in SquirrelMail will probably have no
effect.
What is going wrong is that MAIL FROM appearently isn't followed by a correct address.
What causes this I don't know, but depends on your outgoing mail service: SMTP or
Sendmail. In SMTP it's set in Deliver_SMTP.class:
fputs($stream, 'MAIL FROM:<'.$fromaddress.">\r\n");
And in Deliver_Sendmail.class here:
$envelopefrom = trim($from->mailbox.'@'.$from->host);
I guess that either something's going wrong there, or some transport system along the
way messes things up.
Thijs
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users