On Fri, Feb 04, 2011 at 01:27:35PM -0600, /dev/rob0 wrote:

> On Fri, Feb 04, 2011 at 11:56:51AM +0100, J4K wrote:
> > > Thank-you for the example.  Can the /etc/postfix/whitelist be an 
> > > empty file?
> > Answering my own question:-
> > 
> > # ls -l /etc/postfix/whitelist
> > -rw-r----- 1 root root 0 Feb  4 11:53 /etc/postfix/whitelist
> > 
> > Feb  4 11:53:17 logout postfix/smtpd[9365]: fatal: open
> > /etc/postfix/whitelist: No such file or directory

The file's creation time is awfully close to the timestamp of the message.
Perhaps it did not exist at 11:53:17, but did at 11:53:18 or some time
later that same minute.

> Did you try a one-byte file? "echo > /etc/postfix/whitelist" I am 
> sure that I've had empty lookup maps in the past.

No, the error message is quite clear, the file did not exist.

-- 
        Viktor.

Reply via email to