Re: [Exim] Final Peer Review Sought: "Spam Filtering for MXs…

Góra strony
Delete this message
Reply to this message
Autor: Christian Balzer
Data:  
Dla: Tor Slettnes
CC: Exim User's Mailing List
Temat: Re: [Exim] Final Peer Review Sought: "Spam Filtering for MXs" HOWTO
Hello,

I'm currently testing the A.11 section, blocking collateral spam.

In A.11.1 we have:

remote_smtp:
  debug_print    = "T: remote_smtp (hashed) for $local_part@$domain"
  driver         = smtp
  max_rcpt       = 1
  return_path    = ${local_part:$sender_address}=$local_part=$domain=\
                   ${hash_8:\
                     SECRET=${local_part:$sender_address}=$local_part=$domain}\
                   @$qualify_domain


The $qualify_domain is a sure killer in any mail system handling more
than a single domain and likely even in some with not just one but
multiple servers.

I replaced the last line with this, resulting in much more generic
solution:

  return_path    = $sender_address_local_part=$local_part=$domain=\
                   ${hash_8:\
                     SECRET=${local_part:$sender_address}=$local_part=$domain}\
                   @$sender_address_domain



As a side note, the above transport will only be called in my setup
for addresses aka users that selected this option, not forcing the
max_rcpt and computational slowdown onto everybody. :)

Regards,

Christian Balzer
--
Christian Balzer        Network/Systems Engineer                NOC
chibi@???       Global OnLine Japan/Fusion Network Services
http://www.gol.com/