Hello,
I have MailScanner FE and all other software from ConfigServer installed on my server, and it it awesome.
I would like to use RBL scanning in MailScanner itself, rather than in Exim because it will allow me to release an email from quarantine if one of my customers complains about not receiving important email. I have set it up working and Immediately I saw a problem which was not appearing while Exim was RBL scanning.
The IP that MailScanner checks against RBL is the one from network of the sender, for example a IP at his house or an IP at an office.
How can I exclude domains that are on my server from RBL scanning?
I think that Exim was using localhost or IP 127.0.0.1 to somehow exclude it.
If an email is sent from my server to my server it will show some IP dynamic IP address rather than 127.0.0.1 or my server IP. That random dynamic IP is going to be on RBL lists and it will be blocked, even though it is legit email.
Here is MailScanner log:
Delivery Event Details
Event: rejected rejected
Sender User: -remote-
Sender Domain:
From Address: doxyppxto@created2print.com
Sender:
Sent Time: Mar 31, 2023, 2:48:14 PM
Sender Host: mx00.kundenserver.de
Sender IP: 119.139.136.82
Authentication: unauthorized
Recipient: contact@tehnopetrol.ba
Delivered To:
Delivery User: tehnop
Delivery Domain: tehnopetrol.ba
Router: reject
Transport: **rejected**
Out Time: Mar 31, 2023, 2:48:14 PM
ID: 1piEB3-0001pS-Vq
Delivery Host: mx00.kundenserver.de
Delivery IP: 119.139.136.82
Size: 0 bytes
Result: JunkMail rejected - (mx00.kundenserver.de) [119.139.136.82]:7034 is in an RBL: https://www.spamhaus.org/query/ip/119.139.136.82
Here is Exim log:
Delivery Event Details
Event: success success
Sender User: omegaba
Sender Domain: omega.ba
From Address: elvis.poljic@omega.ba
Sender: elvis.poljic@omega.ba
Sent Time: Mar 31, 2023, 2:47:14 PM
Sender Host: f24.my.com
Sender IP: 185.30.177.51
Authentication: dovecot_plain
Recipient: suad.klopic@omega.ba
Delivered To: suad.klopic@omega.ba
Delivery User: omegaba
Delivery Domain: omega.ba
Router: virtual_user
Transport: dovecot_virtual_delivery
Out Time: Mar 31, 2023, 2:47:14 PM
ID: 1piEAd-0000MU-0j
Delivery Host: localhost
Delivery IP: 127.0.0.1
Size: 4.72 KB
Result: Accepted
How to use RBL lists to exclude checking of emails sent from own server
-
- Junior Member
- Posts: 5
- Joined: 22 Jan 2023, 17:47
Re: How to use RBL lists to exclude checking of emails sent from own server
Have you tried to add the domain or IP to EXIM Only-verify-recipient under EXIM Configuration Manager / Access List?
Sergio
Sergio