View Single Post
  #1  
Old 12th June 2008, 17:23
raulb raulb is offline
Junior Member
 
Join Date: May 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix configuration issue

Hi all,

I installed postfix on a new box running Centos 5.x with webmin installed. I was having problems receiving email but not sending out email. So i edited this line

Code:
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = localhost
When I did that restarted postfix and dovecot postfix failed to restart. When I checked in webmin I got this error

Code:
Error while checking current Postfix configuration. Please manually fix Postfix configuration.

postfix: fatal: chdir(/usr/libexec/postfix inet_interfaces = localhost): No such file or directory
So I set the configuration in main.cf back to the default but it still would not fix postfix.



Code:
# ls -l /etc/postfix
total 300
-rw-r--r-- 1 root root 17832 Jan 21  2007 access
-rw-r--r-- 1 root root  3550 Jan 21  2007 bounce.cf.default
-rw-r--r-- 1 root root 11175 Jan 21  2007 canonical
-rw-r--r-- 1 root root  9920 Jan 21  2007 generic
-rw-r--r-- 1 root root 16838 Jan 21  2007 header_checks
-rw-r--r-- 1 root root 11942 Jan 21  2007 LICENSE
-rw-r--r-- 1 root root 26688 Jun 11 13:27 main.cf
-rw-r--r-- 1 root root 17981 Jan 21  2007 main.cf.default
-rw-r--r-- 1 root root   958 Jan 21  2007 makedefs.out
-rw-r--r-- 1 root root  4137 Jan 21  2007 master.cf
-rw-r--r-- 1 root root 17639 Jan 21  2007 postfix-files
-rwxr-xr-x 1 root root  6366 Jan 21  2007 postfix-script
-rwxr-xr-x 1 root root 22564 Jan 21  2007 post-install
-rw-r--r-- 1 root root  6805 Jan 21  2007 relocated
-rw-r--r-- 1 root root  1629 Jan 21  2007 TLS_LICENSE
-rw-r--r-- 1 root root 12081 Jan 21  2007 transport
-rw-r--r-- 1 root root 11903 Jun  2 12:49 virtual
-rw-r--r-- 1 root root 12288 Jun  2 12:49 virtual.db
Code:
# tail /var/log/maillog
Jun 11 13:11:57 chromacars sendmail[29351]: alias database /etc/aliases rebuilt by raul
Jun 11 13:11:57 chromacars sendmail[29351]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jun 11 13:11:57 chromacars postfix[29352]: fatal: chdir(/usr/libexec/postfix inet_interfaces = all inet_interfaces = localhost): No such file or directory
Jun 11 13:13:12 chromacars postfix[29400]: fatal: chdir(/usr/libexec/postfix inet_interfaces = localhost): No such file or directory
Jun 11 13:13:13 chromacars sendmail[29402]: alias database /etc/aliases rebuilt by raul
Jun 11 13:13:13 chromacars sendmail[29402]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jun 11 13:13:13 chromacars postfix[29403]: fatal: chdir(/usr/libexec/postfix inet_interfaces = localhost): No such file or directory
Jun 11 14:00:47 chromacars sendmail[29812]: alias database /etc/aliases rebuilt by raul
Jun 11 14:00:47 chromacars sendmail[29812]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jun 11 14:00:47 chromacars postfix[29813]: fatal: chdir(/usr/libexec/postfix inet_interfaces = localhost): No such file or directory
Reply With Quote
Sponsored Links