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.

Problems with mail

Discussion in 'E-mail Discussions' started by ddausch, Feb 26, 2004.

  1. ddausch

    ddausch Registered

    Joined:
    Jan 16, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Two days ago on our server the files /etc/passwd, shadow and group were replaced with completely wrong files from another server due to a stupid admin.

    We have moved a backup in and the correct passwd, group and shadow files are in place now. But we still have some problems:

    Nobody on the server can send mail. Sendmail on the commandline always gives the following error:

    2004-02-26 13:39:50 Exim configuration error in line 505:
    group mail was not found

    A user trying to send with smtp always gets:

    550 Verification failed for <user@domain.com>

    And our mailman is also not working and always gives a Internal Server Error when accessing the web interface. Apache Error Log says:

    Permission denied: exec of /usr/local/cpanel/3rdparty/mailman/cgi-bin/admin failed

    Does anybody know what could be the problem? The only thing we did wrong on the server is that for some hours the passwd, group and shadow files where wrong...

    We already opened a ticket at cpanel, but since yesterday they didn't reply anymore and our clients are killing us because they can't send mail for 2 days now... :(

    Greetings,
    Dominik
     
  2. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    could your /etc/valiases files have been replaced as well?
     
  3. ddausch

    ddausch Registered

    Joined:
    Jan 16, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    No. It was absolutely nothing but these three files. Something must be screwed up now and i don't know what. :(

    I've just seen that i missed something at the mailman error. The complete error is:

    [Thu Feb 26 14:03:48 2004] [error] [client 213.183.83.9] (13)Permission denied: getgrgid: invalid groupid 32019
    [Thu Feb 26 14:03:48 2004] [error] (13)Permission denied: exec of /usr/local/cpanel/3rdparty/mailman/cgi-bin/admin failed
    [Thu Feb 26 14:03:48 2004] [error] [client 213.183.83.9] Premature end of script headers: /usr/local/cpanel/3rdparty/mailman/cgi-bin/admin
    [Thu Feb 26 14:03:48 2004] [error] [client 213.183.83.9] File does not exist: /home/mediacom/public_html/500.shtml

    And it seems that also some client cgis get the same error message and are no more running...
     
  4. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    Well, this has not happened to me on a cPanel box (yet;)

    But, something similar to this happened on a couple of old cobalt raq boxes. No matter how I tried to tweak the passwd/shadow/groups files, things remained screwed up.

    The only way that I found to fix things was to backup all of the webfiles of each account. Delete each account and then re-create each account (including re-creating all account users and account user passwords!!!:)

    There might be a simple fix, but that worked for me.
     
  5. asish

    asish Active Member

    Joined:
    Dec 4, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    This worked for me

    Hello,

    Go to /usr/bin
    Check out for the permissions out there

    chmod -R 755 *
    This will fix the issues.

    For me everytrhing got fixed.
     
    #5 asish, Oct 4, 2005
    Last edited: Oct 4, 2005
  6. voidsecurity

    voidsecurity Member

    Joined:
    Mar 1, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    That is wrong.. you only need to chmod +rw /etc/group


    Best Regards
     
Loading...

Share This Page