I’m not sure if it’s a bug or a feature. Anyway. I’m using Amazon SES for email relay. And they require verified sender address to be in “from” field.
On my server I have postfix configured as email client.
In voicemail.conf I have:
However, sendmail fails because Asterisk supplies “firstname.lastname@example.org” as “From” adress. My Asterisk runs as asteriskpbx user, thats why. But what exactly this setting in config file accomplishes?
I did fix it, but via aliasing on postfix side. However, I don’t like this solution and rather have Asterisk supply proper sender value if possible…