Skip to main content

Comments

4 comments

  • 24x7ss
    Hi :), You may need to manually create a command like below, which will show the email addresses in queue as per their count: exim -bpr | grep "<*@*>" | awk '{print $4}'|grep -v "<>" | sort | uniq -c | sort -n
    0
  • cPanelMichael
    Hello :) There's no native support for an output of the data you are looking for, but you can try using a custom command as referenced in the previous response. Thank you.
    0
  • Millionade
    Hi :), You may need to manually create a command like below, which will show the email addresses in queue as per their count: exim -bpr | grep "<*@*>" | awk '{print $4}'|grep -v "<>" | sort | uniq -c | sort -n

    Hi, Thank you for writing this, really appreciate it, I can use the pipe filter here on some of the eximstat logs :-) But this is just for what is in the queue, is it possible to do the same but for a logfile with eximstat? Also, my top sender is still a domain email account, rather than actual email account (I am very clearly not well versed in these matters!). For example, top sender is ROOT_USERNAME@DOMAIN.COM, instead of BOB@DOMAIN.COM or KELLY@DOMAIN.COM. Thanks again!
    0
  • cPanelMichael
    For example, top sender is ROOT_USERNAME@DOMAIN.COM[/EMAIL], instead of BOB@DOMAIN.COM[/EMAIL] or KELLY@DOMAIN.COM[/EMAIL].

    This can indicate messages are coming from a PHP script. The following command will let you know which directories are sending out email through scripts:
    awk '/cwd=\/home\// {print $3}' /var/log/exim_mainlog|sort|uniq -c|sort -n
    Thank you.
    0

Please sign in to leave a comment.