Tuesday, December 06, 2005
ACT 2005 Install fails on SQLHotfix818.exe on Small Business Server 2003
1. Go to Add/Remove Programs and remove any references to MS SQL Desktop Engine (including SharePoint and SBSMonitoring, you can reinstall these if you need them. If you actively use either, make sure you have a backup!).
2. Rename C:\Program Files\Microsoft SQL Server to something else, so the ACT install can't find it.
3. Make sure the SYSTEM user has full access to the C:\ drive (per ACT KB article #16478)
4. Make sure all services that start with MSSQL$ are stopped (Start -> Administrative Tools -> Services)
5. If ACT is installed, uninstall it.
6. Now install ACT, and you should be good to go.
Monday, December 05, 2005
Horde/IMP won't create sent mail folder. This is what the server said: Invalid mailbox name
under $servers['imap'] (or whatever server you're using - 'imap' is the default - change the namespace and folder lines to read:
'folders' => 'INBOX.',
'namespace' => '',
Note the trailing dot after INBOX. Then you have to LOG OUT AND LOG BACK IN before the changes will take effect. The docs suggest that these options should be the other way around for Courier-IMAP, but it doesn't seem to work that way.
Thursday, September 22, 2005
Changing file associations in windows as a non administrator user
Option Explicit
Dim objShell
set objShell = WScript.CreateObject ("WScript.Shell")
'----------------------------------------------------------------
' Don't edit above here
'
' Below is an example of associating PDF files with AcroRd32.exe
' You can change this to whatever you need, and just
' copy and paste the line over again to add more associations.
'-----------------------------------------------------------------
addFileAssociation ".pdf", "AcroRd32.exe"
'-------------------------
' Don't edit below here
'-------------------------
Sub addFileAssociation( fileExt, whichApp )
If ( Left(fileExt, 1) <> "." ) Then
fileExt = "." & fileExt
End If
objShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & fileExt & "\Application", whichApp
End Sub
Saturday, September 17, 2005
passing username to spamc through maildrop with postfix
xfilter "/usr/local/bin/spamc -u USERNAME"
and have the username changed to the recipient for the mail being processed. After stumbling through some changes in master.cf and trying different maildrop variables, I found that the easiest way to get the username to the script was simply to pass ${recipient} as a parameter to maildrop in master.cf, like this:
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} ${recipient}
(yes, ${recipient} should be there twice.) This way, I can always pull the recipient email address directly into the maildroprc file by referencing $1. So my xfilter line became:
xfilter "/usr/local/bin/spamc -u $1"
then I just fleshed out my maildroprc script (i'd post it here but it's pretty specific to my setup, and other howtos on maildrop/postfix are available) to handle what happens if a mail is tagged as spam.
Tuesday, July 26, 2005
Windows XP automatically tries to search when you click a folder
The following is from http://windowsxp.mvps.org/searchwindow.htm:
If you double-click a drive or folder, Search Companion may start and the drive or folder may not open. 'Search' will be the top most in the right-click context menu for a folder or drive. This usually happens if you've edited the File Folder or Drive via the Folder Options File Types dialog, in order to add a context-menu item such as "Command Prompt here", "Print Directory" feature for folders or drives.
References:
http://support.microsoft.com/?kbid=321379
http://support.microsoft.com/?kbid=321186
Quick fix
Click Start, Run and type this command:
regsvr32 /i shell32.dll
(Tip from David Candy)
To fix the problem manually, open Registry Editor and navigate to:
HKEY_CLASSES_ROOT\Directory\shell
-and-
HKEY_CLASSES_ROOT\Drive\shell
-
In the right-pane, locate and click the (Default) value under the keys mentioned above
-
Click Modify on the Edit menu.
-
Type the word none in the Value data box, and then click OK.
-
Exit Registry Editor.
Windows (WSH) Shell Login scripts won't run after allowing specified programs
Bottom line:
Can't get VBS scripts to run due to having specified an allowed list of windows applications? Try adding wscript.exe to the list.
Users restricted from changing their volume settings for the same reason? Try adding sndvol32.exe.
Thursday, June 02, 2005
Proftpd can't find libmysqlclient.so.14 inside chroot jail
Tuesday, March 01, 2005
mysqldump out of memory error 5
bottom line:
mysqldump giving "out of memory" error, try:
optimze table myTable
Monday, February 28, 2005
Windows MSI installer won't install
Bottom Line:
clicking an MSI file seems to do absolutely nothing? Try granting full access permissions to the windows group "EVERYONE" and see if things change. If security is important on the MSI file, take away the full access as soon as you are finished installing.