I have a server with a website and postfix, and one associated email address webmaster@site.com. I can send secure emails from the website (from php), receive emails for webmaster, which I redirect to another address using aliases. That works fine.

Now I have a couple questions:

I don't need external SMTP login, how do I disable it? I only want to receive emails for "webmaster", not login in smtp as "webmaster" or any other user. (I thought to remove "permit_sasl_authenticated" but will that be enough? How do I remove unauthenticated one?)

How I limit addresses who can receive email? Again, I only want to be able to receive emails for "webmaster" which will be redirected to my true address, but disallow all other recipient addresses.

New contributor
st. is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

st. is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.