Extract senders and receivers email addresses from my server
Hi,
Is it possible to extract any email address used in my VPS server, senders and recipients ?
This way maybe I can create a list of emails to use for my marketing campaigns created with Mailchimp.
Thanks :)
-
This will be a must tool! up ! 0 -
This will be a must tool! up !
There must be a command to query and extract addresses from logs0 -
Hi, Is it possible to extract any email address used in my VPS server, senders and recipients ? This way maybe I can create a list of emails to use for my marketing campaigns created with Mailchimp. Thanks :)
You would most likely want to query the exim logs for this data I used the following successfully:grep -i -o '[A-Z0-9._%+-]\+@[A-Z0-9.-]\+\.[A-Z]\{2,4\}' /var/log/exim_mainlog
0 -
Thank you for the query. But I think the command extracted only the outgoing emails, because almost all emails belong to users on my server. is there a way extract global addresses ? incoming is more important. Thanks :) 0 -
Hello @psytanium This is definitely pulling incoming and outgoing mail I confirmed this on my own server by pulling a few of the addresses I didn't recognize out and searching through the exim logs for them. 0 -
Hello! How would the line look to see all the recipients from a specific sender?
Thanks!
0
Please sign in to leave a comment.
Comments
6 comments