I receive mail both via port 25 and via fetchmail. Messages received via fetchmail arrive on IP: 127.0.0.1 port 25. I would like to set up clamav-milter so that it will not scan messages originating from 127.0.0.1; however, I want it to scan incoming messages from fetchmail on that IP.
Below is what I presently have in the clamav-milter config file. I am able to get traffic from 192.168.1.0/24 excluded without any problems. If I uncomment the LocalNet 127.0.0.1/8 entry, then no mail is scanned arriving from fetchmail. That is not what I want to accomplish. It does, however, accomplish the elimination of mail being scanned leaving the computer. <excerpt from clamav-milter.conf> # Messages originating from these hosts/networks will not be scanned # This option takes a host(name)/mask pair in CIRD notation and can be # repeated several times. If "/mask" is omitted, a host is assumed. # To specify a locally orignated, non-smtp, email use the keyword "local" # # Default: unset (scan everything regardless of the origin) LocalNet local LocalNet 192.168.1.0/24 #LocalNet 127.0.0.1/8 #LocalNet 1111:2222:3333::/48 -- Jerry [email protected] Bathquake, n.: The violent quake that rattles the entire house when the water faucet is turned on to a certain point. Rich Hall, "Sniglets" _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
