Version 1/3 - Next » - Current version
Laurent Lassalle, 09/18/2020 03:38 pm


Setup AMC to send email

The following steps lists down how to configure AMC to send email.

1) Install msmtp

$ sudo apt-get install msmtp

2) Create msmtp configuration file

Create a msmtp configuration file named .msmtprc in your home directory.

3) Set permission for .msmtprc file

Set permission for .msmtprc file so that only you can read and write it.

$ touch ~/.msmtprc
$ chmod 0600 ~/.msmtprc

4) Edit .msmtprc file

Add the following content to .msmtprc file and save it.

defaults

######################################################################
# A sample configuration using Gmail
######################################################################

# account name is "gmail".
account gmail
host smtp.gmail.com
tls on
tls_certcheck off
port 587
auth login
from your_user_name@gmail.com
user your_user_name
password your_password

account default: gmail

5) Setup AMC to use msmtp

  • Start AMC and open Edit->Preferences->Email.
  • Select sendmail for Mail delivery method .
  • Type /usr/bin/msmtp in sendmail path section.

Now you send emails from AMC.