>From the list archives:

http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/04/msg00174.html

or in a vpopmail .qmail-default:

| (echo X-Envelope-To: "$DEFAULT@$HOST"; cat) |
/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


Chris Bond wrote:

> Hi,
>
> How can I add a header X-Deliver-To that has final destination of the
> email.  The reason I need to do this is because the To or CC header is not
> enough information for a program to deliver the mail correctly.
>
> The domain in question I need to do this with is a "Virtual Domain" setup
> in qmail.  To some extent this already exists in the header Delivered-To,
> the only problem is it looks like the following:
>
>   Delivered-To: [EMAIL PROTECTED]
>
> If you can remove the virtual username and dash and put this into the
> X-Deliver-To header this would slove the problem in a stroke.
>
> Thanks,
> Chris

--
Robert Sanderson <[EMAIL PROTECTED]>
ETRN.com, Inc. - The Internet Answering Service.
http://www.ETRN.com



Reply via email to