[juneau-lug] Re: Mail Exchangers

  • From: "Myron Davis" <myrond@xxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Sat, 1 Apr 2006 16:18:00 +1500

qmail the syntax would be:
have the host name in /var/qmail/control/rcpthosts

also put in the file smtproutes:
emaildomainname:[ipaddressofdestinationhost]

that will tell qmail to hold email for 7 days attempting to deliver it the
primary address.

then add:

On 4/1/06, Kevin Miller <Kevin_Miller@xxxxxxxxxxxxxxx> wrote:
>
> mike noel wrote:
> > I'd be willing to try it. I'm using sendmail 8.12.8 on an RH9 server.
> > Do=20
> > you have some idea how to set up our two servers to do this?
>
> It's not hard.  In sendmail I think the default retention time is 4 or 5
> days.  Usually plenty of time for service to be restored.  After that it
> will return messages to the sender.  The files you want to edit are
> relay-domains and mailertable, probably in /etc/mail.
>
> In mailertable you put in the domains you're accepting for and where to
> route the mail when the primary server becomes available.  For instance
> you might have an entry like this:
>
> mikenoel.org         esmtp:[192.168.5.17]
>
> The domain and address are purely fictictious of course.  One would put
> in the IP of the mail server that should be accepting for that domain if
> it wasn't down for some reason, thus wouldn't use a non-routable
> address.  Separate the fields with TABS, not spaces.
>
> After you've created/edited your mailertable you need to turn it into a
> db with the following command:
>
>   makemap hash /etc/mail/mailertable < /etc/mail/mailertable
>
> (Don't be thrown by the input and output files having the same name.
> makemap will append an extension automatically so the output file ends
> up being mailertable.db.)
>
> In relay-domains you just put in the name of the domains for which
> you'll relay:
>
>   mikenoel.org
>   kevinmiller.org
>   someotherdomin.org
>
> I think that'll about do it...
>
> ...Kevin
> --=20
> Kevin Miller                Registered Linux User No: 307357
> CBJ MIS Dept.               Network Systems Admin., Mail Admin.
> 155 South Seward Street     ph: (907) 586-0242
> Juneau, Alaska 99801        fax: (907 586-4500
> ------------------------------------
> The Juneau Linux Users Group -- http://www.juneau-lug.org
> This is the Juneau-LUG mailing list.
> To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with
> the word unsubscribe in the subject header.
>

------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: