msmtp Configuration

This page explains how to configure msmtp for sending emails via your A/I account.

In the example below, [email protected] is your account name (full email address), and PASSWORD the associated password.

Ensure you have the ca-certificates package installed, and add the following to your ~/.msmtprc file:

account [email protected]
port 587
from [email protected]
user [email protected]
auth on
password PASSWORD
tls on
tls_starttls on
tls_trust_file /ets/ssl/certs/ca-certificates.crt
host smtp.autistici.org
tls_certcheck on

To check that the configuration works, try sending a test email to yourself:

echo test | msmtp -a [email protected] [email protected]
JavaScript license information