The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I delete these mass mails?

Discussion in 'E-mail Discussions' started by furquan, Jul 19, 2017.

Tags:
  1. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    461
    Likes Received:
    3
    Trophy Points:
    168
    Hello Everybody,

    When i run this command to check SPAM originating from my sever using mailing script's:-

    grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F"cwd=" '{print $2}' | awk '{print $1}' | sort | uniq -c | sort -n


    I see mails mentined like this :-

    1110 /etc/csf
    1140 /
    5490 /root



    Can somebody tell me, how do i delete those mails mentioned for ROOT CSF and /

    Thank you
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The command you used is showing message deliveries as referenced in /var/log/exim_mainlog. This is not an indicator that the messages exist in your mail queue. You can browse to "WHM Home » Email » Mail Queue Manager" to view and search emails in your actual queue.

    As far as the source of outgoing SPAM, the "/etc/csf" entries likely correspond to notification emails sent out by your CSF application, and the "/" emails likely correspond to cPanel & WHM notification emails. If you'd like to search for sources of SPAM, try some of the commands referenced on these threads:

    Need to catch the Spamming Source
    Locate spam activity

    Thank you.
     
Loading...

Share This Page