On 8/31/2014 7:40 PM, Adam Courville wrote:
> I apologize if this problem has been reported before, but I am
> having no luck determining a resolution through online searches.
> 
>  
> 
> Environment:  Fedora Core 20 on a NATted server (private, static LAN
> IPs through a router to the Internet).  Postfix installed through
> yum method and is latest available for FC20.
> 
>  
> 
> Problem:  Changes to mydomain, myhostname and/or myorigin are not
> being picked up by postfix whether I use reload or stop/start nethods.
> 
>  
> 
> Check reveals no adverse syntax in the main.cf file before/after
> editing. 
> 
>  
> 
> I tried using postconf –e “myorigin = typical.com” and the parameter
> is appended to the end of the main.cf file.  But, it is not used by
> postix after a reload or stop/start toggle. 
> 
>  
> 
> Likewise, I have renamed/moved the main.cf file to see that postfix
> is indeed looking for it in the location it was found.  Confirmed
> that is indeed /etc/postfix/ path. 
> 
>  
> 
> The master.cf file shows no indication that any portion is chrooted.
> 
>  
> 
> I have changed setenforcement to Permissive with no change to the
> behavior.
> 
>  
> 
> The only way I can alter the mydomain or myhostname is by changing
> the actual hostname and domainname parameters in Fedora Core 20
> temporarily. 
> 
>  
> 
> So what gives?  It really looks as though postfix is ignoring
> uncommented parameters in the main.cf file.  However, I have
> confirmed it is looking at the correct file.  I even forced it with
> a postfix –c /etc/postfix/main.cf start attempt.  The postconf –d
> myhostname still reflects the system default rather than the values
> I am setting in the main.cf file.
> 
>  
> 
> Purpose:  I want to masquerade my natted system as an actual site
> (to which I have rights) simply for forwarding server diagnostics
> emails, while I am away.  Relays won’t accept the hostname I have
> used for the server as a valid email suffix.
> 
>  
> 
> Any assistance would be appreciated.
> 
>  
> 
> Cheers,
> 
>  
> 
> A>AM
> 


Please review
http://www.postfix.org/postconf.1.html

Note the description for the -d flag:
  -d     Print  main.cf default parameter settings instead of actual
set-
              tings.  Specify -df to fold long  lines  for  human
readability
              (Postfix 2.9 and later).



  -- Noel Jones

Reply via email to