On Fri, 2003-07-11 at 01:27, Simon Byrnand wrote: > At 21:19 10/07/03 -0300, Raul Dias wrote: > >Em Qui, 2003-07-10 ās 20:03, Simon Byrnand escreveu: > > > > > >sendmail.cf > > > > > > > >######################### > > > ># Format of headers # > > > >######################### > > > > > > > >blah > > > >blah > > > > > > > >HX-Envelope-From: $g > > > >HX-Envelope-To: $u > > > > > > > >if i recall correctly :) > > > > > > Looks plausable, as $g is in Return-Path, and $u is after 'for' in the > > > default header format, however as far as I know $u is only present if > > there > > > is ONE local recipient for the message. If there are multiple local > > > recipients of a message, it is not displayed... > > > >Do you know how/what to use when there are multiple local > >recipients instead of $u? >
As I understand it, $u is generated after the envelope has been preprocessed (by ruleset 3?) and therefore only contains the current recipient. Multiple recipients cause the message to be processed differently and $u never exists. I don't know the way around this, although I'm sure there is one. Either we need a real sendmail guru or I'm going to get a headache figuring it out :) > Nope, no idea sorry. And I did try adding those headers on a test server to > see if it does work, and it does, $u actually puts <> around the email > address by itself and $g doesnt, so for them to look consistent, you want > > HX-Envelope-From: <$g> > HX-Envelope-To: $u > > I did also confirm that if the message has multiple local recipients that > the X-Envelope-To: line doesn't even get added at all :( > > Regards, > Simon -- Yorkshire Dave -- Scanned by MailScanner at wot.no-ip.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk