Change postmaster default mail address in bounce mail

Discussion in 'General' started by maudam, Nov 20, 2018.

  1. maudam

    maudam New Member

    Hi,
    i have an ispconfig server on top of a debian 8 (jessie).
    the server was originally installed with a domain name
    not real: server.1domain.com

    Now i have changed the server name in
    not real: server.2domain.net

    i changed the name in:
    ispconfig
    hostname
    /etc/hosts

    when i send a mail to an address with the mailbox full, i get the bounce sent froM. [email protected]
    instead of
    [email protected]

    Where do i have to change config files to reflect new domain name in bounces ?

    Thanks
     
  2. nulledp

    nulledp New Member

    Edit your /etc/postfix/main.cf
    add "bounce_notice_recipient = [email protected]"
    Save the file, and run service postfix reload
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Also check main.cf and master.cf, and fix places where there still is the old domain name.
     

Share This Page