RE: [Exim] Block incomming email from specific host

Top Pagina
Delete this message
Reply to this message
Auteur: Ted Cooper
Datum:  
Aan: exim-users
Onderwerp: RE: [Exim] Block incomming email from specific host
> -----Original Message-----
> From: Ioannou
> Good day to all,
> i want to block email from a specific IP because i receive in
> my mail server a thousand of mails from specifc host,
> i have exim with mysql 4.22 support, amavis, clamav and spamassasin


I question wether you have even looked at the documentation, however,
try this.

Right at the top of your acl_check_rcpt section (possibly after the
postmaster allow) add a line that rejects the mail. With any luck, they
will give up sometime. Of course if you never want to hear from them
ever again you could just firewall out the IP.

----------------------------------------------
deny    hosts = <evil host ip here>
        message = Your email smells bad and I don't want it.
----------------------------------------------


That is all. I'm certain of it now, you didn't read the docs in the
slightest.