On Sat, May 08, 2004 at 02:26:21PM -0500, Michael D Schleif wrote:
> [1] OK, it's done, and I have debugged my problem.  It turns out that my
> dictionary is called `american', not `english'.  /var/log/mail.info
> showed this:
> 
>     sqwebmaild: Can't open /usr/lib/ispell/english.hash^M

OK, that's a stderr message from ispell itself, which is being picked up by
courierlogger.

> [2] In mutt, I have always preferred aspell over ispell.  In sqwebmail,
> is this a simple drop-in replacement?
> 
>     --enable-ispell=/usr/bin/aspell

Sorry, I don't know. It's easy enough to try though - even using mv to
temporarily replace one with the other :-)

> [3] If I read your sqwebmail-ispelldebug patch correctly, it simply
> facilitates logging of ispell related errors -- right?  Is there
> anything wrong with leaving this patch in place in production code?

No, there shouldn't be any problem with the extra printf's.

The main difference between this snapshot and the previous release is the
way that sqwebmaild is run. Instead of running it directly, and it
daemonizing itself (losing its stderr in the process), it is now run under
the control of a 'courierlogger' process, which has gained the ability to
spawn a child and perform the daemonizing itself.

This means that anything which sqwebmaild spits out to stderr is now caught
and sent to syslog. So your particular error would in fact have been shown
by the dev snapshot, even without my patch.

Regards,

Brian.

Reply via email to