Hi Mouss, That sounds just like what I need - thanx - I'll go play with my testserver!
- TvE On Tue, Jul 19, 2011 at 12:54 AM, mouss <mo...@ml.netoyen.net> wrote: > Le 18/07/2011 23:50, Thomas von Eyben a écrit : >> Hi List, >> >> I have been searching google and man pages etc. but been unable to >> find the answer so far. >> >> I have an e-mailaddress (a group) that it's currently only possible to >> send e-mail to from the local users, this is achieved with the >> following content in /etc/postfix/access: >> all@ permit_mynetworks,reject >> >> Now I need to open up for one specific (outside) domain to be able to >> send mail to this address. >> >> I am unable to find the right syntax for this job in the access file >> (or maybe that's not the only place I need to make this change?). >> If I comment out the before montioned rule I am allowing mail from >> everywhere, this is not so good since "all@tld" is getting spammed a >> lot ;-) >> >> Any examples or pointers to the documentation I have missed is most welcomed >> > > > you probably want a restriction class. > > all@ permit_mynetworks, permit_somefew, reject > > permit_somefew = > check_client_access hash:/etc/postfix/some_few > > ... > > read the docs about restrictions classes. >