Trying to setup voicemail to email for asterisk.
Edited /etc/postfix/main.cf
…
myorigin = myvaliddomain.com
…
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
In the /etc/postfix/sasl_passwd file -
mail.myvaliddomain.com login:password
Then hashed the password and reloaded the postfix
postmap sasl_passwd
postfix reload
Also change /etc/asterisk/vm_general.inc
[email protected]
Setup the extension to send email upon receiving the voicemail email, but email is failed to be sent.
Checking log shows:
from=[[email protected]], size=840, nrcpt=1 (queue active)
to=[[email protected]], relay=myvaliddomain.com[XX.XXX.XX.X]:2626, delay=2.8, delays=0.38/0.04/2.2/0.21, dsn=5.0.0, status=bounced (host myvaliddomain.com[XX.XXX.XX.X] said: 550-Verification failed for [[email protected]] 550-No Such User Here 550 Sender verify failed (in reply to RCPT TO command))
Question is why asterisk is trying to send using from=[[email protected]]? My ISP validates the user and rejects the email. I expected from=[[email protected]] as specified in /etc/asterisk/vm_general.inc or there is another place for it?
Thanks for the assistance.