
My previous ACL postings are not as one complete item, the following list of ACL's are recommended for shared hosting environments where users authenticate locally to send mail from dynamic address space.
Use of PBL's and suchlike would be much better but aren't entirely practical unless you have only business customers that ALL have static IP's (Which in reality will never happen) or seperate recieving SMTP servers from the ones your customers relay out through.
There is one part of this that I often get asked about so I will explain myself and let you know the implications of doing so before you do it.
I run my RBL checks at the HELO/EHLO stage of SMTP transactions, some will agree with me on this, others will beg to differ.
I deliberatly reject SMTP transactions if the connecting address is in an RBL because:
The downside with the above is the distinct inability to whitelist IP's, even SMTP auth clients will fail at this stage.
My personal experience of this, is that it hasn't been too much of a problem for me - but then the company I work for doesn't have hundreds of servers to keep an eye on.
I will admit, it might not be entirely practical to implement with larger hosts but I haven't personally had any trouble.
Ok so now I've explained myself - on to the ACL's - I will be happy to answer any questions anyone may have
Near the very top of your exim.conf you need to add:
Now for the helo acls
By the time it gets to here, its passed the checks, so let it go on to the next stage.
Most exim servers already come with a RCPT stage ACL list of some nature, so in this instance we just need to add a few things to it.
Spammers like to forge some big names when they send you email. We can't easily check all of them, not until Sender Permitted From (SPF) is widely used. At least we can check for some of the most commonly abused domains, Yahoo, Hotmail, MSN, and AOL. These four filters will reject email with forged From: addresses containing the "big four" domains.
You should be running some form of spam filtering daemon on ANY public mail server - yes they are load heavy but until someone comes up with a way to remove spam at source (not likely) you should be filtering your mail.
I could go in to detail with SpamAssassin ACL checks here but I would imagine most people reading this have cPanel servers, as cPanel already installs and configures SA I'm going to skip it for now.
I have used varying levels of filtering and header checks with ACL's at data stage in the past, but they tend to be the most problematic when you have customers relaying out via your server.
A prime example of this is the common: Check Message ID acl (see rossz's list) - if a message hasn't been relayed through an SMTP server already, then it won't have a message ID header.
All we need to do now is add one final part to the exim config - within the RCPT acl which again commonly already exists on most servers.
Email should have a proper date header (E-mail client software tends to set this, so its normally ok to check it and reject if not found).
nice tip nick! bookmarked and added to exim conf, well done.
alot of info there, added to bookmarks !
[...] from: nickpack.com – Exim ACL examples for shared hosting WhatPriceUptimeDiskspaceBandwidthRatingsDetails Starts at $4.95 [...]
[...] See the original post here: nickpack.com - Exim ACL examples for shared hosting [...]
[...] Continued here: nickpack.com - Exim ACL examples for shared hosting [...]
[...] View original post here: nickpack.com - Exim ACL examples for shared hosting [...]
[...] Read more: nickpack.com - Exim ACL examples for shared hosting [...]
[...] Original post: nickpack.com - Exim ACL examples for shared hosting [...]
[...] Read this article: nickpack.com – Exim ACL examples for shared hosting [...]
[...] See original here: nickpack.com – Exim ACL examples for shared hosting [...]
[...] Read the rest here: nickpack.com - Exim ACL examples for shared hosting [...]
[...] Link: nickpack.com - Exim ACL examples for shared hosting [...]
[...] See more here: nickpack.com - Exim ACL examples for shared hosting [...]
[...] Go here to see the original: nickpack.com - Exim ACL examples for shared hosting [...]
[...] Read the rest here: nickpack.com - Exim ACL examples for shared hosting [...]
[...] reading here: nickpack.com - Exim ACL examples for shared hosting Top 5 Green Web Hosting Companies, Click [...]
HTML tags allowed in comments are: strong,em,ul,ol,li, URL's are automatically converted to links so no need to use <a>.