Am 12.09.2011 11:55, schrieb Amira Othman:
> Hi All,
> 
> I am using postfix-2.3.3-2.3.el5_6 on CentOS 5.6 . I want to keep copy
> of outgoing mails for specific user. How can I do that? I am using
> virtual mapping to keep copy of incoming mail but what about outgoing ??
> 
> Regards
> 

this may help

sender_bcc_maps (default: empty)

    Optional BCC (blind carbon-copy) address lookup tables, indexed by
sender address. The BCC address (multiple results are not supported) is
added when mail enters from outside of Postfix.

    This feature is available in Postfix 2.1 and later.

    The table search order is as follows:

        Look up the "user+extens...@domain.tld" address including the
optional address extension.
        Look up the "u...@domain.tld" address without the optional
address extension.
        Look up the "user+extension" address local part when the sender
domain equals $myorigin, $mydestination, $inet_interfaces or
$proxy_interfaces.
        Look up the "user" address local part when the sender domain
equals $myorigin, $mydestination, $inet_interfaces or $proxy_interfaces.
        Look up the "@domain.tld" part.

    Specify the types and names of databases to use. After change, run
"postmap /etc/postfix/sender_bcc".

    Note: if mail to the BCC address bounces it will be returned to the
sender.

    Note: automatic BCC recipients are produced only for new mail. To
avoid mailer loops, automatic BCC recipients are not generated after
Postfix forwards mail internally, or after Postfix generates mail itself.

    Example:

    sender_bcc_maps = hash:/etc/postfix/sender_bcc



-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria

Reply via email to