Question

I need to setup mail server for sending from PHP scripts only. I'm not needed to receive email or sending it by another way. Preferable is the Postfix (it is easy than Sendmail, for example). Ssmtp is doesn't suit me.

Is there some manual or ready-to-run config for this?

Was it helpful?

Solution 2

freebsd handbook is the best resource about your requirements:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-using.html

https://wiki.freebsd.org/SecureSSMTP

i prefer ssmtp

OTHER TIPS

ssmtp has the big disadvantage to loose mails if the mailhub server is not reachable. there should be at least some spooler for this scenario.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top