User Tools

Site Tools


pages:howtos:postfix:working-with-the-mailqueue

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
pages:howtos:postfix:working-with-the-mailqueue [2022/01/26 19:09] – created mischerhpages:howtos:postfix:working-with-the-mailqueue [2022/01/26 19:14] (current) mischerh
Line 1: Line 1:
-{{tag>howto postfix mailq postsuper postcat postqueue}}+{{tag>howto postfix mailq postsuper postcat postqueue mailqueue}}
 ====== Working With The Mailqueue ====== ====== Working With The Mailqueue ======
 ===== Sources ===== ===== Sources =====
Line 5: Line 5:
   * https://linux.die.net/man/1/postsuper   * https://linux.die.net/man/1/postsuper
  
 +display the mailqueue
 <sxh bash; gutter: false> <sxh bash; gutter: false>
 mailq mailq
 </sxh> </sxh>
-  -Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient------- +<code> 
-  92CF062722     3140 Wed Jan 26 05:47:27  MAILER-DAEMON +-Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient------- 
-            (connect to mail.pluspora.com[82.223.1.82]:25: Connection timed out) +92CF062722     3140 Wed Jan 26 05:47:27  MAILER-DAEMON 
-                                           no-reply@pluspora.com +          (connect to mail.pluspora.com[82.223.1.82]:25: Connection timed out) 
-   +                                         no-reply@pluspora.com 
-  -- 3 Kbytes in 1 Request.+ 
 +-- 3 Kbytes in 1 Request. 
 +</code>
  
 +display a specific message in the queue
 <sxh bash; gutter: false> <sxh bash; gutter: false>
 postcat -vq 92CF062722 postcat -vq 92CF062722
Line 119: Line 123:
 </code> </code>
  
 +flush the mailqueue and display it again
 <sxh bash; gutter: false> <sxh bash; gutter: false>
 postqueue -f postqueue -f
 mailq mailq
 </sxh> </sxh>
-  -Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient------- +<code> 
-  92CF062722     3140 Wed Jan 26 05:47:27  MAILER-DAEMON +-Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient------- 
-            (connect to mail.pluspora.com[82.223.1.82]:25: Connection timed out) +92CF062722     3140 Wed Jan 26 05:47:27  MAILER-DAEMON 
-                                           no-reply@pluspora.com +          (connect to mail.pluspora.com[82.223.1.82]:25: Connection timed out) 
-   +                                         no-reply@pluspora.com
-  -- 3 Kbytes in 1 Request.+
  
 +-- 3 Kbytes in 1 Request.
 +</code>
  
 +delete a specific message from  the mailqueue
 <sxh bash; gutter: false> <sxh bash; gutter: false>
 postsuper -d 92CF062722 postsuper -d 92CF062722
 </sxh> </sxh>
-  postsuper: 92CF062722: removed +<code> 
-  postsuper: Deleted: 1 message+postsuper: 92CF062722: removed 
 +postsuper: Deleted: 1 message 
 +</code>
  
 +display the mailqueue
 <sxh bash; gutter: false> <sxh bash; gutter: false>
 mailq mailq
 </sxh> </sxh>
-  Mail queue is empty +<code> 
 +Mail queue is empty 
 +</code>
 ---- ----
 ~~DISCUSSION~~ ~~DISCUSSION~~
  
pages/howtos/postfix/working-with-the-mailqueue.1643224185.txt.gz · Last modified: 2022/01/26 19:09 by mischerh