<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Dave,<BR>
<BR>
can you help me with my configuration of mutt (MUA) + msmtp (MTA) ?<BR>
<BR>
I have included the following in my voicemail.conf :<BR>
<BR>
mailcmd=/usr/sbin/mutt<BR>
<BR>
But how will Asterisk know how to use Mutt to attach its voicemail-message (.wav-file) ???<BR>
<BR>
I use Mutt together with msmtp to send me weekly the Asterisk-log files. I put the commands in my crontab-file.<BR>
<BR>
Attachment is possible with "mutt -a attachment"<BR>
<BR>
How does Asterisk know to use the -a option ???<BR>
<BR>
Thanks for he help !<BR>
<BR>
Jonas.<BR>
<BR>
<BR>
<BR>
On Fri, 2009-05-08 at 13:35 -0700, Dave Walker wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
<A HREF="http://www.voip-info.org/wiki/view/Asterisk+config+voicemail.conf">http://www.voip-info.org/wiki/view/Asterisk+config+voicemail.conf</A><BR>
<BR>
mailcmd Mailcmd allows the administrator to override the default mailer command with a defined command. Mailcmd takes a string value set to the desired command line to execute when a user needs to be notified of a voice mail message. The default command line is: '/usr/sbin/sendmail -t'. A useful alternative to sendmail is <A HREF="http://www.exim.org/">Exim</A> which many people find easier to configure. Examples <BR>
<BR>
; - you will need to escape any < or > characters with a \<BR>
mailcmd=/usr/sbin/sendmail -v -t -f asterisk-pbx@yourdomain.com ; use -f to prevent root@localhost.localdomain or similar<BR>
mailcmd=/usr/exim/bin/exim -t<BR>
; - use the next line for testing<BR>
mailcmd=cat \> /tmp/astvm-mail<BR>
<BR>
</BLOCKQUOTE>
</BODY>
</HTML>