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

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












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














up vote
3
down vote

favorite












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












up vote
3
down vote

favorite









up vote
3
down vote

favorite











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















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.






email postfix mta






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 25 '13 at 15:40









Anthon

58.9k1796160




58.9k1796160










asked Sep 25 '13 at 15:02









Daya

1178




1178











  • move your question to serverfualt at serverfault.com ,
    – PersianGulf
    Sep 25 '13 at 15:36
















  • move your question to serverfualt at serverfault.com ,
    – PersianGulf
    Sep 25 '13 at 15:36















move your question to serverfualt at serverfault.com ,
– PersianGulf
Sep 25 '13 at 15:36




move your question to serverfualt at serverfault.com ,
– PersianGulf
Sep 25 '13 at 15:36










1 Answer
1






active

oldest

votes

















up vote
0
down vote













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







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f92332%2fhow-can-i-configure-postfix-to-silently-drop-discard-reject-mails-that-were-sent%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













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














up vote
0
down vote













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












up vote
0
down vote










up vote
0
down vote









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






share|improve this answer












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







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 25 '13 at 15:36









PersianGulf

6,66743357




6,66743357











  • 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
















  • 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















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




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

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f92332%2fhow-can-i-configure-postfix-to-silently-drop-discard-reject-mails-that-were-sent%23new-answer', 'question_page');

);

Post as a guest













































































QUUtlg,h,u1n6ez alJhbo5FwiagEE6nji
Q6SYKNq2 izjX3p4rik,9OA7bo

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS