I'm using qmail for virtualdomain 'hosting'. I've got everything
working, but now I need to inject an additional header (like X-Delivered-To:)
into each mail message.

I've figured out how to get the header into the message, but I'm having
a problem with getting the right user name into that header.

For example,

all mail to domain 'test.cc' goes into the mailbox for user 'joe'.

If I send mail to [EMAIL PROTECTED], and use $RECIPIENT for the
X-Delivered-To: header, I get:

X-Delivered-To: [EMAIL PROTECTED]

I need the actual (original) recipient's name (newuser) instead.

What variable should I be using?

Sal

Reply via email to