Take the 2-minute tour ×
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

E.g:

  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 , –  Mohsen Pahlevanzadeh Sep 25 '13 at 15:36
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.