On Thu, 28 May 2015, Peter Fraser wrote:

> Asterisk seems to run fine on 5.7 with one exception. 
> I normally have voice mail messages send as emails.
> These emails are not being send.
> 
> /usr/local/share/examples/asterisk/default/voicemail.conf
> 
> has a  variable 
> 
> ;mailcmd=/usr/sbin/sendmail -t
> 
> which I believe will end up using smptd
> 
> since I wanted to use sendmail 
> I put into my  /etc/asterisk/voicemail.conf
> 
> mailcmd=/usr/local/libexec/sendmail/sendmail -t
> 
> and did a
> 
> voicemail reload
> from within asterisk and it still did not work.
> 
>  I even tried  
> mailcmd = sh -c cat >>/home/pjf/messages
> 
> after creating message and chmod 777 messages
> the file messages was not changed.
> 
> any ideas on what I am missing
> 

Have a look at /usr/local/share/doc/pkg-readmes/sendmail-*

Particularly the 'Tweaking /etc/mailer.conf' and 'Client mail queue 
ownership' sections.  I would bet that either your /var/spool/clientmqueue 
isn't owned by _smmsp:_smmsp or your submit.cf is using the old smmsp 
user/group.

-- 

John Merriam

Reply via email to