On Wed, 10 Jan 2001, Brian Chabot wrote:
> That's just it... I know how to set fetchmail to get email from wherever
> and put it into one pop box ...
Okay, you don't want to have sendmail put everything in one mailbox.
Multidrop mailboxes are best avoided for this sort of thing (see the manpage
for fetchmail for why).
In the following, I assume you have a static IP for your system. If you do
not, things get significantly more complicated -- give a yell if so.
You want your system to be the primary MX for your domain. You want your
ISP's mailhost to be a secondary MX. Your ISP's mailhost should be configured
to accept mail for your domain. How do do this depends on the MTA, version,
and configuration. For sendmail 8.9.3 on Red Hat 6.2 systems, for example,
you need to add an entry for your domain to /etc/mail/access. (Note that
accepting mail is not the same as being the final delivery point. Again with
my Red Hat example, you should *not* be listed in your ISP's /etc/sendmail.cw
file.)
Now your ISP's mailhost will accept and queue mail for your system when it
is down. It will retry however often it is configured to do so, so mail
should eventually get through, regardless. To speed things up, you can send
an ETRN command to your ISP's mailhost. That will tell their MTA to retry
your domain's mail queue immediately.
To do so, you can use fetchmail, something like this:
fetchmail --protocol ETRN --smtphost your-domain.com mailhost.your-isp.com
See the fetchmail documentation for further details about the many things
you can do to tweak fetchmail.
Hope this helps,
--
Ben Scott <[EMAIL PROTECTED]>
Net Technologies, Inc. <http://www.ntisys.com>
Voice: (800)905-3049 x18 Fax: (978)499-7839
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************