Find the answer to your Linux question:
Results 1 to 5 of 5
hello I just installed sendmail from fedora 10 server package. When I write /etc/rc.d/init.d/sendmail in command mode than the following problem happens: [root@localhost farid]# /etc/rc.d/init.d/sendmail start Starting sendmail: 451 4.0.0 ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    5

    Wink sendmail config problem

    hello I just installed sendmail from fedora 10 server package.
    When I write /etc/rc.d/init.d/sendmail in command mode than the following problem happens:

    [root@localhost farid]# /etc/rc.d/init.d/sendmail start
    Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 87: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
    451 4.0.0 /etc/mail/sendmail.cf: line 594: fileclass: cannot open '/etc/mail/trusted-users': World writable directory


    could anyone please tell me what I've to do in here, though I didn't
    configure anything in sendmail here.

    Any idea/suggestion will be appreciated.

    Thanks in advance

  2. #2
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    Code:
    sendmail.cf: line 87: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
    451 4.0.0 /etc/mail/sendmail.cf: line 594: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
    Look in /etc/mail/
    Do you have a file named "local-host-names"? Generally it's using an internal configuration file because it can't resolve the fqdn for the host, it you don't have a domain name, you can put "localhost" in the file and it will probably start listening to the IP 127.0.0.1 for server traffic. You can also look in /etc/hosts and see if there are any other hosts listed there besides your fqdn or localhost. It's probably trying the "local-host-name" file because "/etc/hosts" confuses it.
    Do you have a file named "trusted-users"? If you created one and put the system names of your trusted users in the file, does it work? If you look at your sendmail.cf it has comments written into it to guide you in how to structure the names. Also, it's telling you the line numbers the sendmail.cfg is failing on (line 87, line 594). Those are specific to your machine, so you have to look them up and tell us what they say if tweaking the files doesn't fix the problem

  3. #3
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    This looks like sendmail is doing a security check on the /etc/mail directory. You don't want your mail server configuration directory writable by everyone, as it is complaining about. The following may help:

    Code:
    # chmod o-w /etc/mail

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    yes,i agree with Ziplock,change the permission mode,that should work.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2

    I's a security problem

    Check yours folders rights
    ls -lad / /etc /etc/mail
    This must be
    drwxr-xr-x 25 root root 4096 jun 14 18:31 /
    drwxr-xr-x 133 root root 12288 jun 14 18:32 /etc
    drwxr-xr-x 2 root root 4096 jun 14 18:39 /etc/mail

    if not do
    chmod 755 /
    chmod 755 /etc
    chmod 755 /etc/mail

    I guess this will solve the problem

    I have teh same issue then of an upgrade

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...