Actually the Asterisk logs show nothing and there is no mail log. While I was looking around I found a file called astmail-5I3nSR in /tmp/ I tried running the sendmail command exactly as in the mailcmd= statement in voicemail.conf passing the file in /tmp and I got the email properly, so all I can think of is it's not running sendmail at all.
Thanks, Liviu On Sun, Jan 3, 2010 at 9:19 PM, Andre Courchesne <[email protected]> wrote: > Ok, then the next step is to look at the asterisk log (with full verbose) and > maillog to see what happens when you deposit a voicemail. > > --- > > Andre Courchesne - Consultant > > http://www.net-forces.com > > MSN: [email protected] > > Skype: VoipForces > > > > L'information contenue dans le présent document est la propriété de Andre > Courchesne. Et est divulguée en toute confidentialité. Cette information ne > doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans le > consentement écrit explicite de Andre Courchesne. > > The information contained in this document is confidential and property of > Andre Courchesne. It shall not be used, disclosed to others or reproduced > without the express written consent of Andre Courchesne. > > > > > > On 2010-01-03, at 8:54 PM, Liviu Toma wrote: > >> I already did that, of course, because the utility is called >> mini_sendmail and is located in /opt/usr/bin >> >> Thanks, >> Liviu >> >> On Sun, Jan 3, 2010 at 8:46 PM, Andre Courchesne >> <[email protected]> wrote: >>> Ok, then you probably need to change the default command asterisk voicemail >>> uses to send the voicemail. In voicemail.conf: >>> >>> ; You can override the default program to send e-mail if you wish, too >>> ; >>> ;mailcmd=/usr/sbin/sendmail -t >>> >>> >>> --- >>> >>> Andre Courchesne - Consultant >>> >>> http://www.net-forces.com >>> >>> MSN: [email protected] >>> >>> Skype: VoipForces >>> >>> >>> >>> L'information contenue dans le présent document est la propriété de Andre >>> Courchesne. Et est divulguée en toute confidentialité. Cette information ne >>> doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans >>> le consentement écrit explicite de Andre Courchesne. >>> >>> The information contained in this document is confidential and property of >>> Andre Courchesne. It shall not be used, disclosed to others or reproduced >>> without the express written consent of Andre Courchesne. >>> >>> >>> >>> >>> >>> On 2010-01-03, at 8:26 PM, Liviu Toma wrote: >>> >>>> Yes, I can, with the mini-sendmail package >>>> >>>> Thanks, >>>> Liviu >>>> >>>> ----- Original Message ----- >>>> From: "Andre Courchesne" <[email protected]> >>>> To: "Liviu Toma" <[email protected]> >>>> Cc: "Asterisk Users Group" <[email protected]> >>>> Sent: Sunday, January 03, 2010 11:10 AM >>>> Subject: Re: [on-asterisk] How to troubleshoot the voicemail ? >>>> >>>> >>>> Can you send an email from the command line using sendmail? >>>> >>>> Sent from my iPhone >>>> >>>> On Jan 3, 2010, at 10:48 AM, "Liviu Toma" <[email protected]> wrote: >>>> >>>>> Hello, >>>>> >>>>> This is probably more for the experts in running asterisk on embedded >>>>> devices. >>>>> I just installed asterisk on a Linksys NSLU2 and I'm having issues >>>>> getting >>>>> the voicemail application to send emails. >>>>> I am pretty sure that my config files are ok, because I used them on a >>>>> different embedded device and everything was OK. >>>>> Is it possible to make the voicemail application log more >>>>> information so I >>>>> can try to figure out what's going on ? Currently it doesn't write >>>>> anything >>>>> in /var/log/asterisk/messages (/opt/var/log/asterisk/messages for >>>>> NSLU2). >>>>> For the mail transport I tried using both the esmtp package and the >>>>> mini_sendmail package. >>>>> >>>>> Thanks, >>>>> Liviu >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
