Showing posts with label lotus notes. Show all posts
Showing posts with label lotus notes. Show all posts

Wednesday, September 28, 2005

Lotus Notes 6.5.4 & OS X 10.4 Tiger

I have switched from Windows2K to OS X for my personal desktop OS -- I'm running it on an older G4 but its more than enough for my lightweight web, email, and ssh usage.

Of course the first thing I installed on my new system after Firefox was Lotus Notes v6.5.4 which went smoothly and is working nicely. Yesterday I upgraded to OS X 10.4 Tiger and am happy to report that Notes 6.5.4 works perfectly though I did make a few changes.

Fist off, I had neglected to disable the Dynamic Config Client which has been a source of problems on Notes Mac for a while. The best way to disable it is in the "notes.ini file which doesn't really exist on the mac but you can use NiniX from Kissworks to edit what you would normally find in the notes.ini file on windows.

DisableDynConfigClient=1

I also used NiniX to up the font size as it was a wee bit small for me compared to what I'm used to on windows.

The next thing that needed fixing was the F9 mapping to Dashboard or whatever. I mapped the conflicting shortcut to Shift-F9 in System Preferences - Mouse & Keyboard - Keyboard Shortcuts and Notes' F9 refresh worked once again. After playing with it for a few minutes I decided that Dashboard was a silly waste of RAM and decided that is needed to go. I found the magic incantation here

Open Terminal, and then type this command, followed by the Return key:

defaults write com.apple.dashboard mcx-disabled -boolean YES

I also set Notes to use Firefox as the default browser in the Location doc. So far I'm really liking Notes on OS X and that was the last thing keeping me on Windows.

Tuesday, July 19, 2005

HOWTO : Sendmail & Lotus Domino (on the same box)

The new DNSBL feature in Domino6 is definately a step forward in the fight against spam, however the lack of any built-in support for the $DNSBLSites tags in the Notes client makes the feature much less than useful than Lotus would have you believe. I'm a big fan of the open source anti-spam/anti-virus tools for sendmail -- SpamAssassin, ClamAV, etc. and really wanted to use them in front of Domino. The only problem was that I didn't have an extra box sitting around to use as an inbound relay in front of the Domino server. So I figured I'd just run sendmail on port 25 and the Domino SMTP listener task on port 26 and relay from one to the other. I'd already done pretty much the same thing using Symantec Anti-Virus for SMTP Gateways and Domino on the same Win2K box so I knew it could work...in theory.

I got it all configured without too much trouble but sendmail simply would not relay anything to localhost and kept generating this error:

553 mail.mydomain.com. config error: mail loops back to me (MX problem?)

I know it loops back to me -- that's the idea! I found plenty of helpful info on how to correct the MX error which usually is the cause of that error message. But I couldn't find any mention of howto ignore the error and relay anyway. I was certain sendmail could do it but I was having no luck finding that magic incantation. After reading some sendmail/anti-virus howtos, I contemplated writing a custom delivery agent to get the mail to Domino. I was slowly making my way through the chapter on delivery agents in the "bat book" when i found the answer to the loopback problem:

define(`SMTP_MAILER_FLAGS', `k')dnl

The k flag tells sendmail to ignore loopback errors and sure enough, once I added that line to my sendmail.mc, the mail relayed through sendmail to Domino flawlessly.

Here's the relevant lines from my sendmail.mc:

define(`SMART_HOST',`esmtp:[127.0.0.1]')dnl
define(`SMTP_MAILER_FLAGS', `k')dnl
define(`LOCAL_MAILER_FLAGS', `k')dnl
define(`confRELAY_MAILER', `esmtp')dnl
define(`RELAY_MAILER_ARGS', `TCP localhost 26')dnl
define(`SMTP_MAILER_ARGS', `TCP localhost 26')dnl
define(`ESMTP_MAILER_ARGS', `TCP localhost 26')dnl

I was originally using mailertable to do the relay for specific domains only, which is why the RELAY_MAILER lines are in there, but I ended up using SMART_HOST instead becuase it skips mailertable all together -- one less file to edit. Whichever you choose, smarthost or mailertable, you'll need the domains you want relayed to Domino in the relay-domains file and *not* in the local-host-names file.

In the next post I'll try installing and configuring MailScanner, which is a mail framework that wraps up SpamAssassin, your choice of anti-virus, DCC, Razor, and Pyzor, into a sort of "sendmail sandwich."

Wednesday, July 13, 2005

HOWTO : Lotus Domino on Fedora Core 4 x86_64

I just installed Lotus Domino v6.5.3 on Fedora Core 4 x86_64 (AMD Athlon64) with only a couple hiccups. After the install, there was the usual "libstdc++-libc6.1-1.so.2 not found" error when I started the server in listen mode which was easily fixed with a few yum commands:

>yum provides libc6.1-1.so.2

which said the lib could be found in compat-libc++-296.i386, so...

>yum install compat-libc++-296.i386

After that I was able to start the server in listen mode and complete remote configuration.

This was an additional server in the domain and I had a bit of trouble getting it to talk to the other servers in the domain. This could probably have been avoided by adding connection docs for the new server in the directory after registering it, but *before* starting the installation of the new server.

Also, I was pleasantly suprised to see that the server setup provided an alternative to pulling the admin databases over the network -- it can look for them on the local file system. So you could simply copy (FTP) the necessary databases from another server in the domain beforehand. Its a classic workaround to the problem of trying to pull names.nsf without the connection docs in names.nsf and it was nice to see it as an option.