5.4: sendmail doesn't deliver to local user?
Rob
spamrefuse at yahoo.com
Thu Apr 7 21:25:29 PDT 2005
Hi,
Sendmail refused to deliver to myself as a local user
on my 10.0.0.3 IP configured PC; this IP is behind a
dual-homed gateway.
/etc/rc.conf:
hostname="simulation"
sendmail_enable="YES"
/etc/hosts.allow:
sendmail : localhost 127.0.0.1 : allow
/etc/hosts
10.0.0.3 simulation simulation.
So I can ping 'simulation' as 10.0.0.3. No problems!
In /etc/mail I have done:
# make all install
# /etc/rc.d/sendmail restart
When I now send email to my own login account:
$ mail -s "subject" rob < somefile.txt
I don't receive anything in my mailbox. In
/var/log/maillog I get:
Apr 8 13:08:53 simulation sendmail[2175]:
j3848rks002175: from=rob, size=31, class=0,
nrcpts=1,
msgid=<200504080408.j3848rks002175 at simulation.>,
relay=rob at localhost
Apr 8 13:08:53 simulation sm-mta[2176]:
j3848rua002176: from=<rob at simulation>, size=342,
class=0, nrcpts=1,
msgid=<200504080408.j3848rks002175 at simulation.>,
proto=ESMTP, daemon=IPv4, relay=localhost
[127.0.0.1]
Apr 8 13:08:53 simulation sendmail[2175]:
j3848rks002175: to=rob, ctladdr=rob (1001/1001),
delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30031, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (j3848rua002176 Message
accepted for delivery)
Apr 8 13:10:08 simulation sm-mta[2178]:
j3848rua002176: to=<rob at simulation>,
delay=00:01:15, xdelay=00:01:15, mailer=esmtp,
pri=30342, relay=antivortex.snu.ac.kr.
[147.46.230.127], dsn=4.0.0, stat=Deferred:
Operation timed out with antivortex.snu.ac.kr.
Why does it time out on "antivortex.snu.ac.kr", if
I only send the mail to my local account.
Note that "nslookup simulation.snu.ac.kr" indeed
gives 'antivortex.snu.ac.kr' and its IP number.
Apparently somebody else on the 'real internet' also
uses an alias for my hostname 'simulation'.
But why does that stop sendmail delivering locally?
Any idea what's wrong here?
Thanks for your help.
Rob.
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
More information about the freebsd-questions
mailing list