Hey folks,
We have access to the envelope sender in $SENDER, but qmail munges the
envelope recipient via virtualdomains, resulting in $RECIPIENT which is
not a valid email address.
We all know that you can calculate the envelope recipient by taking
$RECIPIENT and removing $HOST from the beginning, or else parsing the
To:, Cc:, and Bcc: headers by hand. But considering the flexibility
provided in qmail-command, it seems to me rather odd that I don't have
access to what might be considered the most primitive property, the
envelope recipient, without jumping through some hoops.
Am I missing something? I guess some of you might use $EXT@$HOST if you
have wildcard entries in assign; we have a separate alias entry for each
recipient in assign...
Thanks y'all,
Dave