Check outgoing email sent with Exim, the checks are performed with the DeBounce API.
Please consider limit rate: The maximum number of concurrent calls (parallel connections) is 10. If you validate emails with a higher speed, you will get an error
- Install first
yum install cpan
cpan JSON
- Add the follow line to exim.routers.pre.conf:
no_more
- Add the following files:
/etc/exim.acl_check_recipient.pre.conf
/etc/exim.acl_script.pre.conf
/etc/exim.custom.pl
- Change API key in:
/etc/exim.custom.pl:
- Create Skip list
touch /etc/virtual/skip_validate_recipients
Should you want to disable the customization rename the files:
/etc/exim.acl_check_recipient.pre.conf
/etc/exim.acl_script.pre.conf
/etc/exim.custom.pl
to
/etc/exim.acl_check_recipient.pre.conf.OFF
/etc/exim.acl_script.pre.conf.OFF
/etc/exim.custom.pl.OFF
A skip file can be found here: /etc/virtual/skip_validate_recipients
We use a cache with a period of 1 month, this to avoid double checks, and thus minimize the costs for DeBounce.io API.
Cache is saved to /etc/virtual/validated_recipient/
