[Exim] Re: [

Top Pagina
Delete this message
Reply to this message
Auteur: kmb
Datum:  
Aan: exim-users
Onderwerp: [Exim] Re: [
Take a look at your conf file, nonexistent users rejections do not
happen until the end, after all of your DNS looks and RLB looks and SQL
Queries. By placing the deny right up front it saves a lot of CPU
cycles.

Also if a Spammer sees that all email for a domain is being rejected
they are more likely to remove that domain from the list that they are
using. or at least we can hope....

What I have done is this :

In the Main Config Section:


Code:
--------------------

domainlist dead_and_dying = dead_domain_name.com

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



and in the ACL I have the following:


Code:
--------------------


acl_check_rcpt:

# Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by
# testing for an empty sending host field.

accept hosts = :


# Deny if the local part contains @ or % or / or | or !. These are rarely
# found in genuine local parts, but are often tried by people looking to
# circumvent relaying restrictions.

  deny    local_parts   = ^.*[@%!/|]


deny domains = +dead_and_dying
local_parts = !postmaster
message = Domain email for $domain No longer served
<snip>

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


This has worked for me and I do this for all of the domains that do not
have email users.


--
kmb

Kevin Barrett
Administrator -- Exim-Users.org Portal And Forums
Exim-users email list to forum gateway
Come Join us at 'The Exim-Users Forums' (http://www.exim-users.org)

------------------------------------------------------------------------
kmb's Profile: http://www.exim-users.org/forums/member.php?action=getinfo&userid=1
View this thread: http://www.exim-users.org/forums/showthread.php?threadid=502