############################################################## # Ruleset check_rcpt - Shutdown relaying through this server # ############################################################## # dequoting map - Needed for SPAM hack below Kdequote dequote # permitted relay sites file F{RelayOK} -o /etc/relaydomains.txt Scheck_rcpt # anything terminating locally is ok R<$+ @ $=w > $@ OK R<$+ @ $* $={RelayOK} > $@ OK # anything originating locally is ok R$* $: $(dequote "" $&{client_name} $) R$=w $@ OK R$* $={RelayOK} $@ OK R$@ $@ OK # anything else is bogus R$* $#error $: "550 Relaying Denied"