Hello? (was Adding Envelope Headers?)

Julian Field mailscanner at ecs.soton.ac.uk
Fri Feb 20 13:51:23 GMT 2004


At 13:31 20/02/2004, you wrote:
>Jan-Peter Koopmann wrote on         Fri, 20 Feb 2004 12:12:36 +0100:
>
> > And some won't do the right thing. If you teach Exim (e.g.) to put in
> > those headers they will simply stick in the message. And they are
> > supposed to. Therefore the User will be able to see them in his MUA.
>
>sendmail doesn't insert the Envelope-To if there is more than one
>recipient.
>
> >
> > Possibly your setup will get rid of those headers at a later point. But
> > speak for yourself only. :-)
> >
> > Where is the problem to put in those header fields at your setup? Why
> > should MailScanner do anything with it? I fail to see the positive side
> > effect.
> >
>
>If I understand correctly Communigate doesn't currently support
>MailScanner, but he's working on an application which will gateway to it,
>but he needs to have the Envelope headers available.
>There's no harm in adding those headers by MailScanner on an *optional*
>basis. As it seems you can add them with most mail daemons, anyway, but
>not with all. So, if there was harm adding them, most people can already
>do now. I suppose it would be a trivial change to the code, someone
>already posted a custom function for this some days ago, but I tried it
>out and it didn't work for me (I use sendmail now to do it). The main
>problem remains what to do with multiple recipients on that domain. Do it
>like sendmail and not add them or enumerate thru and add all of them? I
>guess only the latter would help John.

Well it's not trivial, but I've done it. If you want the Envelope-To
header, it will add all the recipients.

In the event that you use a ruleset to work out whether to add the headers
or not, they will only be added if the rules for all the recipients agree
to have the header added. If any matching rule says to not add either of
the headers, that header will not be added.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list