[Pkg-exim4-users] How to skip spamassassin check for outgoing mail from local network

Mauro Cenacchi studio.pigreco at gmail.com
Tue Nov 8 09:50:13 UTC 2011


Hi

I want that spamassassin check incoming mail only.

In "/etc/exim4/exim4.conf.template" I have enabled this line:

spamd_address = 127.0.0.1 783

and this ACL:

warn
  spam = Debian-exim:true
  message = X-Spam_score: $spam_score\n\
  X-Spam_score_int: $spam_score_int\n\
  X-Spam_bar: $spam_bar\n\
  X-Spam_report: $spam_report

but all mail is checked (incoming and outgoing).

I don't want to use spamassassin for mail sent from my local network
(192.168.0.*) because my server is slow.

I use a smarthost configuration and my "update-exim4.conf.conf" is:

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='pigreco.191.it'
dc_local_interfaces=''
dc_readhost='pigreco.191.it'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets='192.168.0.0/24'
dc_smarthost='out.impresasemplice.it'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

I don't find tutorial that help me :(

Thank, BuDuS.



More information about the Pkg-exim4-users mailing list