Q0720

Nigel Metheringham edited this page Nov 30, 2012 · 3 revisions
Clone this wiki locally

Q0720

Question

I set accept hosts=192.168.122.96/32 in order to accept mail for relaying from my local LAN, but it doesn't work. What's wrong?

Answer

192.168.122.96/32 is not a network, it is a single host. Exim uses CIDR notation for specifying networks, where the number after the slash is the number of bits in the IP address that must match. Your setting says 32 bits must match. If you really mean to specify the next 32 IP addresses, you need 192.168.122.96/27.