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!

Delete Locked emails?

Discussion in 'E-mail Discussion' started by mehrdad abed, May 19, 2008.

  1. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    166
    Hi,

    I just tried to delete an email (with lots of recipients ) using this command :

    exim -Mrm 1Jy8Xh-0007Yp-5X

    But I got this error:

    Message 1Jy8Xh-0007Yp-5X is locked

    How could I remove these locked emails without restarting the exim ?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    I think Exim will automatically remove the lock after 1 to 2 hour.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    Locking a specific file by a server is done when the file is being processed/used by some process. Here exim is processing that specific locked file, hence it can't be directly deleted. You can kill that specific process & then delete the file later on. to find out which process is using that file execute these commands :

    You can kill that PID using the kill command:
    Later on execute the desired command:
    You'd be good to go... :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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