[Exim] Files doesn't exist -> non-fatal

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Oliver Cook
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Files doesn't exist -> non-fatal
I've been doing some testing with sharing
files between servers in a cluster, and
wonder if there is a solution to this problem.

With a "host_reject = /path/to/file" configuration
option, if "/path/to/file/" doesn't exist, Exim
treats this as a panic-worthy situation.

nemesis:[/usr/exim]# /usr/exim/bin/exim -C configure.testinginnit -bh 163.121.204.1

**** SMTP testing session as if from host 163.121.204.1
**** Not for real!

>>> host in host_lookup? yes (0.0.0.0/0)
>>> looking up host name for 163.121.204.1
>>> IP address lookup failed

LOG: failed to open /clara/clara.net/reject.hosts123 when checking host_reject: No such file or directory

Is there a way to specify that if it can't read
this file, it doesn't barf, but just continues
as if the file was empty... Something like:

host_reject = +non_fatal:/path/to/file

Ollie

-- 
Oliver Cook    Systems Administrator, ClaraNET
ollie@???               020 7903 3065