Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 msmtpqueue: Mail system is stopped. Use 'msmtpqueue' to display the mail queue.

These are my configuration files (my server is located at


## 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.
## The username and password for communicating with the SMTP server.


1111 => 1234,Nick,,,tz=eastern|attach=yes||format=wav
share|improve this question
What is msmtpqueue output? Do you have any other mail related messages in the logfile? –  ouranos Dec 14 '11 at 4:02
msmtpqueue outputs the formulated email queue, but nothing else. There are no other messages related to emails in the log file. –  nickb Dec 14 '11 at 4:14
Try to manually flush the queue: msmtpqueue -f –  ouranos Dec 14 '11 at 4:32
Please accept your own answer so that people know your problem has been solved! –  Scrivener Mar 9 '13 at 16:03

1 Answer 1

up vote 0 down vote accepted

From the web interface of Asterisk, I had to modify the SMTP settings in the Network tab, instead of editing the rc.conf configuration file. Once I made the changes under "Outbound SMTP Mail Relay" on the Network tab and rebooted the machine, Asterisk cleared the message queue and pushed all of the queued emails out.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.