Postfix - disable user to send mail?

Hello,

We need to create an e-mail account for one virtual user.
User must be able to receive e-mails from all inside/outside domains, but at the same time user must not be able to send e-mails to outside domains exept to inside domains?

erik100 wrote:

> We need to create an e-mail account for one virtual user.
> User must be able to receive e-mails from all inside/outside domains,
> but at the same time user must not be able to send e-mails to outside
> domains exept to inside domains?

Take a read into this doc:


Restricting what users can send mail to off-site destinations
http://www.postfix.org/RESTRICTION_CLASS_README.html#external


Greetings,


Camaleón