[asterisk-bugs] [JIRA] (ASTERISK-27199) Voicemail emails ignoring "serveremail" setting

Sean Bright (JIRA) noreply at issues.asterisk.org
Thu Aug 31 08:23:08 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright closed ASTERISK-27199.
----------------------------------

    Resolution: Not A Bug

[~teleute], based on the information you provided, this is not a bug in Asterisk. There are two settings in {{voicemail.conf}} that affect the {{From}} header of a generated e-mail: {{serveremail}} and {{fromstring}}. From the examples you provided, Asterisk is generating the {{From}} header as expected, using the {{serveremail}} value that you supplied.

These settings *do not* affect any SMTP authentication. That is left up to your sendmail configuration. So you will need to fix/edit your local sendmail configuration to authenticate against Office 365 using the correct principal. I don't know what FreePBX provides as a sendmail implementation, but that is out of scope for the Asterisk project.

If you feel this issue was closed in error, feel free to re-open.

> Voicemail emails ignoring "serveremail" setting
> -----------------------------------------------
>
>                 Key: ASTERISK-27199
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27199
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 13.16.0
>         Environment: FreePBX 13.0.192.9 bundled distro
>            Reporter: Allison Walters
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: voicemail.Yr1VXT
>
>
>  (Note: this was originally reported as a bug to FreePBX - they verified that they're setting the config properly for the underlying asterisk system, and so suggested it be reported here instead.  I've included that bug report in the external issue ID field on this report.)
> I have entered the email address I want to use for voicemail sending (voicemail@<ourdomain>) into the SMTP authentication settings (not sure exactly where this lies in the asterisk settings), and into the voicemail/email settings.  I've verified that this address is then put into the voicemail.conf file as the serveremail setting.  However, this fails, and in the maillog I can see that the email is sending from "asterisk@<ourdomain>", which of course doesn't match the authentication info I've put in, so O365 rejects it.  If I create asterisk@ in our O365, and use that info everywhere, it all works fine, but it seems to ignore the serveremail setting when I'm telling it to send from a different address.
> I've tried both voicemail@<ourdomain> and just voicemail as the setting, and again can see that they're getting successfully written to the voicemail.conf file; they're just not getting used when the email is composed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list