[Exim] errors_to

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave Markham
Date:  
À: exim-users
Sujet: [Exim] errors_to
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi, I am running exim 4, and need to send all bounce messages generated from a certain host to an email address.

I have set a router like this :-


gcc_bounce:
driver = dnslookup
domains = ! +local_domains
errors_to = bounce_email@???
transport = remote_smtp
condition = ${lookup{$sender_host_address}lsearch{/etc/mail/GCC_bounce_ip}{yes
}{no}}


Now this works fine if i send to a correct domain with a duff local_part eg. somedontexist@???. then the bounce message forwards to bounce_email@??? ( replaced for security obviously )

But I need it to send errors if the whole domain im sending to is incorrect. Eg. somebad@???

Can any one help with this? I am testing with exim -oMa <xxx.xxx.xxx.xx> which is contained within the /etc/mail/GCC_bounce_ip file

Thanks

Dave
--