[CentOS] Centos 7 specific cure for Spamassassin DNS lookup problem

Mon Aug 14 08:38:34 UTC 2017
Gary Stainburn <gary at ringways.co.uk>

On Thursday 10 August 2017 18:45:32 Gordon Messmer wrote:
> On 08/10/2017 01:21 AM, Gary Stainburn wrote:
> > I have the following error message in my /var/log/spamd
> >
> > spf: lookup failed: available_nameservers: No DNS servers available!
> Try starting spamassassin later.  Run "systemctl edit
> spamassassin.service" and insert two lines:
> [Unit]
> After=network-online.target

I will add the code, although updating RPM contents is one of the things I was 
trying to avoid.  Having said that, I have restarted the service after bootup 
has completed and this does not fix the problem.