About exim and spamhaus feature ...

dacho

New member
Joined
Apr 29, 2009
Messages
3
Hi, to all. I have a question to ask and I hope I will get an answer to it.

I am getting a lot of records inside the exim log file about '..... rejected RCPT <[email protected]>: Email blocked by SPAMHAUS'.

My question is is there a way for email messages blocked by spamhaus be delivered to catchall email account instead of being rejected/bounced back to the sender?
 
I forgot to mention that I am using the default exim configuration file with only spamassassin enabled in it.


Hi, to all. I have a question to ask and I hope I will get an answer to it.

I am getting a lot of records inside the exim log file about '..... rejected RCPT <[email protected]>: Email blocked by SPAMHAUS'.

My question is is there a way for email messages blocked by spamhaus be delivered to catchall email account instead of being rejected/bounced back to the sender?
 
If you're using DirectAdmin, then the answer is that you can, but you'd have to rewrite how the ACL manages a positive reply on presence in Spamhaus. If you're using any other version of exim.conf, then you're on your own, but you can probably still do the same.

Jeff
 
Thanks Jeff for the clarification. Yes, I am using DirectAdmin on my server.

I need to clarify something first. I hope you will help me.

Should I comment out the following text:

# deny using .spamhaus
deny message = Email blocked by SPAMHAUS - to unblock see http://www.example.com/
# only for domains that do want to be tested against RBLs
domains = +use_rbl_domains
dnslists = sbl.spamhaus.org

Or only this line:

deny message = Email blocked by SPAMHAUS - to unblock see http://www.example.com/


TIA,
Dacho
 
Delete the entire section if you don't want mail checked against SpamHaus. For all your ACLs you should really replace www.example.com with a link to a page where senders can request you whitelist them.

Once you've done that you can use SpamAssassin to affect delivery on emails tripped by the blocklist it uses.

Or you can set a flag in exim.conf based on the presence of the IP# in the SpamHaus blocklist, and then later route the mail based on the presence of the flag.

How to do that is beyond the scope of this forum, but you can see how it's done for ClamAV checking as a guide. If you do, be sure to use a different flag.

Jeff
 
Back
Top