Carver Banks wrote:
Hello,
I am in the process of setting up an internal mail server 
(carver-test.mydomain.local) using postfix, dovecot and squirrel mail.
I want the users of this system only be able send mail to a few users in 
mydomain.com
I imagine that there is an easy way to map this to a file, but I can't seem to 
find anything in my searches.


Here's the general documentation on restricting who can send where:
http://www.postfix.org/RESTRICTION_CLASS_README.html


If this is strictly an internal system, you can use something simpler, such as:

smtpd_recipient_restrictions =
  check_recipient_access hash:/etc/postfix/allowed_recipients
  reject

where allowed_recipients lists the valid recipients as:
us...@example.com  OK
us...@example.com  OK

  -- Noel Jones

Reply via email to