eximconf: re-order checks to avoid unnecessary DNS lookups
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Sun, 27 Oct 2019 20:53:42 +0000 (20:53 +0000)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Sun, 27 Oct 2019 20:53:42 +0000 (20:53 +0000)
commit9e27d3f0aaa21b93d9d256414dcd6335b07c0f53
tree4cd774734a3ef71bcf56697644c3687b7ebbe511
parent73b92ffb4919e98dfced223ec2557a6095ade491
eximconf: re-order checks to avoid unnecessary DNS lookups

If the result of the DNS lookup is not going to be used, then we may as
well not perform the lokup at all

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
modules/exim/templates/eximconf.erb