Well, I’m setting up spam/virus filter at the moment. Somewhere I found, that when doing so one should enable soft_bounce=yes in your /etc/postfix/main.cf. Now, once I finished setting up my mailing setup, I wanted to manually force the delivery.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Check for mails still in the mail-queue
root:(eris.heimdaheim.de/mailing) PWD:~
Wed Jun 19, 17:57:10 [0] > mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
B404F1B42C     2751 Wed Jun 19 17:58:01  christian.th.heim@gmail.com
                                                                (user unknown)
                                         christian@heimdaheim.de

C250F1B427     2770 Wed Jun 19 17:53:31  christian.th.heim@gmail.com
(lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
                                         christian@heimdaheim.de

-- 6 Kbytes in 2 Requests.

Now, if you fixed the mail delivery, you just need to enter the following:

1
2
3
4
root:(eris.heimdaheim.de/mailing) PWD:~
Wed Jun 19, 17:57:10 [0] > postsuper -r ALL
root:(eris.heimdaheim.de/mailing) PWD:~
Wed Jun 19, 17:57:11 [0] > postfix flush

However if you want to delete the mail from the postfix queue:

1
2
root:(eris.heimdaheim.de/mailing) PWD:~
Wed Jun 19, 17:57:11 [0] > postsuper -d ALL deferred