From f7414992a180d5afd4d818076b325ef4a2ff8d02 Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Mon, 15 Jul 2002 05:15:10 +0000 Subject: [PATCH] . Use more intuitive names for describing the secondary MX and primary MX hosts at the dialup PPP mail server part. . Remove an explicit reference to -bd 15m and rc.conf for secondary MX since they are too FreeBSD specific and will very often be untrue (especially if the secondary MX is not a FreeBSD machine). PR: docs/39757 Submitted by: Chris Pepper --- .../books/handbook/mail/chapter.sgml | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/mail/chapter.sgml b/en_US.ISO8859-1/books/handbook/mail/chapter.sgml index 78c6e6fa6c..b56465ef38 100644 --- a/en_US.ISO8859-1/books/handbook/mail/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/mail/chapter.sgml @@ -800,36 +800,34 @@ to /etc/mail/sendmail.cf. UUCP - There are at least two ways to do this, an alternative - being UUCP. + There are at least two ways to do this. One way is to use + UUCP. - The key is to get a Internet site to provide secondary MX - service for your domain. For example: + Another way is to get a full-time Internet server to provide secondary MX + services for your domain. For example: - bigco.com. MX 10 bigco.com. - MX 20 smalliap.com. + myco.com. MX 10 myco.com. + MX 20 myisp.com. Only one host should be specified as the final recipient - (add Cw bigco.com in - /etc/mail/sendmail.cf on bigco.com). + (add Cw myco.com in + /etc/mail/sendmail.cf on myco.com). When the sending sendmail is trying to - deliver the mail it will try to connect to you over the modem + deliver the mail it will try to connect to you (myco.com) over the modem link. It will most likely time out because you are not online. - sendmail will automatically deliver it to the - secondary MX site, i.e. your Internet provider. The secondary MX - site will try every - (sendmail_flags = -bd -q15m in - /etc/rc.conf) 15 minutes to connect to - your host to deliver the mail to the primary MX site. + Sendmail will automatically deliver it to the + secondary MX site, i.e. your Internet provider (myisp.com). The secondary MX + site will then periodically try to connect to + your host and deliver the mail to the primary MX host (myco.com). You might want to use something like this as a login script. #!/bin/sh -# Put me in /usr/local/bin/pppbigco +# Put me in /usr/local/bin/pppmyisp ( sleep 60 ; /usr/sbin/sendmail -q ) & -/usr/sbin/ppp -direct pppbigco +/usr/sbin/ppp -direct pppmyisp If you are going to create a separate login script for a user you could use sendmail -qRbigco.com