How to change the default sender address for the voicemail
Step-by-step guide
Asterisk uses the default postfix configuration to send the voicemail message.
Edit the file /etc/postfix/main.cf and set the parameter myorigin with your email address as follows:
/etc/postfix/main.cf
# SENDING MAIL # # The myorigin parameter specifies the domain that locally-posted # mail appears to come from. The default is to append $myhostname, # which is fine for small sites. If you run a domain with multiple # machines, you should (1) change this to $mydomain and (2) set up # a domain-wide alias database that aliases each user to # user@that.users.mailhost. # # For the sake of consistency between sender and recipient addresses, # myorigin also specifies the default domain name that is appended # to recipient addresses that have no @domain part. # #myorigin = $myhostname #myorigin = $mydomain # # MY CONFIG (customercare@mycompany.com) myorigin = customercare myorigin = mycompany.com
Save the file and restart postfix service