Hello... I have the following scenario: I have an Exim machine used
as a relay receiving emails that have to be inmediately transferred to
a rabbitmq for further processing. To do that I've set up a
pipe_delivery to a Perl script that receives the message and then
queues it. The problem is that when a bad email comes, i.e.
nonexistent domain, exims runs its DNS checks on it, fails and doesn't
get delivered to the pipe script, and I want all the emails to be
delivered to te pipe.
Is there any way I can disable the DNS checks so the emails doesn't
fail in Exim everything just gets delivered to the pipe? Here's my
config:
dnslookup:
debug_print = "R: dnslookup for $local_part@$domain"
driver = dnslookup
domains = ! +local_domains
transport = pipe_delivery
same_domain_copy_routing = yes
# ignore private rfc1918 and APIPA addresses
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 :192.168.0.0/16 :\
172.16.0.0/12 : 10.0.0.0/8 :
169.254.0.0/16 :\
255.255.255.255
no_more
[...]
begin transports
pipe_delivery:
driver = pipe
command = /bin/bash -c "/usr/local/bin/passtrans.pl"
log_output
Thanks in advance! Regards.
--
Luis