Problems with sendmail setup -- First time I've ever done this
Tom Parquette
tparquet at twcny.rr.com
Fri Aug 8 13:15:52 PDT 2003
I do not believe this is related to 5.1-CURRENT. I think I've done
something wrong with my configuration.
Please CC me on any replies. I subscribe to the digest form. TIA.
I want to set up my house server to be an internal mail host.
"Internal mail host" means it will collect all the Email from the home
LAN (I hope to have the other machines forward their mail (e.g. periodic
output) to the house server (a.k.a. Atlas.) Later on, I plan to add
fetchmail to pull in email from my various accounts. SMTP on Atlas will
NOT try to forward outbound email to my IPS (T&C of my ISP on running my
own mail server.)
At this point I'm just trying to get sendmail on Atlas to accept mail
from a user signed on to Atlas.
I've added an MX record to my internal DNS. It appears correct. Output
of nslookup is:
$ nslookup
Default Server: localhost.Tom.Parquette.name
Address: 127.0.0.1
> set type=mx
> tom.parquette.name
Server: localhost.Tom.Parquette.name
Address: 127.0.0.1
tom.parquette.name preference = 0, mail exchanger = Atlas
tom.parquette.name nameserver = ns1.tom.parquette.name
tom.parquette.name nameserver = ns2.tom.parquette.name
ns1.tom.parquette.name internet address = 192.168.2.10
ns2.tom.parquette.name internet address = 192.168.2.11
>
Messages from sendmail:
Aug 8 15:54:06 Atlas sendmail[1700]: h78Js67g001700: from=Tom, size=45,
class=0, nrcpts=1,
msgid=<200308081954.h78Js67g001700 at Atlas.Tom.Parquette.name>,
relay=root at localhost
Aug 8 15:54:06 Atlas sm-mta[1701]: h78Js6Rm001701:
<Tom at Atlas.Tom.Parquette.name>... User unknown
Aug 8 15:54:06 Atlas sendmail[1700]: h78Js67g001700: to=Tom,
ctladdr=Tom (1002/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30026, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Aug 8 15:54:06 Atlas sm-mta[1701]: h78Js6Rm001701:
from=<Tom at Atlas.Tom.Parquette.name>, size=45, class=0, nrcpts=0,
proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Aug 8 15:54:06 Atlas sendmail[1700]: h78Js67g001700: h78Js67h001700:
DSN: User unknown
Aug 8 15:54:06 Atlas sm-mta[1701]: h78Js6Ro001701:
<Tom at Atlas.Tom.Parquette.name>... User unknown
Aug 8 15:54:06 Atlas sendmail[1700]: h78Js67h001700: to=Tom,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31069,
relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Aug 8 15:54:06 Atlas sm-mta[1701]: h78Js6Ro001701: from=<>, size=1069,
class=0, nrcpts=0, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Aug 8 15:54:07 Atlas sendmail[1700]: h78Js67h001700: h78Js67i001700:
return to sender: User unknown
Aug 8 15:54:07 Atlas sm-mta[1701]: h78Js6Rq001701: from=<>, size=3857,
class=0, nrcpts=1,
msgid=<200308081954.h78Js67i001700 at Atlas.Tom.Parquette.name>,
proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Aug 8 15:54:07 Atlas sendmail[1700]: h78Js67i001700: to=postmaster,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32093,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h78Js6Rq001701
Message accepted for delivery)
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js6Rq001701: SYSERR(root): MX
list for tom.parquette.name. points back to Atlas.Tom.Parquette.name
Aug 8 15:54:07 Atlas kernel: Aug 8 15:54:07 Atlas sm-mta[1702]:
h78Js6Rq001701: SYSERR(root): MX list for tom.parquette.name. points
back to Atlas.Tom.Parquette.name
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js6Rq001701:
to=Admin at Tom.Parquette.name, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=34083, relay=tom.parquette.name., dsn=5.3.5,
stat=Local configuration error
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js6Rq001701: h78Js7Rm001702: DSN:
Local configuration error
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js7Rm001702:
to=Admin at Tom.Parquette.name, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=35107, relay=tom.parquette.name., dsn=5.3.5,
stat=Local configuration error
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js7Rm001702: h78Js7Rn001702:
return to sender: Local configuration error
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js7Rn001702:
to=Admin at Tom.Parquette.name, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=36131, relay=tom.parquette.name., dsn=5.3.5,
stat=Local configuration error
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js7Rm001702: Losing
./qfh78Js7Rm001702: savemail panic
Aug 8 15:54:07 Atlas kernel: Aug 8 15:54:07 Atlas sm-mta[1702]:
h78Js7Rm001702: Losing ./qfh78Js7Rm001702: savemail panic
Aug 8 15:54:07 Atlas sm-mta[1702]: h78Js7Rm001702: SYSERR(root):
savemail: cannot save rejected email anywhere
Aug 8 15:54:07 Atlas kernel: Aug 8 15:54:07 Atlas sm-mta[1702]:
h78Js7Rm001702: SYSERR(root): savemail: cannot save rejected email anywhere
The strange thing is, when I create a test Email, e.g. mail -s"Test
message" Tom Admin, the one to Admin seems to go through. From the
messages below, it cannot figure out who Tom is (fwiw, that was the ID I
used to generate the test message.)
I'm also can't figure out why sendmail is trying to forward the Email
(complaints about the MX record pointing back to itself.)
I've looked at the FBSD Handbook, Greg L's book and FreeBSD Unleashed
and I thought I had this set up right.
TIA
More information about the freebsd-questions
mailing list