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
 

Cathy Rhone

Senior Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server 2010
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.
 

ian.spencer

Member
Outlook version
Outlook 2010 64 bit
Email Account
IMAP
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.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
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
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
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
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
L New Location for the Search Bar Using Outlook 6
J Outlook 2016 After a search in all mailboxes, where is each message that was found? Using Outlook 6
King Mustard Sort search groups by amount of items? Using Outlook 1
V Outlook 2016 will not move emails in search results Using Outlook 4
T Search for incoming e-mails for a specified time range Using Outlook 1
S outlook 2007 calendar search Using Outlook 6
M Outlook macro to automate search and forward process Outlook VBA and Custom Forms 6
J Message search and edit, another way? Outlook VBA and Custom Forms 4
S Create A Search Folder That Looks For Message Class? Outlook VBA and Custom Forms 0
R Outlook for Mac - Advanced Search and Tracking Sent Emails Using Outlook 0
R Search/Jump to a folder by typing its name Outlook VBA and Custom Forms 1
M Sent mail not showing in Sent Items folder; but they can be found with Search Using Outlook 3
W Search Incomplete Outlook 2016 Using Outlook 5
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 4
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 0
A Using or not using apostrophes in search terms has this changed? Using Outlook 0
R outlook address book search broken Using Outlook 2
K Outlook.com is not showing, or finding via search, all my Contacts (People) Using Outlook 0
R What's supposed to appear when just clicking into the search field? Using Outlook 7
A Outlook macro to create search folder with mail categories as criteria Outlook VBA and Custom Forms 3
B Instant search with special characters Using Outlook 1
A Search folder refresh Outlook VBA and Custom Forms 3
B Advanced Search in MS Outlook by VBA and SQL Outlook VBA and Custom Forms 2
F Search folder for tasks in all task folders Using Outlook 1
W Outlook 2016 search problem persists after applying all known solutions Using Outlook 12
B Looking to filter (or just find/search) for only messages that the sender has sent more than 1 messa Using Outlook 2
B Search: Cannot find which Folder Contains a Message Using Outlook 3

Similar threads

Top