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.

exim freeze mails from cpanel user

Discussion in 'E-mail Discussions' started by postcd, Sep 6, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    Hello, how to freeze all queued mails from cpanel user "hfsbuikw" ? or delete them directly
    (from whm or from command line easilly)

    i already know how to freeze mails from some sender:
    Code:
    exiqgrep -i -f luser@example.tld | xargs exim -Mf
    but the sender&recipient is random, so its not solution. mail number is too high to go thru the queue in whm
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You would have to modify the following aspect of your command so that it searches for the entire domain name instead of a single email address:

    Code:
    exiqgrep -i -f user@example.tld
    Or, search the domain name in "WHM Home » Email » Mail Queue Manager" and use the "Delete All" button.

    Thank you.
     
Loading...

Share This Page