<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Date: Tue, 13 May 2008 22:28:33 -0400<br>From: OCG Technical Support &lt;<a href="mailto:support@ocg.ca">support@ocg.ca</a>><br>Subject: Re: [asterisk-users] voicemail not sending emails<br>To: 'Asterisk Users List' &lt;<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>Message-ID: &lt;004801c8b56a$34fd3770$9ef7a650$@ca><br>Content-Type: text/plain; charset="us-ascii"<br><br>Permissions? &nbsp;Try running msmtp from the asterisk account? &nbsp;(Assuming that<br>is how you have it setup)<br>I don't know msmtp &nbsp;- but is there &nbsp;a maillog equivalent?<br><br>MD<br><br><div>thanks for the replies but the problem persist</div><div><br></div><div>to recap:</div><div><br></div><div>msmtp works just fine from the asterisk user, typing:</div><div>echo "hello." | msmtp --debug --account=myaccount <a href="mailto:--from=myadress@server.ext">--from=myadress@server.ext</a> <a href="mailto:roberto.milani@sbcglobal.net">roberto.milani@sbcglobal.net</a>&nbsp;</div><div><br></div><div>I have a log and I receive the mail.</div><div><br></div><div>I renamed sendmail and linked msmtp and tried the above command with sendmail and the link works too.</div><div><br></div><div>I removed the mailcmd from voicemail.conf</div><div>but no email on messages not even without attachment</div><div><br></div><div>It just does not get called from asterisk.</div><div><br></div><div>is there a way to debug it?</div><div><br></div><div>thanks</div><div>Roberto</div><div><br></div></body></html>