title: How to block sending outgoing mail from other domains in from field
body: <p>In my postfix mail server, users are able to send mail on name of different domains
  using from field in mail client software.</p>
  
  <p>For eg. I am using sendEmail mail client, and I can send emails with hdfc.com domain or other too,</p>
  
  <blockquote>
    <p>sendEmail -v -f "amit@hdfc.com" -s "test.example.in:25" -xu "amit" -xp "ami*321" -t "xyz@yahoo.co.in"  -u "test from sendEmaili 0255" -m "this is sendEmail test"</p>
  </blockquote>
  
  <p>This mail goes to spam and it did not show actual mail address in details header.</p>
  
  <p>How Can I restrict my outgoing mails such that it can only send outgoing mails which have my domain  test.example.in? or it would be great if I can map user's too that user can't use other users name.</p>
  
  <p>If only first case work that will be sufficient for me.</p>
  
  <p>I searched a lot but not able to do this. my postfix version is 2.11.3-1 on debian Jessie. My setup have just postfix with sasl authentication, authentication is working fine.</p>
  
  <p>--
  Thanks</p>