Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 , – PersianGulf Sep 25 '13 at 15:36

1 Answer 1

you should use address rewriting :

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.