[exim] reject mail with fake from

Top Page
Delete this message
Reply to this message
Author: Beber
Date:  
To: exim-users
Subject: [exim] reject mail with fake from
Hi,

I received some spam with a @meleeweb.net and valid $local_part (user
exist). but they came from host not in relay_from_hosts. And I would
like to nuke them

I wrote these ACL :

acl_check_rcpt:

...

accept authenticated = *

  accept  local_parts   = postmaster
          domains       = +local_domains


  require verify        = sender


  deny    message       = You can't send message with this From: header
          domains       = +local_domains
          sender_domains = +local_domains


  accept  domains       = +local_domains
          endpass
          verify        = recipient


  accept  hosts         = +relay_from_hosts


  deny    message       = relay not permitted


I would like to known if this is correct and/or reliable ?

Thanks

--
Beber - E-Mail / Jabber (+GMail) : beber_AT_meleeweb.net
http://www.meleeweb.net