newbie ,mmdf problems....

From: didds (didds2_at_excite.com)
Date: 05/31/05


Date: 31 May 2005 05:46:29 -0700

hi - i've never worked on a sco system before (though lots of other
unix flavours) - today got handed the following problem!

a system is running SCO_SV 3.2 with mmdf as its mta (never come across
mmdf before today!).

Allegedly a short while ago the mailhost had to be moved and it has a
new ip... so /etc/hosts has been changed on the system to reflect this
(as far as I can see there is no dns available...).

However mail now doesn't get sent.

Having been passed the problem, I have ascertained that the mailhost IP
is pingable and can even be connected to on port 25 and the MTA
directly accessed - and the standard command line mail send works fine
this way.

I have rerun dbmbuild - no difference
I have checked mmdftailor and restareted the daemons - no difference.

So I thought best look at the logs... but they are empty. I have even
created a seperate log area and made the necessary alterations to
mmdftailor, rerun mmdfbuild and restarted the daemons - but no
difference... and still no difference and still no logs affected!!

I am npw despererate for any hepl I can muster! :-)

here's the mmdftailor file if its any help

MLNAME "arval"
MLDOMAIN "co.uk"
MDLVRDIR "/usr/spool/mail"
MMBXNAME ""
MSUPPORT Postmaster
MLOCMACHINE "chips"
MLOGDIR "/usr/mmdf/logs"
MCHANLOG /usr/mmdf/logs/mmdfchan.log, level=FTR, size=100, stat=SOME

MTBL show="Local host's names", name=local, file=local.chn
MTBL show="List processor", name=list, file=list.chn
MTBL show="Root domain", name=rootdom, file=root.dom, flags=domain
MTBL show="nobypass aliases", name=alias-n, file=alias.n
MTBL show="SMTP channel", name=smtpchn, file=smtp.chn
MTBL show="UUCP domain", name=uucpdom, file=uucp.dom, flags=domain,
     flags=partial
MTBL show="xxxxx.co.uk domain", name=localdom, file=local.dom,
flags=domain,
     flags=partial
MTBL show="SMTP N channel", name=smtpNchn, file=smtp-N.chn

ALIAS table=alias-n, nobypass

MDMN name="root", dmn="", show="Root Domain", table=rootdom
MDMN name="uucp", dmn="UUCP", show="UUCP Domain", table=uucpdom
MDMN name="localdom", dmn="xxxxx.co.uk", show="arval.co.uk Domain",
     table=localdom

MCHN show="Local delivery", name=local, que=local, tbl=local,
pgm=local,
     ap=822, mod=imm
MCHN show="Mailing list processor", name=list, que=list, tbl=list,
pgm=list,
     ap=same, mod=imm, host=chips.xxxxx.co.uk
MCHN show="SMTP Delivery", name=smtp, que=smtp, tbl=smtpchn, pgm=smtp,
ap=822,
     mod=host, confstr="charset=7bit,hostname=chips.xxxxx.co.uk"
MCHN show="Smart-host Routing for hosts", name=badhosts, que=badhosts,
     tbl=smtpchn, pgm=smtp, ap=822, mod=host,
     confstr="charset=7bit,hostname=chips.xxxxx.co.uk",
     host=exchange.xxxxx.co.uk
MCHN show="Smart-host routing for users", name=badusers, que=badusers,
     tbl=smtpchn, pgm=smtp, ap=822, mod=host,
     confstr="charset=7bit,hostname=chips.xxxxx.co.uk",
     host=exchange.xxxxx.co.uk
MCHN show="SMTP N channel", name=smtp-N, que=smtp-N, tbl=smtpNchn,
pgm=smtp, ap=same, mod=host,
confstr="charset=7bit,hostname=chips.xxxxx.co.uk"

and here's checkup's output filieterd for "**" lines...

(changing into log directory...)
message-level log : /usr/mmdf/logs/msg.log
** Wrong mode : (0600) for '/usr/mmdf/logs/msg.log'; should
be (0602 to 0606)
    channel log : /usr/mmdf/logs/chan.log
** Wrong mode : (0600) for '/usr/mmdf/logs/chan.log'; should
be (0602 to 0606)

    logfile : /usr/mmdf/logs/usr
** Wrong mode : (0600) for '/usr/mmdf/logs/usr'; should be
(0602 to 0606)
    Mailing list processor:
    Channel program : list
    logfile : /usr/mmdf/logs/usr
** Wrong mode : (0600) for '/usr/mmdf/logs/usr'; should be
(0602 to 0606)
    SMTP Delivery :
    Channel program : smtp
    logfile : /usr/mmdf/logs/usr
** Wrong mode : (0600) for '/usr/mmdf/logs/usr'; should be
(0602 to 0606)
    Smart-host Routing for hosts:
    Channel program : smtp
    logfile : /usr/mmdf/logs/usr
** Wrong mode : (0600) for '/usr/mmdf/logs/usr'; should be
(0602 to 0606)
    Smart-host routing for users:
    Channel program : smtp
    logfile : /usr/mmdf/logs/usr
** Wrong mode : (0600) for '/usr/mmdf/logs/usr'; should be
(0602 to 0606)
    Channel program : smtp
    logfile : /usr/mmdf/logs/usr
** Wrong mode : (0600) for '/usr/mmdf/logs/usr'; should be
(0602 to 0606)

I have nmo idesa what the companits about the "mode" mean... for
example

/usr/mmdf/logs/usr has the following long listing

-rw-rw---- 1 mmdf mmdf 0 May 31 12:41
/usr/mmdf/logs/usr

There was no original "usr" to copy in the original log directory so I
recreated what I could fathom ...

# ls -l /usr/mmdf/logs
total 0
-rw-rw---- 1 mmdf mmdf 0 May 31 12:41 chan.log
-rw-r--r-- 1 mmdf mmdf 0 May 31 12:41 mmdfchan.log
-rw-rw---- 1 mmdf mmdf 0 May 31 12:41 msg.log
-rw-rw---- 1 mmdf mmdf 0 May 31 12:41 usr

any ideas anybody... one why the logging isn't wprking, and also any
ideas as to what I need to do to make mail work anyway!

cheers in advancve

ian