Hook file allowing to add a sender generic map to the i-MSCP MTA (Postfix)

  • Hook file allowing to add a sender generic map to the i-MSCP MTA (Postfix)


    This hook adds a sender generic map to the postfix main.cf


    Compatibility


    Git Master


    Howto install

    • Donwload the hook file into the /etc/imscp/hooks.d directory
    • Create a file /etc/postfix/imscp/smtp_outgoing_rewrite if it doesn't exists
    • Make the hook file only readable by root user (chmod 0600)
    • Run the imscp-setup script



    Examples:

    Code
    1. Rewrite a sinlge email address: [email protected] [email protected]
    2. Rewrite a domain: @example.com [email protected]

    Edited once, last by TheCry ().