I want to install the ssmtp (http://archive09.linux.com/feature/132006) on my Mac (El Capitan).

I have homebrew installed but ssmtp isn't one of the packages available.

What are my options for getting ssmtp installed? I'm guessing the only way is to compile it from source code but I'm not sure where to get the source code and what commands to run.

  • As a note for other readers macports does have a ssmtp port. Sorry no use for the OP as you can't mix package managers
    – mmmmmm
    Feb 12, 2016 at 12:32

1 Answer 1


As you said, the only option is to compile the source code.

You can download from the project repository on github. There is a download button there.

To install it, your have to uncompress the downloaded file. Once done, cd to sSMTP-master directory.

The generic compilation process is executing the following commands one by one:

sudo make install

The configure command can be altered with lots of parameters. To let you know your options, you can run ./configure --help

  • Look at the simp page the configure will require more options and also I think you need others to find the Homebrew libraries
    – mmmmmm
    Feb 12, 2016 at 12:31
  • 1
    @Mark No, it doesn't require any extra option to compile, make and install. Tested.
    – jherran
    Feb 12, 2016 at 12:36
  • 1
    I saw the ` --enable-ssl --enable-md5auth` in the linux.com page
    – mmmmmm
    Feb 12, 2016 at 13:49
  • @Mark is an option, but it's not required. You can or cannot enable, is up to you.
    – jherran
    Feb 12, 2016 at 13:53
  • --enable-ssl --enable-md5auth works if your choose to use gnussl. The command will be ./configure --enable-ssl--with-gnutls --enable-md5auth
    – Lucius Hu
    Mar 5, 2017 at 22:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .