This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

need some help : exim.conf-default

as u can see on my other posts,  iam looking for some kind of ip filter in exim.conf

so i put in :

acl_smtp_connect = acl_block

deny hosts = /etc/block_hosts
messages = put my message here

the file is (i.e.):

192.168.0.0/16

the problem:  after that, all smtp connections are dropped ..

any hints? iam not an exim expert.. ill like to have a blacklist file like qmail does.

thanks for your help !


This thread was automatically locked due to age.
Parents
  • Not an Exim expert; but I do know how to Search:

    Re: Exim directive, need an opinion

    You might want to look at drop, instead of deny; I believe I read that it terminates the connection "with extreme prejudice" (CIA/'spook-talk' for "right-away"...).

    To get it to read out of a seperate file, I believe the file has to be a Berkley database, and you use the dbm; clause on the hosts parameter (search at Exim.org). I think there are dbm utilities on Astaro that can take a text file such as you have and convert it to an indexed Berkley database. This requirement is stipulated for reasons of performance.

    Though there may be a way to get Exim to process a text file, why not just enter the IPs in Exim's conf file? (the way the gentleman in the post did...)

    I suspect the advantage of the dbm is that addresses can be acted upon just after they are entered, whereas alterations to the conf won't get picked up on until the Exim proxy is restarted. Some proxies cleanly restart after they get a kill with a HUP (HangUP) signal (like Apache); Exim probably requires a formal shutdown and restart.

    If you have many IPs, the dbm is the way to go...
  • [ QUOTE ]
    Not an Exim expert; but I do know how to Search:

    Re: Exim directive, need an opinion



    [/ QUOTE ]

    i read this post also..
  • So you need to take your file of IPs and convert them to dbm; or add the IPs you want blocked to the line in the conf file.

    Have you seen any examples where somebody invokes a text file the way you're doing??
  • is does not matter what i put there ... if i set  "deny host"  every connection gets dropped.. i i dont understand why.. maybe some of the admins could help here..
    or someone who as some more understanding what exim needs here.

    but thank you for your help!...
    maybe a very good manual in german would be nice to have for exim
    does anyone have a link here ?
Reply
  • is does not matter what i put there ... if i set  "deny host"  every connection gets dropped.. i i dont understand why.. maybe some of the admins could help here..
    or someone who as some more understanding what exim needs here.

    but thank you for your help!...
    maybe a very good manual in german would be nice to have for exim
    does anyone have a link here ?
Children