Archive for November, 2010

Postfix, Cyrus SASL and [email protected] login

November 11th, 2010

This took me a bit of Googling to figure out. In order to get Postfix and Cyrus saslauthd to work nicely together using “[email protected]” username format, in /etc/sysconfig/saslauthd add the following flag at the bottom:

# Additional flags to pass to saslauthd on the command line. See saslauthd(8)
# for the list of accepted flags.

Man page for this flag:

-r Combine the realm with the login (with an [email protected] sign in between). e.g. login:
“foo” realm: “bar” will get passed as login: “[email protected]”. Note that the realm
will still be passed, which may lead to unexpected behavior.

Microsoft Security Essentials – Auto Update Without Windows Update: How to

November 11th, 2010

Here’s a quick method I devised on how to get Microsoft Security Essentials (free: to automatically update without needing to use Windows Update. Many individuals (like me!) like to read what updates MS is wanting to put on your computer before allowing them to do so. The only problem is, Security Essentials wants to always update through Windows Update, so if you have Windows Update set to notify you before downloading, you are having to accept the Security Essentials update every single day. That quickly becomes annoying. Here’s a way around it:
* Download hstart from here:
This is software that allows you to feed it console commands that it will run silently in the background for you.

* Extract either hstart.exe or hstart64.exe (depending on what version of Windows you are running) and extract it somewhere out of the way, such as C:\Windows

* Add a scheduled task that runs every 3 hours. I have found 3 hours keeps it updated enough that Windows Update won’t bother you about it.

In Task Scheduler:

Program / Script to start: C:\Windows\hstart64.exe (or hstart.exe depending on which one you extracted)
Add Arguments: /NOCONSOLE “%ProgramFiles%\Microsoft Security Essentials\MpCmdRun.exe -SignatureUpdate”

Save the scheduled task, and you are done! Security Essentials will now silently update itself every 3 hours in the background, and you will never have to rely on Windows Update for these updates again!

Note: The location of MpCmdRun.exe has changed in MSE 2.0. The new location is: C:\Program Files\Microsoft Security Client\Antimalware\MpCmdRun.exe