How To Empty the Email Queue in Postfix

postsuper -d ALL
![]() |
To view the Postfix deferred queue: postqueue -p To view a specific email: postcat -q {Queue ID} To delete a specific email: postsuper -d {Queue ID} Example of viewing the deferred queue and deleting a message: # postqueue -p -Queue ID- –Size– —-Arrival Time—- -Sender/Recipient——- E15B9FC221 11627 Sun Jan 6 16:47:29 MAILER-DAEMON (connect to sight.mlorol.com[46.249.46.181]: […]
Do it locally:
1 |
git branch -d yourBranchName |
Deleted branch yourBranchName (was 340c10d). Do it remotely, and please note the : below! (replace origin with your repo, if different)
1 |
git push origin :yourBranchName |
To git.yourServer.com:/repos/yourProject.git – [deleted] yourBranchName
1 |
git push origin --delete yourBranchName |
1 2 3 |
DELETE D FROM order_detail D INNER JOIN orders O ON D.orderid = O.id WHERE O.customerID = "$customerID" |
1 |
/usr/bin/find /my/dir -name "*.css" -a -not -name "*.min.*" -exec rm {} \; |
Using CGI.pm
1 2 3 4 5 6 |
$cookie = cookie( -name=>'ExampleCookieToDelete', -value=>'', -expires=>'-1d' ); print header(-cookie=>$cookie); |
Using jQuery and jquery.cookie.js
1 |
jQuery.cookie('ExampleCookieToDelete', null); |
Delete all comment lines: :g/^#/d Delete all blank lines: :g/^$/d