> On Feb 2, 2016, at 1:10 AM, Roman Doe <[email protected]> wrote:
> 
> Using this can I do the following process?
> 
> If [email protected] = [email protected]
> and [email protected] = [email protected]
> 
> When [email protected] sends to [email protected] (gmail webmail)
> Rewrite: [email protected] in [email protected] 
> [email protected] receives from [email protected] (gmail webmail)

No.  You can only rewrite either the sender address, the
recipient address or both.  In your case it seems you'd want:

    http://www.postfix.org/postconf.5.html#sender_canonical_maps

    main.cf:
        indexed = ${default_database_type}:${config_directory}/
        sender_canonical_maps = ${indexed}sender-canonical

    sender-canonical:
        [email protected] [email protected]

This will apply to all mail sent by [email protected], regardless
of the recipient address.

-- 
-- 
        Viktor.

Reply via email to