Results 1 to 2 of 2

Thread: How to delete only emails to domain @domain.net from mail queue ?

  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    144
    cPanel/WHM Access Level

    Website Owner

    Default How to delete only emails to domain @domain.net from mail queue ?

    How to delete only emails to domain @domain.net from mail queue ? Mean to delete emails with filter not all queue ?




    Thanks.
    QHoster.com - Unlimited-Domain Web Hosting | Shared & Reseller with cPanel

  2. #2
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Hi,

    I think you need to try the below command:


    exiqgrep -ir "@domaintodelete.com" | xargs -n1 exim -Mrm
    and, if you are not satisfy try to seach in this forum chrispy and other guys has posted wonderful workaround of it.


    thanks,
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

Similar Threads

  1. Mail Queue Manager per Domain/User
    By muliahosting in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 04-08-2008, 11:20 PM
  2. Replies: 2
    Last Post: 08-15-2007, 06:00 AM
  3. how to delete the mail in queue for perticular domain.
    By ngchandak in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 07-04-2005, 12:30 PM
  4. All emails to one particular domain get stuck in queue
    By andyl in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-16-2004, 01:09 PM
  5. Deliver only messages to a specific domain in Mail queue
    By NetX in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-07-2004, 10:53 AM