vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I wish to blacklist all the IP addresses from sending mail into the Exim4 box. However, I do want one IP address to be allowed through. I have read the docs and ran the commands: echo * >>/etc/exim4/local_host_blacklist echo ip.of.good.host >>/etc/exim4/local_host_whitelist /etc/init.d/exim4 reload However, when doing: exim4 -bh ip.of.bad.host I am allowed through and can successfully send an envelope. It does seem to be reading the blacklist file, but I don't know whether what is in there is correct? I am fairly new to Exim, so sorry if I have gone wrong somewhere. Thanks. Andrew. |
| ||||
| On Fri, 25 Jan 2008 17:18:26 +0000, Andrew Hodgson <me3@privacy.net> wrote: >Hi, > >I wish to blacklist all the IP addresses from sending mail into the >Exim4 box. However, I do want one IP address to be allowed through. > >I have read the docs and ran the commands: > >echo * >>/etc/exim4/local_host_blacklist >echo ip.of.good.host >>/etc/exim4/local_host_whitelist >/etc/init.d/exim4 reload Problem was due to LFs at the end of the relevant entries. Sorry about that. Andrew. |