Geoffrey wrote:
Sandy Drobic wrote:
Geoffrey wrote:
I'm trying to modify my postfix configuration so that it will modify the sending domain. I've done this on my red hat box by setting the following in /etc/postfix/main.cf:
main.cf:myhostname = www.3times25.net main.cf:mydomain = 3times25.net
When I do the same on my SuSE box, it does not work. I know that there is a /etc/sysconfig/postfix configuration file on SuSE that does not exist on red hat, but I can't figure out if something there is overriding my settings in /etc/postfix/main.cf
The only config file that might override, or rather modify a setting in Postfix is /etc/sysconfig/postfix. Once the postfix configuration has been manually changed SuSEconfig should not touch the Postfix configuration again.
What exactly do you mean with "modify the sending domain"?
My home network is named home.edu and the machine is named eiger, so it's fq name is eiger.home.edu. My public domain is 3times25.net, so email sent from that machine should show up as coming from esoteric@3times25.net, instead it's showing up as esoteric@eiger.home.edu.
That is more the job of the sending client. Only, if an email address is not fully qualified, Postfix will qualify the address with the value of $myorigin, which defaults to $mydomain. execute as root: postconf -e "mydomain = 3times25.net" postconf -e "myhostname = www.3times25.net" postconf -e "myorigin = $mydomain" postfix reload Then test again. If that doesn't solve your problem, please post the output of "postconf -n" and a part of the log lines where the trouble appears. Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com