Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How many rejected mails for a domain is excessive

Discussion in 'E-mail Discussion' started by santrix, Nov 19, 2009.

  1. santrix

    santrix Well-Known Member

    Nov 30, 2008
    Likes Received:
    Trophy Points:
    As part of my learning curve I devised what I thought was a cunning bit of shellery to keep an eye on the impact that my customers are having on one of my VPSs.

    grep -Eo "rejected RCPT <.*@.*>" /var/log/exim_mainlog | awk '{print $3}' | grep -Eo "@[^>]*" | sort | uniq -c | awk '{printf "%04d %s\n",$1,$2}' | sort
    Firstly, if anyone sees a more elegant way to arriving at the same sort of output as this, please let me know.

    Secondly... It would appear some of my customers are generating over 1100 rejected messages a day.

    I have no point of reference to decide if this is excessive... the VPS is only averaging .3 load factor (accounting for processors), so is not over stretched yet, but I want to make sure I get value for money from this box without it being hogged by one of two troublesome domains.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice