Re: [exim] exim and clamd on fc5

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Asbjorn Aarrestad
Dátum:  
Címzett: Peter Bowyer
CC: Exim, Users
Tárgy: Re: [exim] exim and clamd on fc5
> Post your config, especially the definition and invocation of the
> acl_smtp_data acl.
>


hightlights from the config:

-----------------------------

acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data

av_scanner = clamd:/var/run/clamd.exim/clamd.sock
spamd_address = 127.0.0.1 783


acl_check_data:

  # Deny if the message contains a virus. Before enabling this check, you
  # must install a virus scanner and set the av_scanner option above.
  #
  deny    malware   = *
          message   = This message contains a virus ($malware_name).


  # Add headers to a message if it is judged to be spam. Before enabling
this,
  # you must install SpamAssassin. You may also need to set the spamd_address
  # option above.
  #
  warn    spam      = nobody
          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


# Accept the message.

accept

-----------------------------




-- 
--------------------------------------------------
Asbjørn Høiland Aarrestad    asbjorn@???
http://asbjorn.aarrestad.com/