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.

MailScanner not delivering emails

Discussion in 'E-mail Discussions' started by navmonkey, Nov 18, 2003.

  1. navmonkey

    navmonkey Well-Known Member

    Joined:
    Aug 19, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    I have MailScanner install for a while and working fine but that was until yesterady. All of a sudden all email send via SMTP to my email server were not deliver.

    I checked the /var/log/maillog file and noted that MailScanner did performed spam and virus check on all incoming messages but failed to deliver them.

    All message are stucked in /var/spool/exim_incoming/input waiting for delivery.

    I have tried to reinstall both exim and Mailscanner from sratch by fail to resolve the problem. Would anyone kindly give me some insights into this. Currently I have disable MailScanner but really would like to bring it back online. Many thanks.
     
    #1 navmonkey, Nov 18, 2003
    Last edited: Nov 18, 2003
  2. navmonkey

    navmonkey Well-Known Member

    Joined:
    Aug 19, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    I noticed that all the file are locked in the /var/spool/exim_incoming/input queue and the /mailscanner/incoming/ are empty. Does this mean MailScanner is unable to move those email from the exim_incoming to MailScanner/incoming for scanning?

    If so, how can I unlock these file for MailScanner.

    Thanks.
     
  3. RaveKnights

    RaveKnights Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Some Where Out There!
    You are not alone!

    I noticed the same problem only with SMTP, I thought it had some thing to do with the MailScanner config by adding more pid but still no go. Every once in a while mail hangs till I force it out.
     
  4. navmonkey

    navmonkey Well-Known Member

    Joined:
    Aug 19, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    How do you force MailScanner to scan and deliever emails?
     
  5. RaveKnights

    RaveKnights Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Some Where Out There!
    Inside WHM if it is sitting in Mail queue I click on Attemp to deliver and away it goes.
     
  6. navmonkey

    navmonkey Well-Known Member

    Joined:
    Aug 19, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    I can't do that because the mail queue in WHM is empty whereas the command exim -qff shows there are file locked up in the queue.

    I try to use exim -qff to force a delivery of the queue but all the messages are locked (spool file is locked). Is there a way for me to unlocked these messages?

    All new messages I send are automatically locked themselves up in the queue.

    Any idea of how to fix this? Please assist. Thanks.
     
  7. RaveKnights

    RaveKnights Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Some Where Out There!
    I'm trying to find an answer and once I do I will fill you in on it.
     
  8. navmonkey

    navmonkey Well-Known Member

    Joined:
    Aug 19, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Thanks. Your help is greatly appreicated. :)
     
  9. Curious Too

    Curious Too Well-Known Member

    Joined:
    Aug 31, 2001
    Messages:
    427
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Sometimes the clamav update process gets locked up -- when that happens MailScanner shuts down. You need to login via shell session, do ps -aux and check the clamav process. If it's been updating for a very long time, kill it. The mail will start flowing.
     
  10. navmonkey

    navmonkey Well-Known Member

    Joined:
    Aug 19, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Curious Too, after I had killed the clamav processes, MailScanner began delivering mails again from its queue. Thank you so much for your insight into the problem.

    Also, RavenKnights, thank you very much for your help.

    MailScanner is up and running again. Thanks guys :)
     
  11. RaveKnights

    RaveKnights Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Some Where Out There!
    Thank You for the suggestion.
     
Loading...

Share This Page