I’m using AsteriskNOW 1.7.1 with FreePBX 2.8 (updated with the latest modules using module admin).
I’m trying to get e-mail notifications working from within FreePBX. I can send emails from the command line, but FreePBX doesn’t send e-mails out. I’ve read every guide I could find on the topic, including the PIAF guides, Trixbox guides, and everything I could find here, and can’t see what I else I can try.
So, far, I’ve done the following:
Removed sendmail and intalled Postfix
rpm -e --nodeps sendmail
yum install postfix
service postfix start
Edited vm_general.inc by changing serveremail to an address @ a FQDN.
Edited hosts to add 127.0.0.1 FQDN
Restarted the network and asterisk:
service network restart
I’m able to send myself a message from the command line using the following syntax:
echo “test” | mail -s testmessage [email protected]
Those messages come through just fine, and so I assume postfix and anything else I need is present. Also, it doesn’t appear that my ISP is blocking port 25.
However, when I set-up an extension in FreePBX with an e-mail address to forward voicemails, the e-mails are not sent. I’ve reviewed the asterisk logs, and they make no mention of any attempts to send e-mails. Also, if I tell FreePBX to attach the .wav files and to delete the messages upon sending, and then leave a test voicemail, the messages are deleted after I leave them, and so I infer that FreePBX belives that it is sending the messages.