hi i have a few questions regarding mail relaying with sendmail
the problem is this :
i have a lan here which is connected through a router(linux machine running redhat 9)
to the internet. All that functions fine but , now my problem is that my mailserver in the lan cannot directly be reached from the net.
so i wanted to configure a sendmail mail relay on the router which forwards the mail for my domain to the mailserver in the lan
therefore i made this changes to the mailertable to define to which host in my lan the mail shoot be sent
my-net.com smtp:[10.1.1.222] (the adress of the mailserver in my lan)
and the following changes to the relay-domains
which should define the domains the relaying is allowed to i think
all other settings i let on default.
but now when somone trys to send mail to my domain from the outside , the following message is sent back :
553 sorry, that domain isnt in my list of allowed rcpthosts (#5.7.1)
and on the mail log of my router is the following message :
Nov 14 15:32:12 route sm-msp-queue:hACLCoqY003077: to [email]email@example.com[/email] delay=1+12:02:19, xdelay=00:00:00, mailer=relay, pri=30049, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
why is in my log that relay goes to 127.0.0.1 and not to 10.1.222
so no mail comes in
maybe anybody can help me out , i don`t know whats going wrong there
would be great
are there any howtos to this problem ?