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











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
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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

59.6k17101162




59.6k17101162










asked Sep 25 '13 at 15:02









Daya

1178




1178





bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • 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: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
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















Required, but never shown

























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,78043359




6,78043359












  • 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















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Setup Asymptote in Texstudio