-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13 Mar 00, at 11:22, Stephen Bosch wrote:
> Okay -- what you're saying is that the secondary will pass on the mail
> to the primary once it's back up?

Exactly.

> We put the primary in the rcpthosts of the secondary so that the
> secondary will accept mail addressed to the primary, but we don't put
> it in control/locals because we want to prevent the secondary from
> attempting to deliver locally (which wouldn't work because we don't
> have users configured locally, nor a delivery agent like POP3 or
> IMAP).

Yes.

> All right -- what's the mechanism by which this received mail is
> passed on to the primary when it becomes operational again? Does this
> mail sit parked in a mail queue? Which queue?

The usual /var/qmail/queue on the secondary. The secondary tries 
to deliver the mail from time to time (there's a quadratic backoff 
algorithm - the retries are more frequent at first and then slow 
down), and it keeps a cache of "connection outcomes"; it 
remembers that primary is down.

To clear the cache of "this host times out" information, you run 
qmail-tcpok. To make all the mails retry, you ALRM qmail-send. If 
you do the latter and not the former, qmail will used the cached 
information "primary was down". If you don't do anything, the mails 
from secondary will eventually get delivered too, as the retry 
schedule permits.

More questions?

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOM0lVFMwP8g7qbw/EQI9WgCeIR0j8bdsE9aXzW8mSDw46ox9UEoAoOHB
6vPvJ20kNVa2CEpJ8q59kF5B
=IeAL
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]

Reply via email to