[Exim] Re: How to bypass last Received: server to apply bloc…

Top Page
Delete this message
Reply to this message
Author: Patrick Starrenburg
Date:  
To: exim-users
Subject: [Exim] Re: How to bypass last Received: server to apply block lists to previous server
On Sat, 20 Sep 2003 20:10:01 GMT, Chris Edwards <chris@???>
wrote:

> in the situtation you describe, where you can't reject during the SMTP
> dialog, then you probably want to run something like MailScanner to:


Dear Chris

Thanks for suggestions, I have briefly looked at MailScanner a number of
times in the past but have not as yet tried it out.

However I had to have a big sigh... as people seem to have missed the key
question I was asking in my original posting. Which is **how we can we
continue to use _DNS_ black lists** That is because we may find ourselves
in the situation where the gateway mail server (on the other side of the
world and managed by people out of my control) is brain dead.

When the mail comes to me it is going to come from this "trusted" (! well
I sure don't trust it) corporate server (inside our global corporate WAN
with reserved address range address 10.xx.xx.xx). I can't apply DNSBLs in
Exim ACLs to it directly obviously. So I want to 'strip off' the last
"Received:" server in the message and then apply the DNSBL lookup to the
server immediately *before* the "trusted" gateway server. If the Internet
server is on a black list (Proxy, Dynablock, SBL-Spamhaus, Relay) then at
SMTP dialog with the *gateway* server I reject the message and the
gateway server has to deal with the message (like it should have done in
the first place).

Key question now is how to have DNSBL functionality when I am not having
direct SMTP dialog with sending server. I was thinking we would need to
have something done in local scan section to get to previous server but
wonderering if anyone had done something like this already.

Patrick