Search email with information in detailed headers

Status
Not open for further replies.

ian.spencer

Member
Outlook version
Outlook 2010 64 bit
Email Account
IMAP
I have a lot of email accounts for family and friends I am trying to tidy up, email in hotmail, gmail outlook etc. I have email going back to 1994 and a lot of it. I want to be able to search the headers so I can sort email first by getting the original address the email was sent to. I am currently downloading using IMAP some Gmail accounts that have had a lot of email addresses forwarded to them.

I have been able to identify one line in the header that is clear who the original email recipient was.

X-ORIG-TO:ian@myemail***.com

I have downloaded using IMAP into Outlook 2010 and there seems no way to search or filter either. I saw the odd process where people were writing code to examine headers with linux mail servers but I need something fairly easy to use. Preferably using outlook with an add-in or something I can do without extensive programming knowledge. Maybe using IMAP and other email software or online service this is possible, any suggestions very gratefully accepted. I have have spent about 4 hours trying to work this out without luck or skill ;-)

Thanks
 
Have you seen the method here: http://www.slipstick.com/exchange/adding-extended-mapi-fields-to-outlook/ ? I don't think you can group by it but you might be able to sort by it.

If you want to do something with words in the header, create a rule and use run now. You can more to folders or categorize by sender (then group by sender) this way. You'll need a rule for each address though. My suggestion is to export your current rules then create the ones to set categories on the mail archives.

Also, if you have mail in an imap account, this won't work as well as the category may be lost when you sync to the server.

If you want to keep the mail forever, i'd export to a universal format, like pdf or html. Acrobat can export to nice, searchable pdf's and they have a free trial available. There are also some archive utilities for outlook that can export to HTML. See http://www.slipstick.com/addins/housekeeping-and-message-management-outlook/ for a list.

Another option is putting everything into GMail - they offer huge free mailboxes and are very searchable. You could label mail by sender, but i tend just to archive everything to keep my inbox clean then use search to find stuff.
 
Thank you for you quick response catherized

I Read the Slipstick page but I was not able to understand it.

I Looked at the software and saving emails to PDF sounds good but I still need to sort the emails by the to address, pity Gmail does not allow full header search. I think I want all my email on Gmail for easy searching.

I see the software applications but am unsure which one would do what I want with full headers.

I am moving people over to Google Apps for Gmail mostly and need to get peoples email accounts that have had multiple email addresses forwarded to them. This is why I am trying to search / filter by the X-ORIG-TO:ian@myemail***.co from the headers.

Once done Gmail will be much easier to work with and rather than forwarding I am adding multiple alias domains and that seems to work really well.
 
The users don't know what addresses they have? :) Also, if the accounts are defunct, it won't matter - you won't need to configure them in gmail because they aren't accepting mail. Gmail will reply using the gmail address.




Create a rule for header contains X-ORIG-TO and copy the messages to a new folder and use Run Rules Now. This will give you all the messages with that text in the header. You'll still need to go through each message, one by one to check the addresses. Pocketknife peek will make it easier to view the headers... http://www.xintercept.com/peek/pkpeek.htm




If you know the addresses, make rules for the specifc address and use Run Now. Use either categories or separate folders for each address.




My lazy suggestion: move the accounts you know exist and have them keep using the old accounts for now. Check the headers of mail still going to the old mailbox. If mail is being forwarded, they need to check it on the forwarding service. If they are using a feature that pops mail from other servers, you can get that from their account settings.




FWIW, i'd also consider dumping the really old mail -its just taking up space and I'll bet its never read. (I have mail going back to 2004 in my gmail account and its only there because I'm too lazy to delete. I'm trying to be better about labeling mail i need to keep - like receipts - and deleting the stuff that is useless after time has passed. If i ever leave gmail, I will not keep anything older than 5 yrs.)
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Search folder and move the email Outlook VBA and Custom Forms 0
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
B Search and Find Email by Folder Name Outlook VBA and Custom Forms 2
J How do you disable address search box when typing @ in body of email? Using Outlook 0
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2
H Search Email Header for Content Type Outlook VBA and Custom Forms 1
T How can you include Junk Email in Search Results like you can include Deleted Items? Using Outlook 3
A Outlook 2019 having issues with 'people search' and not making suggestions in email To: etc Using Outlook 12
W Create Search Folder excluding Specific Email Addresses Using Outlook 5
M possible to search Outlook for multiple email addresses at once? Using Outlook 1
M email search not working Using Outlook 1
skyfox VBA to search email subject field for a certain string Outlook VBA and Custom Forms 3
I Locating an email after search - Field Chooser Using Outlook 2
Les Email address search Using Outlook 1
J Search shows an email is in my Inbox but I can't see it there. Using Outlook 0
S O2010: Search for email using folderpath Using Outlook 2
O Inbox Search Results won't update when deleting or moving an email Using Outlook 12
T How do I search email attachments Outlook VBA and Custom Forms 2
M Search message, then (1) Jump to folder & (2) Select message that you searched for Outlook VBA and Custom Forms 6
G Search Folders and Jump to Folder Outlook VBA and Custom Forms 2
A 'search people' now asks me to 'press enter' Using Outlook 11
A Relocate Search Bar in Outlook Using Outlook 2
C Advanced search terms for "Outlook Data File" Using Outlook 1
T How to find or display the sub-folder name for an Archive Search Using Outlook 10
P Search folder: all emails sent to or from a domain Using Outlook 1
T Outlook365 search item listed as "potential matches" can't be opened Using Outlook 0
Victor_50 Outlook 2019 Jump to folder from search folder Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro GoTo user defined search folder Outlook VBA and Custom Forms 6
J Outlook search bar in Office 2021 Professional Using Outlook 1
T Outlook 365 Search Box reverting to old location Using Outlook 2
P Outlook 2013 search no longer works Using Outlook 2
C How to search for items in Outbox with multiple accounts? Using Outlook 20
J search doesn't find anything Using Outlook 1
kkqq1122 How would I add Search for attachment name Outlook VBA and Custom Forms 3
A Any way to force sort by/group by on search results with VBA? Outlook VBA and Custom Forms 1
C Search not accurate, but not indexing Using Outlook 9
H Outlook 2019 intermittent search results Using Outlook 0
D Advanced e-Mail search on from/to contact group only searches for first 20 contacts in group Using Outlook 0
mll persistently customise columns in outlook advanced search Using Outlook 3
S vba outlook search string with special characters Outlook VBA and Custom Forms 1
S VBA search string with special characters Outlook VBA and Custom Forms 1
P Posts in Folder No Longer Group by Conversation Column After Search Using Outlook 0
O Advanced search - can I use booleans Using Outlook 3
Y Filter unread emails in a search folder vba help Outlook VBA and Custom Forms 0
M Reverting The Outlook Search Box Location (or other undesired additions) Using Outlook 1
M Something went wrong and your search couldn't be completed Using Outlook 1
M Disable Contact Card Results when using "Search People" in Outlook Ribbon Using Outlook 7
J outlook 2007 doesn't let me choose which .pst to search Using Outlook 2
P outlook 2008 search box criteria couldn't be saved Using Outlook 2

Similar threads

Back
Top