In most cases it's in /etc/mail.

If you wanted the linux box to accept mail as local you'd put the domain in
the sendmail.cw file right, or domaintable depending on your sendmail
version.

Well since you don't want the linux box to receive it local but "relay" it
our to another host you use the mailertable as I described below.  One thing
I did forget though, in either case you'd want to add the domain to the
relay-domains file as well.

So mailertable looks like this:

domain.com    smtp:someotherhost

The relay-domains looks like this:

domain.com

You add the someotherhost to your /etc/hosts file like this:

10.10.10.1    someotherhost

make your mailertable like this:

cd /etc/mail
make mailertable.db

that's it, your done.




----- Original Message -----
From: "Rodney Kanno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 27, 2002 10:49 AM
Subject: Re: [luau] sendmail question


> > Yes, you want to take a look at the mailertable.
> >
> > Add an entry for your domain like this:
> >
> > domain.com        smtp:internalmailhost
> >
> > add a host entry for internalmailhost
> > make mailertable.db
>
> Sorry, but I've never heard of this file before...where is it? Or do I
have
> to create it?
>
> Rodney
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002
>
> _______________________________________________
> LUAU mailing list
> [EMAIL PROTECTED]
> http://videl.ics.hawaii.edu/mailman/listinfo/luau
>

Reply via email to