Now let's get to my problem, why I was looking for a support in the
first place :)
I have two linux boxes on my LAN network, and both of them are running
sendmail (versions 8.13, and 8.14 respectivelly). LAN address for box1
is 192.168.1.7 and it's not named (localhost.localdomain), LAN address
for box2 is 192.168.1.6 and it's name is production.wise-
bih.dyndns.org (I had to name it 'cos I had a problem with mail
looping back if both boxes used same name, ex. localhost.localdomain).
I dont have a DNS, and I believe I dont even need it since I reference
boxes using IP addresses.
So I want to be able to send emails between these two boxes, however
when I try to send a test message from box1 to box2 using simple
command line "mail -s test10 dcausevic@[192.168.1.6]" I get following
on box1 /var/log/maillog:
Jun 2 22:21:29 localhost sendmail[17135]: n52KLT62017135:
from=dcausevic, size=61, class=0, nrcpts=1,
msgid=<200906022021....@localhost.localdomain>,
relay=dcausevic@localhost
Jun 2 22:21:29 localhost sendmail[17136]: n52KLTDB017136:
from=<dcau...@localhost.localdomain>, size=374, class=0, nrcpts=1,
msgid=<200906022021....@localhost.localdomain>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 2 22:21:29 localhost sendmail[17135]: n52KLT62017135:
to=dcausevic@[192.168.1.6], ctladdr=dcausevic (500/500),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30061, relay=
[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n52KLTDB017136 Message
accepted for delivery)
Jun 2 22:21:30 localhost sendmail[17138]: n52KLTDB017136:
to=<dcausevic@[192.168.1.6]>,
ctladdr=<dcau...@localhost.localdomain> (500/500), delay=00:00:01,
xdelay=00:00:01, mailer=esmtp, pri=120374, relay=[192.168.1.6]
[192.168.1.6], dsn=4.4.0, stat=Deferred: Name server: [192.168.1.6]:
host name lookup failure
and following on box2 /var/log/maillog:
Jun 3 22:21:31 production sendmail[4475]: m53Ldi6R004475:
ruleset=check_rcpt, arg1=<dcausevic@[192.168.1.6]>, relay=
[192.168.1.7], reject=450 4.4.0 <dcausevic@[192.168.1.6]>... Relaying
temporarily denied. Cannot resolve PTR record for 192.168.1.7
Jun 3 22:21:31 production sendmail[4475]: m53Ldi6R004475:
from=<dcau...@localhost.localdomain>, size=609, class=0, nrcpts=0,
proto=ESMTP, daemon=MTA, relay=[192.168.1.7]
Does anyone have any clue what is missing in my configuration files?
By the way reading documentation I assume I have to add entries to /
etc/mail/access in order to allow mail to be accepted from other
machine, and that's not a big deal, but how about if I decide to make
one of those mail servers public, do I have to specify every possible
domain name in the world from which an email might be legitimately
sent to my mail server? That /etc/mail/access doesn't make sense to
me... Shouldn't just about anybody be able to send me an email
message? How do I allow my mail server to receive email from other
SMTP servers?
Thanks and forgive me for a long posting,
Dzenan
> First I have to notice that sendmail's home page is documented rather
> poorly. I was looking for a mailing list on the support page (
> http://www.sendmail.org/support/usenet ), and it said following, quoting
> "Sendmail has a Usenet newsgroup, comp.mail.sendmail." and that's all.
> No mention of Google Groups, and link was broken, so I figured out I had
> to install newsreader client. And finally after I found and installed
> Pan on my linux box, I realized there was no way I could establish
> connection to this newsgroup through this client. Finally googling for a
> problem with connection from Pan, I found this web interface on Google
> Groups :)
> I mean one additional word on that support page, or a working link would
> save me few hours of work installing and configuring Pan lol... So folks
> who are in charge of maintaining Sendmail home page, please provide
> people with better information on support page.
a nice start to have nice answers about how d.d.deep it'd be "discussable" to
give some help about colours to someone who just demonstrated he just shot
his foot while the damned foot was dangling afore his eyes?
or you were just trying to take a s'troll?
you win, then you lose.
You need a DNS server on your local network, with forward (IP to name)
and reverse (IP to name) mappings.
--
Rob MacGregor (BOFH)
Rule 37: "There is no 'overkill'. There is only 'open fire'
and 'I need to reload.'"
It looks like Sendmail is an exception in this respect. I am in the
process of setting up local DNS server on my LAN and I will post my
experience later to confirm this.
Thank you Rob