I've found that the msmtp
package for Ubuntu 18.04 is old and missing a component. The current included package is version 1.6.6 from 2016-11-14 and is missing msmtpd
. I would like to install version 1.8.6 from 2019-09-27 that is significantly updated and does include msmtpd
.
What are the proper configuration arguments that would get this to compile with appropriate make install
locations for Ubuntu 18.04?
Additionally, what would be the process for creating a quick /etc/init.d/
startup script for this so as to make sure that this service starts at boot-up and can be restarted easily?
A simle ./configure
gives the following output, which appears to be missing TLS and I don't think /usr/local is the preferred folder from the other package's defaults:
Install prefix ......... : /usr/local
NLS support ............ : yes
TLS support ............ : no (Library: none)
IDN support ............ : yes (no library required)
GNU SASL support ....... : no (most likely unnecessary)
Libsecret support (GNOME): no
MacOS X Keychain support : no
Build msmtpd ............: yes
apt build-dep msmtp
is to get the TLS support from the original package? When I execute this I getE: You must put some 'source' URIs in your sources.list
– ylluminate Oct 20 '19 at 17:52sudo apt build-dep
instead ofsudo apt build-dep msmtp
– mchid Oct 20 '19 at 17:55sudo apt update
before you try again. – mchid Oct 20 '19 at 18:14/etc/init.d
. I assume I should just take an existing script and hack it out to work formsmtpd
, however I do want to be sure I get a clean and appropriate enough starting point. – ylluminate Oct 20 '19 at 18:29