Quickly and easily finding the source of emails in Exim Print

  • 1

Ever found yourself in the position where there are hundreds, or perhaps, thousands of emails sitting in your Exim queue? Fortunately, there's a quick and easy way to find where they're originating from! 

awk '$3 ~ /^cwd/{print $3}' /var/log/exim_mainlog | sort | uniq -c | sed "s|^ *||g" | sort -nr

The above command will provide an output such as the below:

240 cwd=/var/spool/exim
20 cwd=/home/user
7 cwd=/home/user2


Was this answer helpful?

« Back


Ethernet Servers Ltd
124 City Road
London
EC1V 2NX
United Kingdom


Registered Limited Company: #09114946

Telephone:
+44 330 043 1258

Email:
hello@ethernetservers.com

Copyright © 2014 - 2024 - Ethernet Servers Ltd - All Rights Reserved.

Proudly serving customers in 143 countries since July 2014!