Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    4

    Default Problems with mail

    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. #2
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    could your /etc/valiases files have been replaced as well?

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    4

    Default

    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. #4
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    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. #5
    Member
    Join Date
    Dec 2004
    Location
    India
    Posts
    30

    Default 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.
    Last edited by asish; 10-04-2005 at 07:41 AM.

  6. #6
    Member
    Join Date
    Mar 2007
    Posts
    6

    Default

    Quote Originally Posted by asish View Post
    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.
    That is wrong.. you only need to chmod +rw /etc/group


    Best Regards

Similar Threads & Tags
Similar threads

  1. Replies: 7
    Last Post: 11-01-2006, 12:15 AM
  2. Mail Problems
    By b0wser in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-08-2006, 12:36 AM
  3. Mail problems...
    By Wallaby in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-09-2005, 07:21 AM
  4. Mail problems
    By certify in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-05-2004, 09:00 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube