Yosemite, Mail, Exchange and X509 signed e-mails

Dear all,
after upgrading to Yosemite Mail is not showing the signing status of X509 signed mails retrevied form an exchange server.  Retrieving the same mail from an open source (dovecot) IMAP-server shows the signing status correctly (by displaying "Security: Signed" in the Header). (the e-mail was forwarded for the dovecot/postfix-system to an exchange server while retaining a copy in the system).
From what I see, there seems to be a bug in header parsing since the difference ist that in the IMAP case the end of the header looks:
Content-Type: multipart/signed;
  boundary="Apple-Mail=_7F1DCB8E-E95C-489C-9DC1-EE49EFF08CA7";
  protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
whereas in the exchange/MAPI-Case the header ends with:
Content-Type: multipart/signed;
  boundary="Apple-Mail=_7F1DCB8E-E95C-489C-9DC1-EE49EFF08CA7";
  protocol="application/pkcs7-signature"; micalg=sha1
Return-Path: [email protected]
X-MS-Exchange-Organization-AuthSource: EXCHANGE.DOMAIN.NN
X-MS-Exchange-Organization-AuthAs: Anonymous
MIME-Version: 1.0
The additional header lines added by the Exchange server seem to break the header parsing (although from the RFCs it shouldn't).
Maybe someone from Apple can comment on this.
Best regards,
Damian

Dear all,
after upgrading to Yosemite Mail is not showing the signing status of X509 signed mails retrevied form an exchange server.  Retrieving the same mail from an open source (dovecot) IMAP-server shows the signing status correctly (by displaying "Security: Signed" in the Header). (the e-mail was forwarded for the dovecot/postfix-system to an exchange server while retaining a copy in the system).
From what I see, there seems to be a bug in header parsing since the difference ist that in the IMAP case the end of the header looks:
Content-Type: multipart/signed;
  boundary="Apple-Mail=_7F1DCB8E-E95C-489C-9DC1-EE49EFF08CA7";
  protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
whereas in the exchange/MAPI-Case the header ends with:
Content-Type: multipart/signed;
  boundary="Apple-Mail=_7F1DCB8E-E95C-489C-9DC1-EE49EFF08CA7";
  protocol="application/pkcs7-signature"; micalg=sha1
Return-Path: [email protected]
X-MS-Exchange-Organization-AuthSource: EXCHANGE.DOMAIN.NN
X-MS-Exchange-Organization-AuthAs: Anonymous
MIME-Version: 1.0
The additional header lines added by the Exchange server seem to break the header parsing (although from the RFCs it shouldn't).
Maybe someone from Apple can comment on this.
Best regards,
Damian

Similar Messages

  • Restoring mail messages and attachments from Library Mail folder

    Can someone please tell me the best way to do the following...
    I have recently performed an erase and install of Snow Leopard.
    I need to restore my old mail and I have the following data...
    A copy of the "Mail" folder from the "Library" folder, up-to-date as of yesterday (19/9/09). I omitted to take a copy of the "Mail Downloads" folder which I believe contains the attachments for the messages.
    An older copy of the "Mail Downloads" folder, up-to-date as of 31/5/09.
    I was advised by one person at Apple Care that the Mail Folder was all I needed to back-up all my mail. Then the next advisor told me I should have taken a copy of the Mail Downloads folder as well. Another advisor suggested I exported all the mailboxes manually one by one which I now wish I had done.
    In any case, I am where I am and I would like to know what to do with the data I have to be able to access my past mail messages.

    Robert,
    If you were to need to do this again, all you need is to restore the Mail folder and the com.apple.mail.plist file (Home/Library/Preferences). If you restore those -- replacing any that might get created, but would not if you don't first launch Mail -- then Import is not necessary and it picks up where it left off.
    The Mail Downloads folder is not needed -- its contents are redundant to what is kept with the messages.
    Ernie

  • Viewing mail box and number of unread mails for each user

    i need to know if there is a ready made portlet to get the number of unread messages from my mail box, and if there is no such portlet , what is the best way to do it and where to start
    thank you for your time...

    There is a set of portlets for Microsoft Exchange that will be published via the PDK shortly. The set contains a portlet for email, contacts, and schedules.

  • Mail & Exchange (imap) & Blackberry Server,sent mail not visisble on mobile

    I have setup my email account using mail and a Microsoft Exchange server 2000.
    I use imap to access the Mailboxes (inbox, trash, drafts, sent mail is stored on the server)
    On the Exchange server a BES is running and synchronises my Mail to my mobile Device.
    Now, when I write a Mail using outlook on my PC, every Mail I sent, also appears on the mobile device - as expected.
    The same is not true when I write a Mail using Apple Mail.
    Even, if The mail is appearing in the send items folder on the Exchange Server, for some reason the BES server does not pick it up.
    Does anyone know a tweak for mail to make this work ?

    Something is wrong with the Mail app the last week and half or so.  Messages are disappearing, not getting synched, don't stay in the saved folders they are moved to, jump back at later dates (even days later) to the original inboxes, etc.  Very unstable and unreliable.  It was working better for a few months before this latest update, but is an absolutely messy nightmare right now. Changes made in Apple Mail are not getting reflected in other mail apps or on the external mail servers in a reliable, usefull manner.  Some do, some don't.   Use another mail app until Apple gets this fixed.

  • Even after the Mavericks Mac Mail update and showing my "All Mail" folder, Mail.app is still acting weird and slow.  Any further suggestions?

    Even with the recent Mac Mail Mavericks update and showing my "All Mail" Gmail folder, Mail.app is still acting funky and slow.  Any further suggestions for getting Mail.app back to it's pre-Mavericks state?

    Your description of the problem is rather vague, but I'll take a guess at what you mean.
    Quit Mail if it's running. Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    sqlite3 L*/C*/*.mail/*/L*/*/*/C*.db vacuum; sqlite3 L*/M*/*/*/E*ex vacuum
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    You should see a new line ending in a dollar sign (“$”) appear below what you entered. If not, press return. You can then quit Terminal and relaunch Mail. Test.
    Note: This procedure will have no effect unless you quit Mail when you begin.

  • How can I reinstall my mail accounts and get all my mails back?

    My internal HD died a few days ago . Fortunately I did a Time Machine backup a couple of hours before it happened .
    Now my MacBook Pro is back from the repair center, with a brand new HD and Mac OS 10.6.8 installed (the system I had) .
    But how can I get all my mails back? Indeed I used Mail to manage many mail accounts, and some of the inboxes or local mailboxes contain messages that are a few months if not years old. I coud reconfigure my accounts, but then I only get the mails of the last few weeks downloaded (those that were not erased from the pop3-server). Is there a possibility to get all the mails (including outbox) as it was before the crash?
    By the way, I'm also still looking for my address book and my iCal calendars !!
    Thanks for help.

    I have a MacBook Air, bought in 2010 or 2011.  It is running OS 10.6.8.
    I have an iMac that is the same age as my MacBook Air.  My iPhone is 2nd or 3rd generation.
    None can support "the Cloud".  I use gmail and my iPhone and both computers are all synced.
    I can't get email on my new iPad that does use "The Cloud".
    Please help.

  • Changed password for e-mail account and cannot send e-mails

    Went into setting, "mail, contacts and calendar" under my e-mail account I changed the password, but now I can't send any e-mails out.  Checked with comcast and all the settings are correct.  What is the problem?

    If your email provider requires the password for sending emails then as well as changing it on the account when you tap on it in Settings > Mail, Contacts, Calendars, you may also need to tap on SMTP (under the 'outgoing mail server' heading) on that popup screen and then tap on the outgoing server name on the next screen and update the password there as well.

  • Does turning off push in Mail, Calendar and Contacts affect only mail or all apps as well?

    Hey guys. I'm trying to save some battery in my iPhone here. So, when you turn off push in Mail, Calendar and Contacts, does it turn it off for mail only or for all apps? Thanks!

    I keep push for everything off. Just don't need/want "instant gratification" .

  • Help with mail users and setup 10.6 mail server bound to 10.8 Open Directory

    We have a 10.7 Open Directory server which was upgraded from 10.6.  We have had some Open Directory issues since the upgrade.  I am manually creating a 10.8 server as a replacement for the 10.7 server.  All settings for services are running as expected and we are ready to turn over to the new server except for a problem with the ability to receive email.
    Setup in both the original and the replacement has the OD server with DNS running with a correct MX record pointing to our 10.6 mail server.
    In the replacement OD server the mail users were created as network users, with no userhome, with access to the mail service, and email addresses given. 
    The mail server was unbound from the original OD server, bound to the replacement OD server without SSL exactly as with the original, and restarted.
    Initially the mail service said that mail clients had the wrong name or password.  Opened WGM 10.6 on the MAIL server and checked the OD records.  They showed the mail users not having the checkbox saying they were set up to receive mail selected.  Selected the checkbox to receive mail.
    Now the mail client seems to connect to the server correctly but does not show the emails in the system for the users.  It is as though there is no email and the account is brand new.
    Unbind the mail server from the replacement OD server, rebind it to the original OD server, and restart.
    Mail clients connect and receive the mail in the accounts as expected.
    Any ideas?
    Thanks

    I figured out what the mail server is doing.  It has created new email stores for each of the new users.  If we bind to the original OD it uses the original set of email stores.  If we bind to the replacement OD it uses the new set of email stores.
    I have tried to make sure that the userIDs match in each OD but that did not help.
    The server is working for each OD.  Does anyone know if I can tell the 10.6 mail server to use the old emails in the mailstore for the new user in the new OD?
    If nothing else I can solve the problem by archiving the emails and copying them into the new user when running the new OD.

  • Exchange Mail Footer and Disclaimer when sending mail from iPhone

    Hi All,
    We have a corporate mail footer configured in our Exchange server. It is designed in html and including images. It works fine when i send mail from Outlook or OWA but when i send an email from my iOS devices, our corporate mail footer is shown as plain text in recipient's mailbox.
    Briefly, i send email from outlook to you and you see my email and footer message normal. But when i send email from iphone to you, you see my footer as plain text so you can't see our images.
    I don't know if it has a solution or not but i think i can find anyone encountered this problem before.
    Thanks

    I, too, was having the same problem of blacking out and returning to home each time I sent an email with Edge. I put the phone to sleep, did a hard reset and re-added my account several times. Each time I came back to mail the message was waiting to be sent again. I finally checked my sent mail and it showed up as being sent 22 times. Apparently you should check the sent folder to make sure if it went through or not before trying again.

  • E71 - Mail Exchange and Factory Reset

    Hi all,
    I recently bought a used E71 that was already set up to receive email from the original owner. I cannot figure out how to sever the connection and I keep getting charged for all of his emails. I tried doing a factory reset but keep getting the error "Close all active calls and connections first" but I cant figure it out. Help, please!

    No worries. Fixed the problem by putting the phone in offline mode.
    Thanks anyways!

  • TS3899 I changed my yahoo e-mail password and now cannot get mail on my iPhone.

    I went to settings and changed my password there but it won't save it.  Help!

    Delete account.
    Restart your iPhone.
    Add the account. (Settings>Mail, Contacts, Calendars>Add Account>Yahoo

  • Crashing Mail app and problems getting AOL mail

    I've been struggling with 2 problems for a while now.  First, MAIL just unexpectedly crashes and this is usually not while I'm actively using it.  I'll come back to my MAC and see that mail has crashed and have to restart it.
    Secondly, and more importantly, I seem to be receiving mail in my inbox inconsistently from my AOL email address.  I have new AOL mail in my inbox but if I take my accounts offline and then immediately back online, and then search for new mail, I find a bunch of AOL mail that wasn't in my inbox before.  Some of this can be from previous days.  Older mail not just new mail that hasn't been received yet.  Also, occasionally I will read an AOL message, will NOT delete it, and it will disappear from my inbox.  If I follow the procedure above, the mail will sometimes reappear in my inbox as previously read mail.
    Any ideas would be appreciated.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Step 1
    Enter the name of the crashed process in the Filter text field. Post the messages from the time of the last crash, if any – the text, please, not a screenshot.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent one and post the contents – again, not a screenshot. For privacy’s sake, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)

  • TS1307 cannot recognize mail password and will not send mail..iphone and web work mail no problem

    mail will not send and continuously asks for password and rejects last documented password change. I cannot send mail only receive it on the MacBookPro BUT...I can get web mail and use send on iphone...mail cannot be recieved on iphone now.
    help thankss

    Use the Apple Mail Connection Doctor (Apple Mail's Window menu > Connection Doctor) as a first step.
    Also recognize that Apple Mail tends to (also) toss out the same password error dialog for errors other than password errors.  This means that network errors and network configuration can be reported as password errors.  (And folks that receive the password errors can then reasonably try different passwords, which means that the wrong password can (also) then get recorded in Keychain.)

  • Google mail outage and Snow Leopard's mail/address book bugs. Coincidence?

    I'm going out on a limb here, but it just occurred to me, reading through all the problems people are having with Snow Leopard's upgrade to Mail and Address book AND the Gmail outages last week. Many of us had our preferences set to sync with Google (and Yahoo, although Yahoo doesn't seem to be a problem . . . yet). I know that when I did my first sync after the upgrade, all **** broke loose in my Address book, with double and triple entries, inability to update entries, address book in Mail is different than the Address Book application, proper. Etc, etc.
    And all of my problems were duplicated in Google's address book. I deleted the link between the two, and reinstalled Mail and Address book applications from the Snow Leopard install disk. That stopped the sync problems (screwed up my .Mac, royal, the first time. Fortunately I had a good archive and back up. But Time machine was useless in this case.) But, Address book and Mail are still very buggy.
    Any way . . . I'm wondering if the problems at Google, considering the coincidence of time line, might have something to do with this upgrade and the number of Apple users attempting to upgrade and sync.
    Just a thought. Probably no connection.
    Thanks, I hope Apple gets this fixed soon. It's very frustrating.

    I'm wondering if the problems at Google, considering the coincidence of time line, might have something to do with this upgrade and the number of Apple users attempting to upgrade and sync.
    Not according to this:
    http://gmailblog.blogspot.com/2009/09/more-on-todays-gmail-issue.html
    Matt

Maybe you are looking for