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!

Mailscanner Problem

Discussion in 'E-mail Discussion' started by silversurfer, Sep 18, 2003.

  1. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    168
    Hi

    I installed the file from Layer1 and when I did check_mailscanner, I get the below error:

    Cannot open config file /usr/mailscanner/etc/MailScanner.conf, Permission denied at /usr/mailscanner/lib/MailScanner/Config.pm line 295.

    Any idea on how to fix it?

    Thanks.

    cPanel.net Support Ticket Number:
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    166
    Dear silversurfer,

    Make sure your config file have permissions set to 700.If not set it to 700 and run check_mailscanner,it helps you to resolve this problem.

    Regards,

    cPanel.net Support Ticket Number:
     
  3. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    168
    Hi

    I had even chmod it 777 and it still didn't work. I tried 700 and as expected, it still had the same error.

    I even chown it to a low level user to try and the same error pop up.

    Any ideas?

    cPanel.net Support Ticket Number:
     
  4. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    166
    That's the error,
    that config file should exist, and should be 644, not anything else (except maybe 640)
    as what user are you running check_mailscanner?

    cPanel.net Support Ticket Number:
     
  5. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    168
    I ran it as root, both to install and to run check_mailscanner. I am not sure about the permissions as I had to uninstall it for my mails to start working again.

    cPanel.net Support Ticket Number:
     
  6. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    166
    Sounds like the install didn't complete then, so you'd be missing files/perl libraries and/or config files.

    cPanel.net Support Ticket Number:
     
  7. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    168
    So any suggestions on how to fix it? or how to find out what's missing?

    cPanel.net Support Ticket Number:
     
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