Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 "mydomain.com" only and prevent it to send email using "fakedomain.com".

Thanks

share|improve this question

3 Answers 3

You should be able to do this with the "check_sender_access" directive - http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/

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 domain.name 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 main.cf 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

 
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.