X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/bc3c7bb7d4aba3e563434e5627fe1f2176aa18c0..9dbbd9a5b838b85c2db09eaee9f26ef25b7c4ae4:/test/confs/4002 diff --git a/test/confs/4002 b/test/confs/4002 index a4e7cad7c..043a1eccb 100644 --- a/test/confs/4002 +++ b/test/confs/4002 @@ -1,18 +1,17 @@ # Exim test configuration 4002 -# Content-scan: aveserver interface +# Content-scan: spamassassin interface + +OPT= 127.0.0.1 7833 + +.include DIR/aux-var/std_conf_prefix -exim_path = EXIM_PATH -keep_environment = -host_lookup_order = bydns -primary_hostname = myhost.test.ex -spool_directory = DIR/spool -log_file_path = DIR/spool/log/%slog -gecos_pattern = "" -gecos_name = CALLER_NAME log_selector = +subject -tls_advertise_hosts = +primary_hostname = myhost.test.ex + +# we need to set the sender +trusted_users = CALLER -av_scanner = aveserver : DIR/eximdir/aveserver_sock +spamd_address = OPT # ----- Main settings ----- @@ -22,8 +21,11 @@ acl_smtp_data = c_data begin acl c_data: - accept !malware = * OPT - deny logwrite = malware_name $malware_name + warn + spam = nobody + warn + log_message = $callout_address $spam_action $spam_report + accept # ----- Routers -----