1) Who is having large number of emails and if it is a spam or a genuine email
2) Who is having large number of emails
Code:
exim -bp
exim -bp | exiqsumm
How do you check for the queued emails of a particular domain only
Code:
exiqgrep -f [luser]@domain
a) then see any message id contents and check if its a spam
Code:
exim -Mvb messageid
b)check header
Code:
exim -Mvh messageid
c)then check if the email id of the customer exists.
d) If it is a genuine account and still spams coming in check for catchall
Code:
vi /etc/valiases/domain.com
if catchall is set, remove it