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!

Mails delete

Discussion in 'E-mail Discussion' started by SACHIN, Dec 13, 2004.


    SACHIN Guest

    Hello all...

    HOw can i delete mail from mail with certain parameter..

    we are receiving some spam mail with same domain name but differnt user name
    for example

    question is that
    how i can find and delete mails at one time for one perticuler domain name?

    waiting for reply...

  2. haze

    haze Well-Known Member

    Dec 21, 2001
    Likes Received:
    Trophy Points:
    As taken from the exim docs:
    exim -Mrm <message id> <message id>

    Of course this is probably a little much.. if you've got a whole slew of messages to get rid of.

    Might just be best to first set up a filter to deny / reject messages from that domain, then clear the mail queue if possible.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

    SACHIN Guest

    not solved


    grep -lr /var/spool/exim/input/* |xargs rm -rf

    i got it
    thank you.

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