intro | dma | msmtp nullmailer
doesn’t have a local queue?!
./configure --sysconfdir=/etc --localstatedir=/var --disable-nls --with-tls=openssl
apt install msmtp # msmtp-mta
butch install msmtp
ls -lF /var/log/packages/ | grep postfix # emtpy ls -lF /var/log/packages/ | grep dma # emtpy slackpkg install pkg-config slackpkg install gnutls slackpkg install libsecret slackpkg install p11-kit slackpkg install nettle sbopkg -r sbopkg -i libgsasl sbopkg -i msmtp ldd /usr/bin/msmtp ls -lhF /etc/ssl/certs/ca-certificates.crt ls -lhF /etc/ssl/cacert.pem
make the null-mailer available to the system
# slackware and debian ls -lF /usr/sbin/sendmail # no exist # sabotage linux ls -lF /usr/sbin/sendmail # busybox ln -sf ../bin/msmtp /usr/sbin/sendmail
pkg_add msmtp cp -pi /etc/mailer.conf /etc/mailer.conf.dist vi /etc/mailer.conf sendmail /usr/pkg/bin/msmtp mailq /usr/pkg/bin/msmtp newaliases /sbin/nologin
ls -lF /etc/msmtprc* # no exist # debian cp -i /usr/share/doc/msmtp/examples/msmtprc-system.example /etc/msmtprc.dist # sabotage linux cp -i /src/build/msmtp/msmtp-1.8.0/doc/msmtprc-system.example /etc/msmtprc.dist # slackware cp -i /usr/doc/msmtp-*/msmtprc-system.example /etc/msmtprc.dist # netbsd mv /usr/pkg/etc/msmtprc /etc/msmtprc.dist touch /usr/pkg/etc/msmtprc ln -s /usr/pkg/etc/msmtprc /etc/msmtprc grep -vE '^#|^$' /etc/msmtprc.dist > /etc/msmtprc.clean grep -vE '^#|^$' /etc/msmtprc.dist > /etc/msmtprc vi /etc/msmtprc account default host xc.nethence.com port 465 tls on tls_starttls off tls_certcheck on #tls_trust_file /etc/ssl/certs/ca-certificates.crt tls_trust_file /etc/ssl/cacert.pem auto_from on maildomain DOMAIN-HERE auth on user USERNAME-HERE password PASSWORD-HERE syslog LOG_MAIL
see null-mailer
sendmail: support for TLS is not compiled in
==> gnutls
MSMTP https://marlam.de/msmtp/