Skip to main content
We are aware of an issue with a recent Apache update that causes proxied sites to return a "421 Misdirected Request" error. Please see the following article for more information and updates:
Websites show 421 Misdirected Request error while using EA Nginx

Extract senders and receivers email addresses from my server

Comments

6 comments

  • AntonioL
    This will be a must tool! up !
    0
  • psytanium
    This will be a must tool! up !

    There must be a command to query and extract addresses from logs
    0
  • cPanelLauren
    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
  • psytanium
    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
  • cPanelLauren
    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
  • Benito

    Hello! How would the line look to see all the recipients from a specific sender?

    Thanks!

    0

Please sign in to leave a comment.