This is an old revision of the document!


The purpose of the mynetwork feature is to prevent clapf running spam check on emails coming from certain IP-addresses. If the client IP-address matches mynetwork, clapf will add “<clapf-header-field>: mynetwork” to the message header.

Note 1: clapf checks for viruses even in 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 spamcheck 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!

To use this feature, you have to activate XFORWARD in postfix, ie.


lmtp_send_xforward_command = yes
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts =