Skip to main content
May 6, 2009
Question

Mail stuck in mail spool queue; 0-byte mail files

  • May 6, 2009
  • 1 reply
  • 640 views

We've had several occasions lately when mail gets stuck and won't send out of the mail/spool folder. In doing some research, I note others have had this problem when a 0-byte mail item gets created and it evidently hangs up the queue. The only solution I've found is restarting CF service;deleting the 0-byte file does not help. Does anyone have another solution? But more importantly, and to which I have not found an answer: why are 0-byte mails being created; what cuases this?

    This topic has been closed for replies.

    1 reply

    Participant
    May 15, 2009

    Yes, you are correct.  It is a known CF problem with no fix that I am aware of.  It is unknown exactly what causes the 0 byte files.  It is necessary to do the following:

    - stop the cf services.

    - delete the 0 byte files (zero byte files)

    - start the services

    I created a batch file that

    - stoped the cf services

    - used a program from the Windows Resource Kit called "robocopy.exe"  With robocopy you can move files that are smaller than xx bytes to a different folder.  Then del *.* those files.

    - started the cf services

    Then used task scheduler to launch the batch file once a day in the middle of the night, so it would automatically keep itself clean.