2026-03-13:11:14:47
This commit is contained in:
@@ -2,26 +2,28 @@
|
||||
|
||||
## Configure msmtp for TLS
|
||||
|
||||
Install `msmtp`:
|
||||
```bash
|
||||
dnf install msmtp
|
||||
```
|
||||
|
||||
Create `/etc/msmtprc`:
|
||||
```
|
||||
defaults
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
|
||||
logfile /var/log/msmtp.log
|
||||
|
||||
account default
|
||||
host smtp.orange.fr
|
||||
port 587
|
||||
from plesnila.valeriu@orange.fr
|
||||
user plesnila.valeriu@orange.fr
|
||||
password "*****"
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Test:
|
||||
```bash
|
||||
printf "Subject: Test Email\n\nThis is a test email." | msmtp -v vplesnila@gmail.com
|
||||
```
|
||||
Reference in New Issue
Block a user