Zohan:
> Hi,
> 
> I need to archive all incoming mail for my virtual domains (by
> copying mail to dedicated archive mailbox) and then sort it
> according to address it has been delivered to.

Postfix local/pipe/virtual delivery agents record the delivered
to address in the Delivered-To: header.

> One major drawback of existing milter-based solutions, as well as
> of virtual aliasing and BCC maps, is that in some cases neither
> "To:" header nor envelope-to contain actual recipient address.

Postfix local/pipe/virtual delivery agents record the original
recipient address in the X-Original-To: header.

man 8 local
man 8 pipe
man 8 virtual

        Wietse

Reply via email to