Fix Voicemail not sending via email
Add these rules to /etc/postfix/generic replacing all with the real data used above for authentication.
Replace all emailfromaddress@real-domain.com --> a real email address
|
root emailfromaddress@real-domain.com
root@localhost emailfromaddress@real-domain.com
root@freepbx emailfromaddress@real-domain.com
root@freepbx.localdomain emailfromaddress@real-domain.com
asterisk emailfromaddress@real-domain.com
asterisk@localhost emailfromaddress@real-domain.com
asterisk@freepbx emailfromaddress@real-domain.com
asterisk@freepbx.localdomain emailfromaddress@real-domain.com
|
Add the following to the end of /etc/postfix/main.cf
smtp_generic_maps = hash:/etc/postfix/generic
|
Then run:
postmap /etc/postfix/generic
|
then
service postfix restart