Clear mail from specific address from exim queue

We have alot of issues with people using open contact forms on their websites causing spammers to fill up the exim mail queues on webservers. Today I found a great set of commands to fix the issue.

exim -bp will show the current queue

exiqgrep -ir spam@example.com | xargs exim -Mrm will query the entire queue for all IDs of one specific address and pipe that to be removed via exim -Mrm

Windows icon locations

C:\Windows\System32\Shell32.Dll C:\Windows\Explorer.Exe C:\Windows\System32\AccessibilityCpl.Dll C:\Windows\System32\Ddores.Dll C:\Windows\System32\GameUx.Dll C:\Windows\System32\imageres.dll C:\Windows\System32\MorIcons.Dll C:\Windows\System32\mmcndmgr.dll C:\Windows\System32\mmRes.Dll C:\Windows\System32\NetCenter.Dll C:\Windows\System32\netshell.dll C:\Windows\System32\networkexplorer.dll C:\Windows\System32\PifMgr.dll C:\Windows\System32\PniDui.Dll C:\Windows\System32\SensorsCpl.Dll C:\Windows\System32\SetupApi.Dll C:\Windows\System32\wmploc.DLL C:\Windows\System32\wpdshext.dll C:\Windows\System32\DDORes.dll C:\Windows\System32\compstui.dll

Webmin install made easier

A small script to automate the installation of webmin and adding it to source.list.d. sudo apt-get install apt-transport-https gnupg2 wget -y wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add – echo ‘deb https://download.webmin.com/download/repository sarge contrib’ | sudo tee /etc/apt/sources.list.d/webmin.list sudo apt-get update sudo apt-get install webmin -y Or without sudo: apt-get install apt-transport-https gnupg2 wget […]

Update SharePoint STS certificate

Renew the current self-signed certificate using IIS via “Server Certificates”, right-clicking on the current certificate and running the “Create Self-Signed Certificate”. Export this new certificate by right-clicking it. Then run the following PowerShell script using PowerShell ISE with Administrator rights; .’C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\POWERSHELL\Registration\SharePoint.ps1′ $pfxPath = “your file here.pfx” $pfxPass = “your password […]

Create a custom install USB stick using DISM

Install a windows laptop and setup everything according to your wishes. On Windows 10 you will need to remove all the apps from MarketPlace before capturing the image with the following command in PowerShell: Get-AppxPackage | Remove-AppxPackage After you have done this open run: sysprep /oobe /generalize /shutdown Once this is done, boot into the […]