Jens,

If you only need this when receiving mail then it can be done with procmail for
each user. In a person's home directory put a .procmailrc file with:

0: Hf
* .*
|formail -b -f -A "X-Envelope-To: your text here"


That's all there is to it. Formail will append the header line before delivering the 
message
to the users maibox. This mechanism won't work if you use the forward email (vacaction)
mechanism, though. So, keep it in mind.

Herb


Jens-Peter Otto wrote:

> Hello,
>
> I was asked to add a "X-Envelope-To:" header to all messages to a certain domain.
> In the sendmail-faq I found a recipe, that however includes manually fiddling with 
>the virtusertable,
> something I would prefer not to do ...
>
> Is there anyone out there who successfully mastered that task on a RAQ 4?
>
> Thanks,
>
> Jens-Peter Otto
>
> _______________________________________________
> cobalt-developers mailing list
> [EMAIL PROTECTED]
> http://list.cobalt.com/mailman/listinfo/cobalt-developers

--
Herb Rubin                 Pathfinders Software
[EMAIL PROTECTED]         http://www.pfinders.com
phone: 650-692-9220        fax:   650-692-9250


_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to