Up front, thanks for the help.
I updated my profile with distro information. It is RedHat 5 Enterprise.
Here is my sendmail version info.
[root@lks ~]# rpm -q sendmail
sendmail-8.13.8-2.el5
Just to make certain everything on my side is good, could you check that first quote, because in it I stated that masquerading doesn't have anything to do with rejecting mail.
Also I included the output of the 'sendmail -d1-20.99 -bv
david.gill@DOMAIN.com' command. It is at the bottom. My DNS works ok...
In my .mc file I removed the actual name of my domain file and replaced it with DOMAIN...
As far as the .mc file I think you may be right for some things, I'm gona look through those commands and add the ones which aren't defaults or already included in .m4 files like domain.m4 and distro.m4.
With the access file, I've found next to no good documentation on it. Do you have any suggestions other than the sendmail readme file? With that file I could REALLY use some documentation because that is the one thing that I have many questions on with sendmail.
The documentation I've been using to set this up is Craig Hunt's 'Linux Network Servers'.
___________________________________________________________________
Output of command
'sendmail -d1-20.99 -bv
david.gill@DOMAIN.com'
getla(): 0.00
getauthinfo: root@localhost
assign_queueid: random_offset = 884445851 (1451)
assign_queueid: assigned id m67GX3OB011971, e=0x87ea80
assign_queueid: random_offset = 884445851 (1452)
assign_queueid: assigned id m67GX3OC011971, e=0x87ea80
queuename: ./xfm67GX3OC011971
getla(): 0.00
--parseaddr(root)
parseaddr-->0x87ea90=root:
mailer 3 (local), host `'
user `root', ruser `<null>'
state=OK, next=0x0, alias 0x0, uid 0, gid 0
flags=180<QPINGONFAILURE,QPINGONDELAY>
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=(none)
finalrcpt="(none)"
rstatus="(none)"
statdate=(none)
--parseaddr(david.gill@DOMAIN.com)
host_map_lookup(DOMAIN.com) => dns_getcanonname(DOMAIN.com, trymx=1)
dns_getcanonname: trying DOMAIN.com. (AAAA)
NO: errno=0, h_errno=4
dns_getcanonname: trying DOMAIN.com. (A)
NO: errno=0, h_errno=4
dns_getcanonname: trying DOMAIN.com. (MX)
YES
dns_getcanonname: DOMAIN.com
FOUND DOMAIN.com
parseaddr-->0x9d335e0=david.gill@DOMAIN.com:
mailer 3 (local), host `'
user `david.gill', ruser `<null>'
state=OK, next=0x0, alias 0x0, uid 0, gid 0
flags=180<QPINGONFAILURE,QPINGONDELAY>
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=(none)
finalrcpt="(none)"
rstatus="(none)"
statdate=(none)
david.gill@DOMAIN.com... User unknown
giveresponse: status=67, dsn=5.1.1, e->e_message=david.gill@DOMAIN.com... User unknown, errnum=0
From person = "root"
main[0]: QS_SENDER 0x87ea90=root:
mailer 3 (local), host `'
user `root', ruser `<null>'
state=SENDER, next=0x0, alias 0x0, uid 0, gid 0
flags=181<QGOODUID,QPINGONFAILURE,QPINGONDELAY>
owner=(none), home="/root", fullname="(none)"
orcpt="(none)", statmta=(none), status=(none)
finalrcpt="(none)"
rstatus="(none)"
statdate=(none)
getla(): 0.00
===== SENDALL: mode v, id m67GX3OC011971, e_from 0x87ea90=root:
mailer 3 (local), host `'
user `root', ruser `<null>'
state=SENDER, next=0x0, alias 0x0, uid 0, gid 0
flags=181<QGOODUID,QPINGONFAILURE,QPINGONDELAY>
owner=(none), home="/root", fullname="(none)"
orcpt="(none)", statmta=(none), status=(none)
finalrcpt="(none)"
rstatus="(none)"
statdate=(none)
e_flags = 4001<OLDSTYLE,METOO>
sendqueue:
0x9d335e0=david.gill@DOMAIN.com:
mailer 3 (local), host `'
user `david.gill', ruser `<null>'
state=BADADDR, next=0x0, alias 0x0, uid 0, gid 0
flags=80000182<QPRIMARY,QPINGONFAILURE,QPINGONDELAY,QRCPTOK>
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=5.1.1
finalrcpt="RFC822;
david.gill@DOMAIN.com"
rstatus="550 5.1.1 User unknown"
statdate=(none)
After first owner pass, sendq =
0x9d335e0=david.gill@DOMAIN.com:
mailer 3 (local), host `'
user `david.gill', ruser `<null>'
state=BADADDR, next=0x0, alias 0x0, uid 0, gid 0
flags=80000182<QPRIMARY,QPINGONFAILURE,QPINGONDELAY,QRCPTOK>
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=5.1.1
finalrcpt="RFC822;
david.gill@DOMAIN.com"
rstatus="550 5.1.1 User unknown"
statdate=(none)
owner = "", otherowners = 1
Checking 0x9d335e0=david.gill@DOMAIN.com:
mailer 3 (local), host `'
user `david.gill', ruser `<null>'
state=BADADDR, next=0x0, alias 0x0, uid 0, gid 0
flags=80000182<QPRIMARY,QPINGONFAILURE,QPINGONDELAY,QRCPTOK>
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=5.1.1
finalrcpt="RFC822;
david.gill@DOMAIN.com"
rstatus="550 5.1.1 User unknown"
statdate=(none)
... Null owner
... QS_IS_BADADDR
sendall: final mode = v
================ Final Send Queue(s) =====================
*** Envelope m67GX3OC011971, e_from=root ***
0x9d335e0=david.gill@DOMAIN.com:
mailer 3 (local), host `'
user `david.gill', ruser `<null>'
state=BADADDR, next=0x0, alias 0x0, uid 0, gid 0
flags=80000182<QPRIMARY,QPINGONFAILURE,QPINGONDELAY,QRCPTOK>
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=5.1.1
finalrcpt="RFC822;
david.gill@DOMAIN.com"
rstatus="550 5.1.1 User unknown"
statdate=(none)
==========================================================
sendenvelope(m67GX3OC011971) e_flags=0x4001
queuename: ./dfm67GX3OC011971
queuename: ./qfm67GX3OC011971
queuename: ./xfm67GX3OC011971
====finis: stat 67 e_id=NOQUEUE e_flags=5001<OLDSTYLE,GLOBALERRS,METOO>
0: fl=0x8002, mode=20620: CHR: dev=0/11, ino=3, nlink=1, u/gid=0/5, size=0
1: fl=0x8002, mode=20620: CHR: dev=0/11, ino=3, nlink=1, u/gid=0/5, size=0
2: fl=0x8002, mode=20620: CHR: dev=0/11, ino=3, nlink=1, u/gid=0/5, size=0
4: fl=0x2, mode=140777: SOCK localhost->[[UNIX: /dev/log]]
5: fl=0x8000, mode=100640: dev=253/0, ino=2130651, nlink=1, u/gid=0/51, size=12288
6: fl=0x8000, mode=100640: dev=253/0, ino=2130651, nlink=1, u/gid=0/51, size=12288
______________________________________________________________________________________________
THANKS AGAIN!!!