[exim] Configuration question

Pàgina inicial
Delete this message
Reply to this message
Autor: The Doctor
Data:  
A: exim-users
Assumpte: [exim] Configuration question
1)

REwriting the subject line to include potential spam warning

I have in the configuration file

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).


  # test reject spam at high scores (> 41)
  drop message = This message is denied by policy : $spam_score spam points
       spam = nobody:true
       condition = ${if > {$spam_score_int}{409}{1}{0}}



  # 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    = Subject: {SPAM?} $rh_subject:
           add_header = 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


end conf

What is the corect way to rewrie the subject line?

2)

RBLs

I have


  #############################################################################
  # There are no default checks on DNS black lists because the domains that
  # contain these lists are changing all the time. However, here are two
  # examples of how you can get Exim to perform a DNS black list lookup at this
  # point. The first one denies, whereas the second just warns.
  #
   deny    message       = rejected because $sender_host_address is in a black l
ist at $dnslist_domain\n$dnslist_text
           dnslists = sbl-xbl.spamhaus.org : zen.spamhaus.org : dnsbl.njabl.org
: combined.njabl.org : dev.null.dk : relays.visi.com : bl.spamcop.net : iscbl.an
ti-spam.org.cn : cbl.anti-spam.org.cn : cblplus.anti-spam.org.cn : cblless.anti-
spam.org.cn : hostkarma.junkemailfilter.com=127.0.0.2
           log_message   = found in $dnslist_domain
  #
  # warn   dnslists = sbl-xbl.spamhaus.org: \
  #           zen.spamhaus.org : \
  #           dnsbl.njabl.org : \
  #           combined.njabl.org : \
  #           dev.null.dk : \
  #           relays.visi.com : \
  #           bl.spamcop.net : \
  #           iscbl.anti-spam.org.cn : \
  #           cbl.anti-spam.org.cn : \
  #           cblplus.anti-spam.org.cn : \
  #           cblless.anti-spam.org.cn : \
  #           hostkarma.junkemailfilter.com=127.0.0.2
  #         add_header    = X-Warning: $sender_host_address is in a black list a
t $dnslist_domain
           #log_message   = found in $dnslist_domain
  #############################################################################



end conf.

IS the syntax correction.

3) How do I subject any mail coming from the LAN for spam and Virus testing?

4) How can I use something like antiword in Exim?

-- 
Member - Liberal International    This is doctor@??? Ici doctor@???
God, Queen and country! Never Satan President Republic! Beware AntiChrist rising! 
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
IT is done!  http://groups.google.com/group/rec.arts.drwho/about