ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Configuring sendmail on Jaguar
Subject:   Sendmail still complaining about world writable, localhost refuses port 25 connection
Date:   2002-10-07 15:41:29
From:   anonymous2
I'm running sendmail under 10.2 behind a firewall with a lame ISP. That being said I'm having problems with config.mc. My config.mc file looks like this:


VERSIONID(`$Id: generic-darwin.mc,v 1.3 2002/04/12 18:41:47 bbraun Exp $')
OSTYPE(darwin)dnl
DOMAIN(generic)dnl
undefine(`ALIAS_FILE')
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
define(`confDONT_BLAME_SENDMAIL', `GroupWritableDirPathSafe')
define(`confDOMAIN_NAME', `$w.blackbox42.no-ip.org')
define(`SMART_HOST' `mail.mindspring.com')
FEATURE(`smrsh',`/usr/libexec/smrsh')
FEATURE(local_procmail)
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
FEATURE(`access_db')dnl
MAILER(smtp)
MAILER(procmail)


Every time I run the update script I receive this error:


/etc/mail/sendmail.cf: line 94: fileclass: cannot open '/etc/mail/local-host-names': World writable directory


This also happens if I start sendmail on it's own:


blackbox# /usr/sbin/sendmail -OdontBlameSendmail=GroupWritableDirPathSafe -bd -q1h
451 4.0.0 /etc/mail/sendmail.cf: line 94: fileclass: cannot open '/etc/mail/local-host-names': World writable directory


My alias file:


blackbox# cat access
# sample access file
192.168.1.12 RELAY
127.0.0.1 RELAY


Tail of my log file:


Oct 7 18:26:15 bluebox sendmail[1648]: g96H24cR000611: to=test@aol.com, ctladdr=www (70/70), delay=1+05:24:11, xdelay=00:00:00, mailer=relay, pri=1830092, relay=localhost, dsn=4.0.0, stat=Deferred: Connection refused by localhost
Oct 7 18:26:15 bluebox sendmail[1648]: g95JxNnM011994: to=messiah@datavortex.net, ctladdr=www (70/70), delay=2+02:26:52, xdelay=00:00:00, mailer=relay, pri=1830109, relay=localhost, dsn=4.0.0, stat=Deferred: Connection refused by localhost
Oct 7 18:30:02 bluebox sendmail[1650]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 94: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Oct 7 18:30:02 bluebox sendmail[1650]: gethostbyaddr(192.168.1.12) failed: 3


The main problems I see are sendmail ignoring it's valum and not finding it's host name. Any clue as to what is causing this?


1 to 2 of 2
  1. Sendmail still complaining about world writable, localhost refuses port 25 connection
    2003-10-30 05:24:58  anonymous2 [View]

  2. Sendmail still complaining about world writable, localhost refuses port 25 connection
    2003-05-13 08:04:52  anonymous2 [View]

    • Sendmail still complaining about world writable, localhost refuses port 25 connection
      2005-12-22 06:18:12  microbix [View]

      • Sendmail still complaining about world writable, localhost refuses port 25 connection
        2010-07-01 09:19:22  Harshad Mahajan [View]

      • Sendmail still complaining about world writable, localhost refuses port 25 connection
        2006-03-13 13:01:25  rtantti [View]

    • Sendmail still complaining about world writable, localhost refuses port 25 connection
      2003-07-11 13:06:35  anonymous2 [View]

1 to 2 of 2