Eric Wang <[EMAIL PROTECTED]> wrote:
> 
> I don't very understand the qmail delivery procedure.
> I got couple questions.
> 
> If a email bounced back, how offen the qmail will try to send it again?
> try how many times?

If the message bounces (i.e. permanent error with a 5xx code), it will not
be tried again.  It will be returned to the envelope sender.  All MTAs should
behave this way.

On the other hand, if there is a temporary error (4xx code, also known as a
deferral), qmail will retry periodically for a period of time set by
/var/qmail/control/queuelifetime, which defaults to one week.

If you need more details, there is a table of retry intervals for the default
queuelifetime in "Life with qmail" by Dave Sill.
 
> If qmail give up, how it process the bounced email? delete it from queue
> and forward it to Mail-daemon@localhost?

It goes to the SMTP envelope sender.
 
> Is it possible qmail forget a mail in the queue? if so, how can we dump
> it out?

Wait a week and it goes away on its own.  To modify the queue manually, 
you must stop qmail first.  Read about this on www.qmail.org first.
 
Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to