mutt will not deliver a email message, so you are using the wrong
command. The email message with attachment is created by Asterisk and
needs msmtp to deliver the message.

On Sun, May 10, 2009 at 9:10 AM, jonas kellens <jonas.kell...@telenet.be> wrote:
> Dave,
>
> can you help me with my configuration of mutt (MUA) + msmtp (MTA) ?
>
> I have included the following in my voicemail.conf :
>
> mailcmd=/usr/sbin/mutt
>
> But how will Asterisk know how to use Mutt to attach its voicemail-message
> (.wav-file) ???
>
> I use Mutt together with msmtp to send me weekly the Asterisk-log files. I
> put the commands in my crontab-file.
>
> Attachment is possible with "mutt -a attachment"
>
> How does Asterisk know to use the -a option ???
>
> Thanks for he help !
>
> Jonas.
>
>
>
> On Fri, 2009-05-08 at 13:35 -0700, Dave Walker wrote:
>
> http://www.voip-info.org/wiki/view/Asterisk+config+voicemail.conf
>
> 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 Exim which many people find easier to configure.
> Examples
>
>  ; - you will need to escape any < or > characters with a \
>  mailcmd=/usr/sbin/sendmail -v -t -f asterisk-...@yourdomain.com   ; use -f to prevent r...@localhost.localdomain or similar
>  mailcmd=/usr/exim/bin/exim -t
>  ; - use the next line for testing
>  mailcmd=cat \> /tmp/astvm-mail
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to