The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Как в Postfix удалить сообщение из очереди на отправку"
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Как в Postfix удалить сообщение из очереди на отправку"
Сообщение от Igor T. emailИскать по авторуВ закладки on 01-Май-03, 15:19  (MSK)
Как в Postfix удалить сообщение из очереди на отправку.
У команд postqueue и sendmail что-то не нашел соответствующих ключей.
  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "Как в Postfix удалить сообщение из очереди на отправку"
Сообщение от M emailИскать по авторуВ закладки on 02-Май-03, 11:29  (MSK)
>Как в Postfix удалить сообщение из очереди на отправку.
>У команд postqueue и sendmail что-то не нашел соответствующих ключей.


postsuper -d queue_id

-d queue_id
              Delete one message with the named queue ID from the
              named   mail  queue(s)  (default:  hold,  incoming,
              active and deferred).  If a queue_id of - is speci-
              fied,  the  program  reads  queue IDs from standard
              input. For example, to delete all mail from  or  to
              user@example.com:

              mailq | tail +2 | awk  'BEGIN { RS = "" } \
                  / user@example\.com$/ { print $1 } \
              ' | tr -d '*!' | postsuper -d -

              Specify -d ALL to remove all messages; for example,
              specify -d ALL  deferred  to  delete  mail  in  the
              deferred  queue.  As a safety measure, the word ALL
              must be specified in upper case.

              Postfix queue IDs are  reused.   There  is  a  very
              small  possibility that postsuper deletes the wrong
              message file when it is executed while the  Postfix
              mail system is running.

              The scenario is as follows:

              1)     The  Postfix  queue manager deletes the mes-
                     sage that postsuper is supposed  to  delete,
                     because  Postfix  is  finished with the mes-
                     sage.

              2)     New mail arrives, and  the  new  message  is
                     given  the same queue ID as the message that
                     postsuper is supposed to delete.  The proba-
                     bility  for  reusing  a  deleted queue ID is
                     about 1 in 2**15 (the  number  of  different
                     microsecond values that the system clock can
                     distinguish within a second).

              3)     postsuper deletes the new  message,  instead
                     of  the  old  message  that  it  should have
                     deleted.

  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру