|
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?
|
I am experiencing the exact same problem.
I have the dont_blame parameter set, I also modified the sendmail startup file with the appropriate parameter, and I just get the exact same message as you:
/etc/mail/sendmail.cf: line 108: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
I made sure that all the directories had correct permissions for groups, but I remain stuck....
Could you get this solved finally? If yes, how?
Tx and cheers
bc@ensuran.org