[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Re: [cobalt-developers] X-Envelope-To ?



> 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.

the customer needs the kludge to seperate the mails for his
employees that he receives in one mailbox. Therefore the above
"your text here" needs to be a variable containing the receiver
(they use some tobit software that chokes on mailing-list mails).

What about something really dumb like: setup a mailing list with one recipient, forward all mail to that list and modify the list.config file to do what you need?