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.

Deleting messages from EXIM queue.

Discussion in 'General Discussion' started by eter4, Mar 30, 2003.

  1. eter4

    eter4 Well-Known Member

    Joined:
    Feb 16, 2002
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I have messages in the Queue that are over 11 days old and the queue has grown to over 1000 messages.

    Is there any way to delete certain messages from there.

    Or change the number of days they remain in the Queue before they are disgarded??
     
  2. xerophyte

    xerophyte Well-Known Member

    Joined:
    Mar 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    exim -Mrm


    -Mg and -Mrm both cause messages to be abandoned. The difference between them is that -Mg (g stands for "give up") fails each address with the error "delivery cancelled by administrator" and generates a bounce message to the sender, whereas -Mrm just removes messages from the spool without sending bounces.

    If a delivery process is already working on a message, none of these options has any effect and an error message is output. Actions other than -M are logged in the main log, along with the identity of the admin user who requested them.

    Hope this helps,
     
Loading...

Share This Page