After a couple of private email The is no messages in the /var/spool/smtpd structure from asterisk
and one other thing I tried was to use femail which will works when manual invoked and I believe uses nothing other that tcpip Asterisk behaves as if the mail program is not being called at all -----Original Message----- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Peter Fraser Sent: Thursday, May 28, 2015 2:18 PM To: 'misc@openbsd.org' Subject: OpenBSD 5.7 & Asterisk & sendmail & voice mail as email 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