Re: Postfix not reading main.cf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Neil wrote:


> Hello:
> 
> I just did a fresh install of CentOS 6.2 on a virtual server.
> 
> I am trying to configure Postfix but it does not seem to be
> reading configuration directives from /etc/postfix/main.cf
> 
> Here is what I did to test it:
> vi /etc/postfix/main.cf and set this directive:
> 	myorigin = hello.world.com
> postfix reload
> postconf -d | grep myorigin
> 
> I get this output: 
> append_at_myorigin = yes
> myorigin = $myhostname
> 
> Any ideas why it is not picking up the configuration?
> 
> Thanks,
>   Neil
> 
What you should do is run postconf without paramaters to a file and
inspect that. In my case e.g. myorigin is set to $mydomain, but mydomain
is set to the correct value.

Good lcuk

	Adrian





-- 
	Adri P. van Bloois
	Antonlaan 104		email:	adrian@xxxxxxxxx
	3701 VG Zeist		voice:	+31-(0)-30-6912741
	The Netherlands		fax:	NONE

52 05'15.77"N 5 4'44.56"E
QTH-locater	 JO 22 OC

The whole point of cooking is to get as much flavour out of the
ingredients as possible.
	-- Delia Smith


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux