Imail Web Administration Page SSO.

In my opinion Imail’s Active Directory integration is rudimentary at best. They took the all or nothing approach. The following code is something I wrote to let users logon with their Active Directory account to manage their Distribution Lists. It generates a random password in Imail and then automatically logs them in to the system. The user never knows their Imail password and they think its all connected.

Its also a simple example of HTML form automation with javascript.

GPO to Disable IP6 on Vista and 2008

Quick ADMX GPO policy to disable IP6 on your network according to MS KB 929852

IP6_disable.admx

IP6_disable.adml

A.D.A.M or AD LDS

Here is my AdamSync config using the ProxyUser class. It took me a while to get everything going right but it works and after a full sync the incremental syncs take less than 30 seconds.

We do not sync our entire AD partition only a subset. After alot of reading objectCategory is better then objectClass because objectCategory is indexed in AD.

Cross-Platform Message Box

I needed a cross-platform message box for Windows and Mac. I tried wxperl because its native on the mac but their is a bug with their MessageBox code on the mac.

This is pretty simple code, but uses each O/S’s native message box API to display a dialog. If you have Yes/No buttons and click yes it will perform the item in action. Which for us opens a webpage. You only need a standard perl installation for this code.


IIS ASP Redirect

This is a small asp script that will let you have alias in IIS with out having to make them in IIS. You can put this in a custom 404 page.

so in my site, if you go to http://www.stephenjc.com/google it will redirect you to google’s site.


WHS Bliss

I just finished upgrading my DNS-323 NAS to a Acer H340 Windows Home Server NAS.

I am also running Ahsay Off-Site backup software on the unit to backup my Macintosh laptops and a couple of friends computer.

So far no complaints. The media streaming to the Xbox 360 is great also.

Poor Man’s TS Universal Print Driver

All the terminal services print drivers I found were too expensive for a 2 user TS environment that I was maintaining.

  • On the client download and install this open source pdf print driver for windows http://www.pdfforge.org/.
  • Setup the pdf printer to automatically print to the client printer and to auto save.
  • On the server install the open source pdf print driver and delete the printer it creates so now you have the drivers on the server.

From the client connect to the terminal server and print a test page, you should get a print pop up asking to confirm the print settings.

The reason this works is that the pdfforge will send the PS document to the client computer to be processed. The best benefit is that its all free.

Blackberry Multiple ReplyTo Addresses

This is how i have multiple reply to addresses from a single account on BIS. For my example i am going to use gmail, this can easily be adapted to other mail providers.

If you try to add another email account to BIS that points to the same mailbox you will get an error message that the email account already exists. The trick is to use a different server name for each account even though they point to the same mailbox.

For my primary gmail account i use imap.gmail.com, for my secondary accounts i use pop.gmail.com, gpop1.mysecureservice.com gpop2.mysecureservice.com.

The gpop1 and gpop2 are just cnames to pop.gmail.com to trick BIS. You can either create your own cname records if you own a domain name or use mine.

  1. Make sure you can already send and receive from the other email accounts that you want to use in gmail.
  2. In BIS you need to be able to manually setup your account so in the system i usually use [email protected] and any password to get by the first screen and get into the custom setup.
  3. Now when you are setting up your alternate account be sure not to use the same server names but use the same username and password for your primary account.
  4. Set the email address to the address that you would like the From address to be in your email.
  5. After the account is added make sure you change the filter to only forward email on filter match. Since you have no filters no mail will be sent. This is to avoid duplicates.