Should anyone consider this to be a ubuntu-specific problem and
reroot the inquiry, feel free to recommend a forum or other venue
-----------------------------------------------------------------
OS is ubuntu 14.04 64-bit, installed on Mac Mini with the Macintosh installer package.
uname -s >
Linux linus 3.16.0-53-generic #72~14.04.1-Ubuntu SMP Fri Nov 6 18:17:23 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
postfix version is 2.11.0
/var/spool/postfix/etc/resolv.con is empty on reboot.
I have tried the following remedy from :
http://serverfault.com/questions/661621/why-do-i-have-to-manually-copy-etc-services-and-etc-resolv-conf-into-var-spoo
First :
sudo mv S20postfix S90postfix
for /etc/rc2.d
I then found that /var/spool/postfix/etc/resolv.conf had correct nameserver and
search values about 2 reboots out of 3
when that doesn't work, I use the following:
sudo cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
sudo service postfix restart
Which fixes the problem, but needs to be done after every reboot when
/var/spool/postfix/etc/resolv.conf is empty
(I determined that ubuntu in graphic mode is using runlevel 2)
by
tim@linus:~$ runlevel
N 2
So I am currently looking for a permanent remedy for this problem
Could it be as simple as configuring postfix to use /etc/resolv.conf instead of
/var/spool/postfix/etc/resolv.conf ?
If so, what would be the configuration setting?
thanks
--
Tim
http://www.akwebsoft.com,
http://www.tj49.com