Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I setup a Postfix mail server in our office and we are using MS-outlook for mail-client.

I can finally send and receive email via outlook.. but my problem now is that i can send

email using different domain via outlook. How can i prevent it?????

How can i configure postfix to send email using "" only and prevent it to send email using "".


share|improve this question

You should be able to do this with the "check_sender_access" directive -

share|improve this answer
Hi thanks you for the reply, but is it possible to just deny all-domain at sender_access list and allow only my-domain..??? i already read that link but its good for one email address. – Karl Feb 15 '13 at 12:36

Try this :

check_sender_access hash:/etc/postfix/restricted_senders, reject

Then create /etc/postfix/restricted_senders OK

(In fairness, I've not tried this. I'm not convinced there are many cases for the solution. I'd rather do SMTP auth, and add a header showing who the authenticated user was that sent the email)

share|improve this answer

what is the OS on which postfix is installed, what is your setting in and what authentication method you are using for example SASL.

If you can provide all the details it will be easier to answer as to what you are missing.

share|improve this answer

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.