Article 6GWQF Sendmail user unknown from subdomain host

Sendmail user unknown from subdomain host

by
mfoley
from LinuxQuestions.org on (#6GWQF)
I'm trying to send an email from cwauser@members.cwa4502.org to cwa4502admin@cwa4502.org. The cwa4502admin user is a mailbox on Exchange. The members.cwa4502.org host is a standalone computer running sendmail. When I send that message it goes into the dead.letter mailbox. The message headers are:
Code:From cwauser Mon Dec 4 14:17:55 2023
Return-Path: <cwauser>
Received: (from cwauser@localhost)
by members.cwa4502.local (8.17.2/8.17.2/Submit) id 3B4JHtdM022918
for cwa4502admin@cwa4502.org; Mon, 4 Dec 2023 14:17:55 -0500
From: CWA membership <cwauser>
Message-Id: <202312041917.3B4JHtdM022918@members.cwa4502.local>
Date: Mon, 04 Dec 2023 14:17:54 -0500
Organization: CWA Local 4502 members
To: cwa4502admin@cwa4502.org
Subject: test 2 from cwauser@members to cwa4502admin
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Status: RAnd in maillog:
Code:Dec 4 14:17:55 members sendmail[22918]: 3B4JHtdM022918: from=cwauser, size=551, class=0, nrcpts=1, msgid=<202312041917.3B4JHtdM022918@members.cwa4502.local>, relay=cwauser@localhost
Dec 4 14:17:55 members sendmail[22918]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1.3, verify=FAIL, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Dec 4 14:17:55 members sm-mta[22919]: STARTTLS=server, relay=localhost [127.0.0.1], version=TLSv1.3, verify=NO, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Dec 4 14:17:55 members sm-mta[22919]: 3B4JHt0s022919: <cwa4502admin@cwa4502.org>... User unknown
Dec 4 14:17:55 members sendmail[22918]: 3B4JHtdM022918: to=cwa4502admin@cwa4502.org, ctladdr=cwauser (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30551, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, reply=550 5.1.1 <cwa4502admin@cwa4502.org>... User unknown, stat=User unknown
Dec 4 14:17:55 members sm-mta[22919]: 3B4JHt0s022919: from=<cwauser@members.cwa4502.local>, size=551, class=0, nrcpts=0, proto=ESMTPS, daemon=MTA, relay=localhost [127.0.0.1]In sendmail.mc I have:
Code:MASQUERADE_AS(`cwa4502.org')
FEATURE(`masquerade_envelope')
FEATURE(`masquerade_entire_domain')The A and MX records for cwa4502.org are:
Code:$ host cwa4502.org
cwa4502.org has address 104.21.48.4
cwa4502.org has address 172.67.175.38
cwa4502.org mail is handled by 0 cwa4502-org.mail.protection.outlook.com.and the A record for members.cwa4502.org is (no MX record):
Code:$ host members.cwa4502.org
members.cwa4502.org has address 74.218.88.254Now, cwa4502admin is NOT a local user. I can send this same message to my email at novatec-inc.com. Furthermore, I have exactly this same setup on another domain and it works fine. So, why does Sendmail think this is a local user and how do I get it to send the the cwa4502.org Exchange mailbox?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments