There is a small server that runs a simple site. Site users can optionally subscribe to the mailing list. What would be the best solution for sending outgoing (incoming) mail?

    3 answers 3

    sendmail (worse, but standard), postfix (better)

      If server resources are really very limited and only mail delivery is required, you should take a look at sSMTP (Simple SMTP).

        Setting up your own mail server for outgoing mail implies a sufficiently large amount of knowledge. Here is the correct DNS setting, and work with a large number of blacklists. Also, your own server can not be left for a long time without the supervision of the administrator. Do you really want to spend your time on analysis, why did Ivanov normally walk letters, and went to Petrov yesterday, but stopped today?

        I would recommend using sending through public servers, for example mail.ru, instead of my own server. You will need an account for this, but you do not need to specify it as a return address, it is enough to pass SMTP authorization. There are some subtleties with this mode of operation, but all information is usually in the public domain. I did a similar scheme for mail.ru and gmail.com.

        Although it is possible to configure the local mail server to be sent via public servers.