Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Feb 2014
    Location
    delhi
    Posts
    448

    How to remove all frozen emails from the mail queue?

    Hi folks,

    I am here for some advice, please let me know, How to remove all frozen emails from the mail queue?

  2. #2
    Registered User
    Join Date
    Jun 2016
    Location
    Mumbai
    Posts
    513
    We know the Exim command to remove emails from mail queue, “exim -Mrm” then followed by the . Remove all frozen emails from mail queue

  3. #3
    Registered User
    Join Date
    May 2016
    Posts
    139
    The exiqgrep command with ‘-i’ switch list the message ID from mail queue, then remove the mail by using the mail ID.

    Method III:

    exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash

  4. #4
    Senior Member
    Join Date
    Nov 2014
    Location
    India
    Posts
    112
    I agree with above post it will work

  5. #5
    Registered User prithost.com's Avatar
    Join Date
    Mar 2017
    Posts
    2

    How to remove all frozen emails from the mail queue?

    Here we goes! You can remove the frozen mails by executing different combinations of Exim commands.

    Method I : By using ‘exim -bp’ command

    # exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm
    Method II : By using ‘exiqgrep’ command

    # exiqgrep -zi|xargs exim -Mrm
    Cool 🙂

  6. #6
    Registered User
    Join Date
    Apr 2017
    Posts
    2
    Here we goes! You can remove the frozen mails by executing different combinations of Exim commands.

    Method I : By using ‘exim -bp’ command

    # exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm
    Method II : By using ‘exiqgrep’ command

    # exiqgrep -zi|xargs exim -Mrm
    Cool

  7. #7
    Registered User
    Join Date
    Apr 2017
    Location
    Hamburg
    Posts
    753
    Good to know if we come across an Exim mailserver :mrgreen:

    WRONG forum dude! Here we point and click... Like hitting beavers with a hammer :wink:

  8. #8
    Registered User
    Join Date
    Apr 2017
    Posts
    7
    Here we go !You can remove the frozen mails by executing different combinations of Exim commands.

    Method I : By using ‘exim -bp’ command

    # exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm
    Method II : By using ‘exiqgrep’ command

    # exiqgrep -zi|xargs exim -Mrm

    I hope this helped you.

  9. #9
    Registered User
    Join Date
    Mar 2016
    Location
    Essex
    Posts
    26
    Hello everyone,

    I have no idea about it so please suggest me..

  10. #10
    Registered User 24x7servermanag's Avatar
    Join Date
    Jul 2017
    Location
    India
    Posts
    213
    Here is the command for you -

    exim -bp | grep "frozen"| awk '{system ("exim -Mrm "$3)}'
    Explanation -

    i. exim -bp - It will provide the count of mails in mail queue on server.
    ii. grep "frozen"- It will list only frozen emails from mail queue on server

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.