| |||||||||||||||||||||||||||||||
|
I have installed Postfix on Nexenta but I'm having a minor problem with getting it to relay to remote users when running in a chrooted environment. First off, if I change master.cf so that the smtp service has chroot disabled everything works ok and I'm able to send to remote users. However, I would like to run smtp using chroot and I'm baffled as to what the problem could be. I've set the queue_directory variable to /var/spool/postfix/ explicitly and I can verify from syslog that this is in fact the directory that is being chrooted to. But when I try relaying a message to a remote user that way I keep getting: [ID 947731 mail.crit] fatal: unknown service: smtp/tcp I've verified that /var/spool/postfix/etc/services is there and is readable and it is exactly the same as my /etc/services file (which must work since everything works when I'm not chrooted). Here you can see the permissions of the chroot environment: root@atlas:/var/spool/postfix# ls -la /var/spool/postfix/etc/ total 14 drwxr-xr-x 2 root root 512 Sep 20 09:05 . drwxr-xr-x 19 root root 512 Sep 19 03:08 .. -r--r--r-- 1 root root 1034 Sep 20 09:05 hosts -rw-r--r-- 1 root root 56 Sep 20 09:05 localtime -rw-r--r-- 1 root root 2101 Sep 20 09:05 nsswitch.conf -r--r--r-- 1 root root 25 Sep 20 09:05 resolv.conf -r--r--r-- 1 root root 4950 Sep 20 09:05 services No differences between the two services files: root@atlas:~# diff /etc/services /var/spool/postfix/etc/services root@atlas:~# Can anyone think of anything else that could be causing this??? Please let me know if you would like more info (such as the output of syslog). Kind regards, Stefan Freyr.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com