Differences

This shows you the differences between two versions of the page.

Link to this comparison view

current:mynetwork [2015/01/14 11:32]
sj created
current:mynetwork [2015/01/14 11:49] (current)
sj
Line 1: Line 1:
 === mynetwork === === mynetwork ===
  
-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.+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"​.
  
-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 (11.22.33.0/​24),​ and you don't want clapf to run spam detection on these emails. All you have to do is to specify your LAN, eg.
- +
-Let's say, your postfix box running clapf relays emails coming from your LAN (11.22.33.0/​24),​ and you don't want clapf to spamcheck ​these emails. All you have to do is to specify your LAN, eg.+
  
 <​code>​ <​code>​
 mynetwork=11.22.33. mynetwork=11.22.33.
 </​code>​ </​code>​
- 
  
 The mynetwork variable is a similar comma separated list like skipped_received_ips. The '​$'​-sign is available, too, see the following example: The mynetwork variable is a similar comma separated list like skipped_received_ips. The '​$'​-sign is available, too, see the following example:
Line 22: Line 19:
  
  
-To use this featureyou have to activate ​XFORWARD in postfix, ie.+In case of postfixenable the XFORWARD ​feature ​in /etc/postfix/main.cf:
  
 <​code>​ <​code>​
-/​etc/​postfix/​main.cf:​ 
- 
 lmtp_send_xforward_command = yes lmtp_send_xforward_command = yes
 smtp_send_xforward_command = yes smtp_send_xforward_command = yes