FAQ / Policy controls / Q0720



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.



FAQ / Policy controls / Q0720


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Policy_controls/Q0720 (last edited 2008-09-25 11:39:28 by localhost)