Null-mailer - msmtp

intro | dma | msmtp

Intro

doesn’t have a local queue?!

Install

removepkg dma | grep -v Deleting
rm -rf /etc/dma/
rm -rf /var/spool/dma/

slackpkg search gnutls
slackpkg search libsecret
slackpkg search p11-kit
slackpkg search nettle

sbopkg -r
sbopkg -i libgsasl
sbopkg -i msmtp

ls -lhF /etc/ssl/certs/ca-certificates.crt

make the null-mailer available to the system

ls -lF /usr/sbin/sendmail # no exist
ln -s ../bin/msmtp /usr/sbin/sendmail

Setup

ls -lF /etc/msmtprc* # no exist
cp -i /usr/doc/msmtp-*/msmtprc-system.example /etc/msmtprc.dist
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

auto_from on
maildomain pmr1.localdomain

auth on
user LOGIN
password PASSWORD-HERE

syslog LOG_MAIL

Acceptance

see null-mailer

Resources

MSMTP https://marlam.de/msmtp/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5
Copyright © 2022 Pierre-Philipp Braun