Moved from pbxinaflash distro to freepbx distro. One thing that we were able to do with sendmail was edit /etc/mail/sendmail.mc then masquerade the email domain that asterisk uses to send voicemail to emails by adding the following code to the end of the file:
MASQUERADE_AS(teleco.com)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(teleco.com)dnl
So then emails look like they’re coming from [email protected].
I tried this resource http://www.cyberciti.biz/tips/howto-postfix-masquerade-change-email-mail-address.html
but it didn’t work on the freepbx distro.
… So, who can tell me how I can do this with postfix?