Host to Delete a Specific Email in Postfix on Linux

Author: , September 14th, 2017

root@outbound:/var/log # postqueue -p -Queue ID- –Size– —-Arrival Time—- -Sender/Recipient——- 593E2FC69D 3970 Tue Sep 12 23:15:36 MAILER-DAEMON (connect to[]:25: Connection timed out) — 4 Kbytes in 1 Request. root@outbound:/var/log # postsuper -d 593E2FC69D postsuper: 593E2FC69D: removed postsuper: Deleted: 1 message root@outbound:/var/log # postqueue -p Mail queue is empty

How To Delete Blank Lines Using vim

Author: , June 19th, 2014

1 :g/^$/d :g/^$/d

How To Remove 802.1X Profiles in MacOSX Lion

Author: , August 22nd, 2013

In Terminal: 1 sudo mv /Library/Preferences/SystemConfiguration/ /Library/Preferences/SystemConfiguration/ sudo mv /Library/Preferences/SystemConfiguration/ /Library/Preferences/SystemConfiguration/ Then reboot. YMMV… This is why I am so upset with Apple these days – they constantly “dumb-down” MacOSX, removing features to “protect” the innocent public from harming themselves with the click of a mouse. Perfectly reasonable advanced features that existed in 10.6.8 are […]

How To Empty the Email Queue in Postfix

Author: , July 11th, 2013

postsuper -d ALL

How To Delete a Single Deferred Email in Postfix

Author: , January 6th, 2013

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[]: […]

How To Delete a Branch from a Remote Repo in GIT

Author: , November 21st, 2012

Do it locally: 1 git branch -d yourBranchName 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 git push origin :yourBranchName To – [deleted] yourBranchName

How To Delete Rows In MySQL Using An Inner Join

Author: , October 14th, 2011

1 2 3 DELETE D FROM order_detail D INNER JOIN orders O ON D.orderid = WHERE O.customerID = "$customerID" DELETE D FROM order_detail D INNER JOIN orders O ON D.orderid = WHERE O.customerID = “$customerID”

How To Delete Development File Versions (i.e. .css or .js)

Author: , June 30th, 2011

1 /usr/bin/find /my/dir -name "*.css" -a -not -name "*.min.*" -exec rm {} \; /usr/bin/find /my/dir -name “*.css” -a -not -name “*.min.*” -exec rm {} \;

How To Delete A Cookie Using Perl Or jQuery

Author: , May 3rd, 2011

Using 1 2 3 4 5 6 $cookie = cookie(    -name=>’ExampleCookieToDelete’,    -value=>”,    -expires=>’-1d’ ); print header(-cookie=>$cookie); $cookie = cookie( -name=>’ExampleCookieToDelete’, -value=>”, -expires=>’-1d’ ); print header(-cookie=>$cookie); Using jQuery and jquery.cookie.js 1 jQuery.cookie(’ExampleCookieToDelete’, null); jQuery.cookie(‘ExampleCookieToDelete’, null);

How To Search For And Delete Lines Globally In Vim

Author: , November 27th, 2010

Delete all comment lines: :g/^#/d Delete all blank lines: :g/^$/d