I am trying to configure Asterisk (running on AstLinux) to send emails when it receives voicemails through GMail's SMTP server, but it is not working. I do not receive any emails, and I get the following error in the Asterisk system log:
Dec 14 02:02:56 donald mail.info msmtpqueue: Mail system is stopped. Use 'msmtpqueue' to display the mail queue.
These are my configuration files (my server is located at donald.example.com)
## SMTP Mail Relay ## This is the SMTP server that all mail from cron, etc. on this ## system will be sent through. This includes Asterisk VM notifications. SMTP_SERVER="smtp.gmail.com" ## SMTP_DOMAIN SMTP_DOMAIN="donald.example.com" SMTP_HOSTNAME="pbx" SMTP_TLS=yes SMTP_STARTTLS=on SMTP_CERTCHECK=off ## The username and password for communicating with the SMTP server. SMTP_USER="firstname.lastname@example.org" SMTP_PASS="plaintext_password" SMTP_AUTH=plain SMTP_PORT=587
[default] 1111 => 1234,Nick,email@example.com,,firstname.lastname@example.org|format=wav