Portal Home > Knowledgebase > Articles Database > Postfix Error please Advice
Postfix Error please Advice
Posted by stefanoste, 12-13-2011, 06:15 AM |
Hallo guys,
I wanted to install the Postfix from my webmin but I get this error:
Error while checking current Postfix configuration. Please manually fix Postfix configuration.
postfix: warning: valid_hostname: misplaced delimiter: nekotube.jp.
postfix: fatal: unable to use my own hostname
Manually edit the Postfix configuration file.
Even when i try to manually edit the postfix configuration file I got :
Failed to query Postfix config command to get the current value of parameter : /usr/sbin/postconf: warning: valid_hostname: misplaced delimiter: mydomain.net. /usr/sbin/postconf: fatal: unable to use my own hostname
So reading around the forum I found that maybe I had to remove the (dot) at the end of the hostname located on main.cf but editing the main.cf I couldn't find it :-(
anyone can please advice to solve the problem Please
Thank you
|
Posted by RoseHosting, 12-13-2011, 06:40 AM |
The full path to the file is '/etc/postfix/main.cf'
Just add or modify your hostname and restart the postfix service by running 'service postfix restart'.
Please note mydomain.net. is an invalid hostname.
|
Posted by silasistefan, 12-13-2011, 06:43 AM |
maybe you can give us the output of
# cat /etc/postfix/main.cf | grep valid
also, maybe this will help
|
Posted by stefanoste, 12-13-2011, 07:05 AM |
Solved ...yes was stupid Mismatched from hostname , incredible !!
Thanyk you :-)
|
Add to Favourites Print this Article
Also Read