LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] postfix whitelist smtp servers

[ILUG] postfix whitelist smtp servers

Giulivo Navigante giulivo.navigante at katamail.com
Thu Feb 14 17:14:04 GMT 2008


Gavin McCullagh wrote:
> Hi,
> 
> On Thu, 14 Feb 2008, Ciaran Johnston wrote:
> 
>>> except that the ??? is the problem.  I can't figure out how to specify all
>>> networks.  A /8 is easy with eg. "127. " but to ban everyone would require
>>> 254 of those lines which can't be right.
>> I haven't tried it, but from access(5):
>>
>> NOTE  3:  use the cidr lookup table type to specify network/netmask
>> patterns.  See  cidr_table(5)  for details.
> 
> I'm not sure how I missed that in the manpage but it's now working as
> advertised.  

Anyway, you shouldn't have any need of "denying all the others"

postfix, as every mta, accepts by default emails for the local users 
from everybody and for other domains only from his internal network

If you need to add an host or a subnet to the access list you can do it 
in many ways, one is the one you used, but no reasons to block 
explicitly the others in your file
-- 
Giulio Fidente
"What we have done for ourselves alone dies with us;
  what we have done for others and the world remains."



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell