Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 1998 12:48:09 -0400
From:      Yves Lepage <YVLEPAGE@post.bell.ca>
To:        "freebsd-questions(a)freebsd.org" <freebsd-questions@FreeBSD.ORG>, "daniel(a)cyberjunky.net" <daniel@cyberjunky.net>
Subject:   Re: Sendmail and mail q'ing
Message-ID:  <0010510008879098000002L182*@MHS>

next in thread | raw e-mail | index | archive | help
Hi,

I'd do it with 3 steps:

1- Install two MX record in your DNS for cyberjunky.net. One with the lower
precedence (which means it is going to be
considered first) pointing to cyberjunky.net. Point the second one with a
higher precedence (processed last) to
nettalk.nettalklive.com.

2- Put cyberjunky.net into your Cw class (or inyour sendmail.cw file) on
nettalk.nettalklive.com

3- add this line to your mailertable file on nettalk.nettalklive.com and
makemap it. This will prevent local deliveries.

cyberjunky.net  smtp:cyberjunky.net


With this setup, mail always gets delivered to cyberjunky.net unless it goes
down at which point mail will be queued
on  nettalk.nettalklive.com.

You could skip the second MX pointing to cyberjunky.net if you wanted mail to
always go through
nettalk.

There's a caveat however. By default, sendmail does queue runs every hour and I
found that not an awful
lot of system administrators change this. If cyberjunky.net went down, and the
back up, it could take up to an
hour before you get any email.

A better alternative is to use POP to retrieve your email every so often
(automatically) and pass it to your local sendmail. This
method is common with communities that don't have an always-on connection to
the Internet. If you keep your ISDN up just for email,
you can save big bucks (ISDN links (at least in Canada) are typically charged
by the usage) by enabling connection-on-demand,
connect when you're going to retrieve email and disconnect right after.

I hope this helps,
Yves Lepage




 owner-freebsd-questions @ FreeBSD.ORG
 10/20/98 12:30 AM
To: daniel @ cyberjunky.net @ INTERNET
cc: freebsd-questions @ FreeBSD.ORG @ INTERNET
Subject: Re: Sendmail and mail q'ing

On Mon, 12 Oct 1998, Daniel Harris wrote:

> I have a domain where all my mail goes to my desktop (ie, cyberjunky.net).
> My desktop is on an ISDN link that goes down once and a while...  I want to
> have my mail queued on another server (nettalk.nettalklive.com) until the
> ISDN link is back up.  Both machines are running the latest sendmail (8.9.1)
> and FreeBSD.
>
> Cyberjunky.net's Name servers are off the ISDN link (Im in the process of
> changing them now) and will have MX 10 cyberjunky.net and MX 20
> nettalk.nettalklive.com for mail to goto the right machine.  What do I have
> to do to nettalk to get it to queue all mail for cyberjunky.net, but no
> deliver it locally?

nettalk won't locally deliver mail unless it thinks i'ts cyberjunky.net,
which means you put cyberjunky.net in /etc/sendmail.cw, which is wrong.

nettalk should queue mail automatically for cyberjunky; when they call up,
have them do an ETRN to fetch the mail.

Doug White
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0010510008879098000002L182*>