Deleting Mail from Postfix’s mailq
February 9th, 2009
Comments Off
Use the command:
postsuper -d ALL to remove all mail
postsuper -d #MAIL ID# to remove a single peice of mail from the mailq
Use the command:
postsuper -d ALL to remove all mail
postsuper -d #MAIL ID# to remove a single peice of mail from the mailq
Because IE caches GET requests, I found that jqModal dialogs cache unless the following header info is added:
header( “Last-Modified: ” . gmdate(”D, d M Y H:i:s”) . ” GMT” );
header( “Cache-Control: no-cache, must-revalidate” );
header( “Pragma: no-cache” );
Note: Using CakePHP 1.1, I wanted to add this to a special “dialog layout”. For some reason it the caching continued unless I added it to the controller or view.