Exact difference between postsuper -r ALL & postfix flush

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Exact difference between postsuper -r ALL & postfix flush

Durga Prasad Malyala
Guys,
After few years of postfix i'm bit confused today and unable to think...

What is the exact difference between postsuper -r ALL & postfix flush

Thanks/DP
Reply | Threaded
Open this post in threaded view
|

Re: Exact difference between postsuper -r ALL & postfix flush

Wietse Venema
Durga Prasad Malyala:
> Guys,
> After few years of postfix i'm bit confused today and unable to think...
>
> What is the exact difference between postsuper -r ALL & postfix flush

$ man postsuper (also at http://www.postfix.org/postsuper.1.html)

       -r queue_id
              Requeue the message with the named queue ID from the named  mail
              queue(s) (default: hold, incoming, active and deferred).

$ man postfix (also at http://www.postfix.org/postfix.1.html)

       flush  Force delivery: attempt to deliver every message in the deferred
              mail queue. Normally, attempts to deliver delayed mail happen at
              regular  intervals,  the  interval  doubling  after  each failed
              attempt.

See the difference? One resubmits mail, the other triggers delivery.

        Wietse