Re: Freezing Mail in Queue

From: Wietse Venema (no email)
Date: Thu Aug 01 2002 - 21:13:25 EDT


Sean Preston:
> Hi
>
> > I understand that the present question was not about having
> > Postfix automatically label mail as suspicious.
>
> That's correct. I was enquiring to see if there was a way of basically
> holding a message in the queue. Similar to the command "exim -Mf <id>"
> This could be used in a number of applications but was just of interest.

I have added support for a "hold" queue. Fragments of manual pages
are below. Expect a new experimental release a week or so after
USENIX Security.

        Wietse

NAME
       sendmail - Postfix to Sendmail compatibility interface
...
       mailq List the mail queue. Each entry shows the queue
              file ID, message size, arrival time, sender, and
              the recipients that still need to be delivered.
              ...
              The queue ID string is followed by an
              optional status character:

              * The message is in the active queue, i.e. the
                     message is selected for delivery.

              ! The message is in the hold queue, i.e. no
                     further delivery attempt will be made until
                     the mail is taken off hold.

NAME
       postsuper - Postfix superintendent

SYNOPSIS
       postsuper [-psv] [-d queue_id] [-h queue_id] [-H queue_id]
       [-r queue_id] [directory ...]
...
       -h queue_id
              Put mail "on hold" so that no attempt is made to
              deliver it. Move one message with the named queue
              ID from the named mail queue(s) (default: incoming,
              active and deferred) to the hold queue. If a
              queue_id of - is specified, the program reads queue
              IDs from standard input.

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

              Note: mail that is put "on hold" will not expire.

       -H queue_id
              Release mail that was put "on hold". Move one mes-
              sage with the named queue ID from the named mail
              queue(s) (default: hold) to the deferred queue. If
              a queue_id of - is specified, the program reads
              queue IDs from standard input.

              Specify -H ALL to release all mail that is "on
              hold". As a safety measure, the word ALL must be
              specified in upper case.
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD