[root@avnish ~]# ls -ld /usr/libexec/postfix drwxr-xr-x 2 root root 4096 Feb 2 11:50 /usr/libexec/postfix [root@avnish ~]#
Here are the logs from /var/log/maillog:
[root@avnish ~]# tail -f /var/log/maillog Feb 2 11:59:33 avnish postfix[2190]: fatal: chdir(/usr/libexec/postfix mail_owner = root myhostname = avnish.ericsson.com): No such file or directory Feb 2 12:00:49 avnish postfix[2807]: fatal: chdir(/usr/libexec/postfix mail_owner = root myhostname = avnish.ericsson.com): No such file or directory Feb 2 12:01:22 avnish postfix[2817]: fatal: chdir(/usr/libexec/postfix mail_owner = root myhostname = avnish.ericsson.com): No such file or directory
Here are the settings on my machine:
[root@avnish ~]# hostname avnish.ericsson.com
[root@avnish ~]# [root@avnish ~]# ifconfig | grep inet inet addr:147.128.225.92 Bcast:147.128.225.255 Mask:255.255.254.0 inet6 addr: fe80::a00:27ff:fe95:794d/64 Scope:Link
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host [root@avnish ~]# [root@avnish ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail.
#127.0.0.1 avnish.ericsson.com avnish localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 147.128.225.92 avnish.ericsson.com
#147.128.225.92 virtualhost.com #147.128.225.92 virtualhost3.com
147.128.225.93 virtualsite1.com 147.128.225.93 virtualsite2.com
147.128.225.93 virtualsite3.com 147.128.225.93 virtualsite4.com
147.128.224.160 avnish.niit.com [root@avnish ~]#
This error starts coming after I made changes to configuration file - main.cf. I changed few settings in this file like mail_owner, myhostname, inet_interfaces.
Please let me know how to get rid of this error and getting Postfix started successfully.