Re: smail routing
I tried that, and indeed when I have set this sort of thing up before using TIS Gauntlet this is what you do. However, because I am on a dial-up line smail is delivering to the smarthost as soon as it sees that the mail is not local ie it never checks DNS.
So the problem appears to be, how can I overide the smarthost thingy so that it will know to send the mail for the specific mail to my internal mailserver??
On Mon, Nov 29, 1999 at 08:47:13AM +0700, Moe Thu Kyaw wrote:
> Create a zone for that doamin in your DNS ,put the address of the zone to
> the machine that you want to receive mail and also put the MX record in
> that zone.
> At 11:57 PM 11/28/99 +0000, you wrote:
> >I am using smail to receive mail to my machine which acts as the gateway
> for my LAN. I have a new domain and would like to send the mail for this
> domain through my gateway to a machine on the LAN. Problem is that smail
> seems to be processing the mail fine but then sends it back out to the
> smarthost. Is there some way to tell smail that domain X is an exception
> and that it should send mail to the inside server rather than out to the
> Internet smarthost?
> >Unsubscribe? mail -s unsubscribe firstname.lastname@example.org <