I have a linux server, where I just installed postfix.
I have done nothing more with the email server config.
My website is a classifieds website, where users may put ads, delete ads etc etc. No login and no member functions at all.
Only place I need to use email is this:
- When posting a new classified a confirmation email will be sent out
- When deleting a classified a confirmation email will be sent out
- When contacting the support
- users are able to email the seller by clicking “email seller” and filling out a form.
My Q is, how should I configure Postfix?
Do I need SASL, and TLS?
What else do I need to know?
Btw, PHP is used to mail…
This means postfix will only be used locally, so in order to be safe prevent outside users from contacting your mailer by configuring your firewall to block port 25 incoming.
Edit postfix’ main.cf and set the following, I think this should be enough to get you up and running. Make sure to study the other settings too if they also apply to your situation.