Thanks for your help. But that tips is not really what I'm searching for. The class restriction is a global restriction : some users have full permission (and can send mail to local and remote users) and some others have restricts permissions (they can only send to local users). So there are in fact two groups. And every user in each group have the same permission.
What I wanted to do is at a higher granularity level : I want that each user have his own white list of authorized users to who he can send mails ; sorts of ACL for mail (and each user is an object). Le mercredi 20 mai 2009 à 12:05 -0500, Noel Jones a écrit : > Nicolas Michel wrote: > > This is my first post on this mailing list so hi to everyone ;) > > > > I have a special demand : I want that a user can't send mails but only > > to some pre-defined e-mail adresses. For example : my user > > t...@domain.com <mailto:t...@domain.com> can send mails to > > rob...@domain.com <mailto:rob...@domain.com>, r...@domain2.fr > > <mailto:r...@domaine2.fr> and ke...@domain2.fr <mailto:ke...@domain2.fr> > > but to nobody else. > > > > I know this is not the philosophy of the e-mail but I need to do it. > > Is someone have an idea? > > > > Thank you for your help, > > nm > > Here's the basic documentation for what you're wanting. > > http://www.postfix.org/RESTRICTION_CLASS_README.html#external > > -- Noel Jones