LOCAL_CONFIG # List of IP addresses we allow relaying from. Kpopip hash -a /etc/mail/popip LOCAL_RULESETS SLocal_check_rcpt # Put the address into cannonical form (even if it doesn't resolve to an MX). R$* $: $>Parse0 $>3 $1 R$* < $* > $* $: $1 < $2 . > $3 Pretend it's canonical. R$* < $* . . > $* $1 < $2 . > $3 Remove extra dots. # Allow relaying if the connected host has recently POP3 authenticated. R$* $: < $&{client_addr} > Get client IP address. R< $* > $(popip $1 $) Check full address. R$* < MATCH > $#OK # IP address didn't match.