I got my answer here: http://sbserv.stahl.bau.tu-bs.de/~hildeb/postfix/postfix_restriction_classes2.shtml
thanks Wire > On Thursday 16 February 2006 11:08, [EMAIL PROTECTED] wrote: >> Hi All >> >> I have a scenario where a client wants to have a section of the email >> users being able to send email only to the local company domain without >> sending mails outside the company domain while other users will have the >> liberty to send emails to any destination. >> >> Is there any hack available for Postfix to do that? > > On the other hand the access table may also be useful for this: > > taken from /etc/postfix/access > DESCRIPTION > # The optional access(5) table directs the Postfix SMTP > # server to selectively reject or accept mail. Access can be > # allowed or denied for specific host names, domain names, > # networks, host addresses or mail addresses. > # > > >> >> Thanks in advance >> >> Wire James >> _______________________________________________ >> LUG mailing list >> [email protected] >> http://kym.net/mailman/listinfo/lug >> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ >> >> The above comments and data are owned by whoever posted them (including >> attachments if any). The List's Host is not responsible for them in any >> way. --------------------------------------- > > -- > Noah. > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > "Coffee does not make you nervous. your own inadequacies do that. > Coffee merely increases your perception of your own inadequacies." --Rob > Austein. > _______________________________________________ > LUG mailing list > [email protected] > http://kym.net/mailman/listinfo/lug > %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The List's Host is not responsible for them in any > way. > --------------------------------------- > > _______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
