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.

Delete Locked emails?

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

  1. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    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:
    38
    I think Exim will automatically remove the lock after 1 to 2 hour.
     
  3. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    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... :)
     
Loading...

Share This Page