@bobnoordam

Month: June 2020

Postfix queue management

Queue management for postfix is done with the postsuper command, which you can use to delete mail in vareious scenario’s. #1 Remove specific mail Run the mailq command to list pending mail, en get the id, next you can delete a specific mail with: #2 Remove ALL mail #3 Remove all deferred (stalled) mail, without touching mail that has had no delivery attempts yet

HTTPS redirect with web.config

If you configure HTTP to HTTPS redirection from the IIS console, it will get overwritten by the web.config form a published application. Here is how to configure http to https redirection isde your project web.config. We can also add non-www to www redirection, by using the setup below: