Postfix and header_checks

Discussion in 'Installation/Configuration' started by destine, Nov 28, 2014.

  1. destine

    destine Member

    Hi,
    I need to rewrite From: field for every mail sending out from one domain but I also need disable this rewrite if sending mail come from the same domain. For example betwen two accounts [email protected] and [email protected]

    I can rewrite in that way, only if i send mail from my webmail but when Im using desktop mail client this rewrite it doesnt work.

    I use generic map like this
    @domain.con [email protected]

    and header_checks like this

    /^X-Sender:.[email protected]/ REPLACE X-Sender: [email protected]

    How Can I configure postfix to rewrite also mail sending via mail clinet such as thunderbird or windows live mial

    Any idea?
     

Share This Page