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.

exim_mainlog mystery message

Discussion in 'E-mail Discussions' started by epanagio, Oct 23, 2013.

  1. epanagio

    epanagio Well-Known Member

    Joined:
    May 26, 2012
    Messages:
    50
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    Every minute I see a message like the following and I just don;'t understand what it means. I changed the ID with the word PERSON to protect the person. Am I sending these messages or am I receiving them? Help!

     
    #1 epanagio, Oct 23, 2013
    Last edited by a moderator: Oct 24, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It shows the message is rejected due to permission issues on the directory referenced in the log:

    Does this directory exist on your system? If so, check it's permissions/ownership values to make sure there are no non-standard values configured. You can also run:

    Code:
    /scripts/mailperm user
    Thank you.
     
  3. epanagio

    epanagio Well-Known Member

    Joined:
    May 26, 2012
    Messages:
    50
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    Is the email coming in or going out?

    The file in the path it is looking is "/home/osr/etc/example2.com" but I am wondering is it normal for an email coming in or going out to look for this path? Directory "osr" is an account I have set up.

    My knowledge of cpanel and system issues is limited and I get very nervous when I see messages generated every minute in the exim log.

    I am wondering if the email is coming in or going out. How would I check to see if it is coming or going out?

    Thanks,
    Evan

    - - - Updated - - -

    Also, what should permission be?

    Also, why cpanel has not assigned the proper permissions?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    cPanel would have assigned the correct permissions and ownership values by default. The error would have occurred if it was manually modified at a later date. Default ownership on this directory would be "User:Mail" and default permissions would be 0750. Here is a third-party document on how to read the entries in /var/log/exim_mainlog:

    How to read Exim maillog

    Thank you.
     
  5. epanagio

    epanagio Well-Known Member

    Joined:
    May 26, 2012
    Messages:
    50
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    Sorry for being thick but I assigned:

    chmod -R 0750 etc

    and I still get these permission error messages.

    I also don't understand "User:Mail"

    The files are owned by "osr". Is "Mail" a group name? I checked with "safe_finger" and no such user exists.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's never recommended to use the recursive flag with "chmod". The command you provided changed permissions on all files/directives within the account's "etc" directory to 0750. This will further complicate the issue. Do you have root access to this system? If so, check another account's "etc" directory and utilize the "stat" command to review what the default permission/ownership values should be configured as. "User:Mail" is essentially the username of the account, with group ownership set to "mail". EX:

    Code:
    root@server [/home/cptest01/etc]# stat cptest01.com
      File: `cptest01.com'
      Size: 4096      	Blocks: 8          IO Block: 4096   directory
    Access: (0750/drwxr-x---)  Uid: (  708/cptest01)   Gid: (   12/    mail)
    Thank you.
     
  7. epanagio

    epanagio Well-Known Member

    Joined:
    May 26, 2012
    Messages:
    50
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    Thank you for taking the time to educate me. I have a little work to do to better understand what I am doing without hurting the system. I did check this forum and I saw several of your posts and I learned a lot by reading your attempts to help others.

    Thanks again for all you do and I will come back to update this post for others to learn and benefit from.

    Evan
     
  8. epanagio

    epanagio Well-Known Member

    Joined:
    May 26, 2012
    Messages:
    50
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    I compared the permissions of the problem account against a different account and made the appropriate corrections. Those erroneous messages went away, thanks to cPanelMichael.

    Now I have to educate myself with exim package.

    I have complete control of my hosted server and I want to make sure that I don't get in trouble and get tagged as a spammer because of my ignorance. Shiver me timbers.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page