[asterisk-bugs] [JIRA] (ASTERISK-24787) Microsoft exchange incompatibility for playing back messages stored in IMAP - play_message: No origtime

Graham Barnett (JIRA) noreply at issues.asterisk.org
Fri Feb 13 06:45:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224902#comment-224902 ] 

Graham Barnett commented on ASTERISK-24787:
-------------------------------------------

For reference on this jira I had to set this in Exchange (seperate to code fix):

Set-TransportConfig -HeaderPromotionModeSetting MayCreate

With Exchange Server 2007 SP1 RU8 we disabled promotion of custom X-Headers to named properties when mail was submitted anonymously via SMTP. Only authenticated connections would work. With Exchange Server 2007 SP1 RU9 we disabled all named property promotion on messages submitted via SMTP, however Exchange Server 2007 SP2 introduced a new feature on the global TransportConfig object called HeaderPromotionModeSetting. 

Impact
So what's the point of all this? Named properties are used for many thing, but a big impact for many is the use of named properties where POP and IMAP clients are concerned. Because Exchange Server 2007 does not keep the Mime for a message around, nor does it keep a full Mime Structure of the originally submitted messages, we will reconstruct the headers of a message when going through item (MAPI) to MIME conversion, IOW, when downloading a message via POP or IMAP. 
If the X-Header on a message has never been promoted to a named property then it will not show up when RETRieving or FETCHing the message via POP or IMAP. Because the named property table is managed on a per database basis, once a named property has been promoted into a specific database it will always be provided to the POP/IMAP client. 

> Microsoft exchange incompatibility for playing back messages stored in IMAP - play_message: No origtime
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24787
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24787
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/IMAP
>    Affects Versions: 13.2.0
>            Reporter: Graham Barnett
>
> Failed to play back messages stored in Microsoft Exchange 2007 after Exchange Server 2007 SP1 RU8 and 2010
> Two issues:
> 1. Need to reconfigure exchange:
> http://blogs.technet.com/b/stuartp/archive/2009/12/08/new-feature-in-exchange-server-2007-sp2-headerpromotionmodesettings.aspx
> 2. x attributes are lower cased.
> Fix:
> Install: Follow steps in 1
> Code fix: 
> In: get_header_by_tag
> use strcasestr not strstr for matching header attributes.
> will post patch file later



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



More information about the asterisk-bugs mailing list