The purpose of the mynetwork feature is to prevent clapf running spam check on emails coming from certain IP-addresses. Note that clapf still checks for viruses inside emails coming from “mynetwork”.

Let's say, your postfix box running clapf relays emails coming from your LAN (, and you don't want clapf to run spam detection on these emails. All you have to do is to specify your LAN, eg.


The mynetwork variable is a similar comma separated list like skipped_received_ips. The '$'-sign is available, too, see the following example:


This will match on, but not on!

In case of postfix, enable the XFORWARD feature in /etc/postfix/

lmtp_send_xforward_command = yes
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts =