OS 5.0.5: MMDF has stopped accepting SMTP requests from local lan clients

From: Barry Wiseman (bwiseman_at_qwest.net)
Date: 04/25/03


Date: Fri, 25 Apr 2003 17:55:34 -0400

This was working for years, AFAIK no config changes recently made. My mail
domain is hosted on my OS 5.0.5 box, madonna.gensoftdes.com. Users
send/receive mail from Windows desktops via Outlook Express -- until a few
days ago, when they started getting messages like

550 (NAUTH) Bad authorization: sender '@anne:duck@gensoftdes.com' not
authorized to send to address 'addressee@domain.com'

Local delivery is working for PC users. SMTP delivery is working for users
logged onto madonna.

Turning on level=FTR for smtp, I get the following in chan.log in response
to a test attempt. I can see that the machine named "anne" (the PC from
which the test email originates) is not being successfully resolved as
'anne.gensoftdes.com.' Unfortunately, I have no comparable trace from when
it was working, so don't know how it's supposed to go differently, or what
to make of the messages I see. Here's the contents of chan.log:

--------------
 4/25 13:16:40 smtpsr2076: OPEN: anne Fri Apr 25 13:16:40 (smtp)
 4/25 13:16:40 smtpsr2076: rcv
 4/25 13:16:40 smtpsr2076: mm_init ()
 4/25 13:16:40 smtpsr2076: mm_sbinit ()
 4/25 13:16:40 smtpsr2076: mm_cinit()
 4/25 13:16:40 smtpsr2076: Forking /usr/mmdf/bin/submit
 4/25 13:16:40 smtpsr2076: 220 madonna.gensoftdes.com Server SMTP
(Complaints/bugs to: Postmaster)

 4/25 13:16:40 smtpsr2076: 'helo', 'anne'
 4/25 13:16:40 smtpsr2076: 250 madonna.gensoftdes.com

 4/25 13:16:40 smtpsr2076: 'mail', 'FROM: <duck@gensoftdes.com>'
 4/25 13:16:40 smtpsr2076: mail from: 'FROM: <duck@gensoftdes.com>'
 4/25 13:16:40 smtpsr2076: addrfix(): 'duck@gensoftdes.com'
 4/25 13:16:40 smtpsr2076: ap_s2tree (duck@gensoftdes.com)
 4/25 13:16:40 smtpsr2076: ap_t2parts ()
 4/25 13:16:40 smtpsr2076: ap_dmnormalize (anne, no-chan)
 4/25 13:16:40 smtpsr2076: dm_v2route (anne)
 4/25 13:16:40 smtpsr2076: 1 fields
 4/25 13:16:40 smtpsr2076: dm_nm2struct ()
 4/25 13:16:40 smtpsr2076: hit
 4/25 13:16:40 smtpsr2076: dm_k2val (root, anne)
 4/25 13:16:40 smtpsr2076: tb_k2val (rootdom, first=1, anne)
 4/25 13:16:40 smtpsr2076: fetch (anne)
 4/25 13:16:40 smtpsr2076: fetch of 'anne' failed
 4/25 13:16:40 smtpsr2076: tb_k2val failed
 4/25 13:16:40 smtpsr2076: dm_nm2struct ()
 4/25 13:16:40 smtpsr2076: hit
 4/25 13:16:40 smtpsr2076: dm_k2val (rootNS, anne)
 4/25 13:16:40 smtpsr2076: tb_k2val (rootdomNS, first=1, anne)
 4/25 13:16:40 smtpsr2076: ns_fetch (11, anne, 1)
 4/25 13:16:40 smtpsr2076: ns_fetch: timeout (5), rep (4), servers (2)
 4/25 13:16:40 smtpsr2076: ns: key anne -> 37
 4/25 13:16:40 smtpsr2076: ns_getcn(anne)
 4/25 13:16:40 smtpsr2076: ns_error: server returned code 3
 4/25 13:16:40 smtpsr2076: nameserver query failed
 4/25 13:16:40 smtpsr2076: tb_k2val failed
 4/25 13:16:40 smtpsr2076: dm_nm2struct ()
 4/25 13:16:40 smtpsr2076: dm_sd2route (anne)
 4/25 13:16:40 smtpsr2076: dm_s2dom ('anne')
 4/25 13:16:40 smtpsr2076: ns_fetch (111, anne.gensoftdes.com, 1)
 4/25 13:16:40 smtpsr2076: ns_fetch: timeout (5), rep (4), servers (2)
 4/25 13:16:40 smtpsr2076: ns: key anne.gensoftdes.com -> 84
 4/25 13:16:40 smtpsr2076: ns_getcn(anne.gensoftdes.com)
 4/25 13:16:40 smtpsr2076: ns_error: server returned code 3
 4/25 13:16:40 smtpsr2076: nameserver query failed
 4/25 13:16:40 smtpsr2076: 'anne' not found
 4/25 13:16:40 smtpsr2076: unknown domain (ap_dmnormalize): 'anne'
 4/25 13:16:40 smtpsr2076: ch_nm2struct(anne)
 4/25 13:16:40 smtpsr2076: nonexistent dom/host (ap_dmnormalize): 'anne'
 4/25 13:16:40 smtpsr2076: ap_dmnormalize (gensoftdes.com, no-chan)
 4/25 13:16:40 smtpsr2076: dm_v2route (gensoftdes.com)
 4/25 13:16:40 smtpsr2076: 2 fields
 4/25 13:16:40 smtpsr2076: dm_nm2struct (com)
 4/25 13:16:40 smtpsr2076: dm_nm2struct ()
 4/25 13:16:40 smtpsr2076: hit
 4/25 13:16:40 smtpsr2076: dm_k2val (root, gensoftdes.com)
 4/25 13:16:41 smtpsr2076: tb_k2val (rootdom, first=1, gensoftdes.com)
 4/25 13:16:41 smtpsr2076: fetch (gensoftdes.com)
 4/25 13:16:41 smtpsr2076: fetch val(0)='rootdom/gensoftdes.com'
 4/25 13:16:41 smtpsr2076: fetch val(1)='local/gensoftdes.com'
 4/25 13:16:41 smtpsr2076: hit
 4/25 13:16:41 smtpsr2076: table(rootdom)
 4/25 13:16:41 smtpsr2076: dm_k2val: hit with 'gensoftdes.com'
 4/25 13:16:41 smtpsr2076: gensoftdes.com' hit in domain table 'Root
Domain' with 'gensoftdes.com'
 4/25 13:16:41 smtpsr2076: ap_dmnormalize: Route = 'gensoftdes.com',
Official name = 'gensoftdes.com'
 4/25 13:16:41 smtpsr2076: ap_p2s()
 4/25 13:16:41 smtpsr2076: AP_822 on
 4/25 13:16:41 smtpsr2076: AP_LITTLE on
 4/25 13:16:41 smtpsr2076: ap_p2s: route is 'anne'
 4/25 13:16:41 smtpsr2076: val2str ('anne', 3)
 4/25 13:16:41 smtpsr2076: ap_p2s: local is 'duck'
 4/25 13:16:41 smtpsr2076: val2str ('duck', 2)
 4/25 13:16:41 smtpsr2076: ap_p2s: domain is 'gensoftdes.com'
 4/25 13:16:41 smtpsr2076: val2str ('gensoftdes.com', 3)
 4/25 13:16:41 smtpsr2076: mm_winit (smtp, mvhanne*k120*,
@anne:duck@gensoftdes.com)
 4/25 13:16:41 smtpsr2076: mm_wrec () (20)'tismtp*mvhanne*k120*'
 4/25 13:16:41 smtpsr2076: mm_wrec () (25)'@anne:duck@gensoftdes.com'
 4/25 13:16:41 smtpsr2076: mm_rrply()
 4/25 13:16:41 smtpsr2076: mm_rrec ()
 4/25 13:16:41 smtpsr2076: (38)' Sender is '@anne:duck@gensoftdes.com''
 4/25 13:16:41 smtpsr2076: (OK)'Sender is '@anne:duck@gensoftdes.com''
 4/25 13:16:41 smtpsr2076: 250 OK

 4/25 13:16:41 smtpsr2076: 'rcpt', 'TO: <bwiseman@sprintmail.com>'
 4/25 13:16:41 smtpsr2076: addrfix(): 'bwiseman@sprintmail.com'
 4/25 13:16:41 smtpsr2076: mm_wadr()
 4/25 13:16:41 smtpsr2076: mm_wrec () (23)'bwiseman@sprintmail.com'
 4/25 13:16:41 smtpsr2076: mm_rrply()
 4/25 13:16:41 smtpsr2076: mm_rrec ()
 4/25 13:16:41 smtpsr2076: (151)'Ø(NAUTH) Bad authorization: sender
'@anne:duck@gensoftdes.com' not authorized to send to address
'bwiseman@sprintmail.com' : send queries to POSTMASTER'
 4/25 13:16:41 smtpsr2076: (USER)'(NAUTH) Bad authorization: sender
'@anne:duck@gensoftdes.com' not authorized to send to address
'bwiseman@sprintmail.com' : send queries to POSTMASTER'
 4/25 13:16:41 smtpsr2076: 550 (NAUTH) Bad authorization: sender
'@anne:duck@gensoftdes.com' not authorized to send to address
'bwiseman@sprintmail.com' : send queries to POSTMASTER

 4/25 13:16:41 smtpsr2076: 'quit', '<noarg>'
 4/25 13:16:41 smtpsr2076: 221 madonna.gensoftdes.com says goodbye to anne
at Fri Apr 25 13:16:41.

 4/25 13:16:41 smtpsr2076: mm_sbend ()
 4/25 13:16:41 smtpsr2076: mm_cend (0)
 4/25 13:16:41 smtpsr2076: child = EOF
 4/25 13:16:41 smtpsr2076: rend
 4/25 13:16:41 smtpsr2076: mm_end ()
 4/25 13:16:41 smtpsr2076: mm_cend (0)
-------------

My mmdftailor and the table/* files contain the open relay fixes described
in TA104596, but have been unchanged for many moons. Here's mmdftailor:

---------------
;#
;# "mmdftailor" - processed by MMDF administration client program
;#
;# Last updated: Fri Mar 1 10:24:15 EST 2002
;#

;
; @(#) mmdftailor 38.1 96/02/28 SCOINC
;
; **************************************************************************
;
; Copyright (c) 1994 The Santa Cruz Operation, Inc.
;
; All rights reserved. No part of this program or publication may be
; reproduced, transmitted, transcribed, stored in a retrieval system,
; or translated into any language or computer language, in any form or
; by any means, electronic, mechanical, magnetic, optical, chemical,
; biological, or otherwise, without the prior written permission of:
;
; The Santa Cruz Operation, Inc. (408) 425-7222
; 400 Encinal St., Santa Cruz, California 95060 USA
;
; **************************************************************************
;
MLNAME "gensoftdes"
MLDOMAIN "com"
MLOCMACHINE "madonna"
MSUPPORT Postmaster

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="gensoftdes.com domain", name=localdom, flags=domain,
flags=partial,
     flags=ns
MTBL show="nobypass aliases", name=alias-n, file=alias.n
MTBL show="SMTP channel", name=smtpchn, flags=ns, flags=channel
MTBL show="Dummy Delay channel table", name=delay, file=delay.chn
MTBL show="NS Root domain", name=rootdomNS, flags=domain, flags=ns
MTBL show="MMDF host/channel authorization", name=authhosts,
file="authhosts"

ALIAS table=alias-n, nobypass

MDMN name="root", dmn="", show="Root Domain", table=rootdom
MDMN name="localdom", dmn="gensoftdes.com", show="gensoftdes.com Domain",
     table=localdom
MDMN name="rootNS", dmn="", show="NS Root Domain", table=rootdomNS

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=madonna.gensoftdes.com
MCHN show="SMTP Delivery", name=smtp, que=smtp, tbl=smtpchn, pgm=smtp,
ap=822,
     mod=host, confstr="charset=7bit,hostname=madonna.gensoftdes.com",
     auth=outblock, outsrc=authhosts
MCHN show="Nameserver Delay channel", name=delay, que=delay, tbl=delay,
     pgm=delay, ap=same
-------------

Here's /usr/mmdf/table/authhosts:

---------------
local:
madonna.gensoftdes.com
---------------

I was thinking this needs entries for the other local machines such as
'anne', but it never had them before ....? Anyway, tried:

    local:
    madonna.gensoftdes.com,anne.gensoftdes.com

and also

    local:
    madonna.gensoftdes.com:
    anne.gensoftdes.com:

(the peculiar syntax shown in TA104596) -- both no help.