Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address? It should work only for specific users


  1. abc@localdomain can send mail to only @localdomain users.
  2. abc@localdomain can only receive from @localdomain users.
share|improve this question
move your question to serverfualt at serverfault.com , – PersianGulf Sep 25 '13 at 15:36

you should use address rewriting : http://www.postfix.org/ADDRESS_REWRITING_README.html

share|improve this answer
In Over organization we have 2 domain with single database. e.g localdomain1 and localdomain2 . we want to restrict some specific users which is on localdomain2(users@localdomain2) to send and receive mail form localdomain1 . it means localdomain2 users can send and receive mail within localdomain2 only. – Daya Sep 26 '13 at 10:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.