How to configure postfix to permit relaying from some ip address but only using one domain as sender

postfix

I have been looking for this but I can't find anything. I want to permit one ip address to relay mails by my servers but only using one domain as sender. Can I ? If yes, how. I use postfix 2.9.4. Sorry my english and thanks for any answers.

Best Answer

Yes you can do this with.You can specify a user to send mails from an Ip/Host by using sender dependent sasl authentication. Follow these links. http://www.postfix.org/SASL_README.html#client_sasl_sender And in other terms. http://www.cyberciti.biz/faq/postfix-multiple-isp-accounts-smarthost-smtp-client/