Postfix Return-Path - domain change

Discussion in 'Installation/Configuration' started by paka, Oct 31, 2019.

  1. paka

    paka Member

    The domain used to initially setup (using ISPConfig) our server will be dropped at some point in the future. There are about a dozen domains configured on the server.

    When the service was initially configured we used the domain, say, and the following is in the Return-Path header when Mary sends and email from the

    Return-Path: <[email protected]>

    There is a domain already on the server called which we would like to replace the initial domain ( before we let it expire.

    I've edited hostname and hosts along with without a change in the Return-Path header.

    I've spend the better part of the day looking at config files and searching the 'net for any clues as to how to do this.

    Anyone have any ideas?
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Check `postconf myorigin`, it's probably set to /etc/mailname, and you can just change that file. You could always `grep -R /etc` and see where it is found.
    paka likes this.
  3. paka

    paka Member

    Thanks Jessee,

    Of course, grep it. :)

    Found the last config file I hadn't edited:

    That did the trick. Cheers!

Share This Page