* Brian Candler <[EMAIL PROTECTED]> [2004:05:08:10:57:43+0100] scribed: > On Fri, May 07, 2004 at 09:23:32PM -0500, Michael D Schleif wrote: > > How can I tell whether or not ispell support is _actually_ compiled into > > my instance of sqwebmail-4.0.3? > > # strings /usr/local/share/sqwebmail/libexec/sqwebmail/sqwebmaild | grep ispell > > Also, look in sqwebmail/config.log > > > Everything else sqwebmail appears to function properly: I can send and > > receive mail as any of several users. When I create a message, and try > > to Check spelling, then I get this page: > > > > Internal error (module sqispell.c, line 316) - > > contact system administrator > > > > > > # grep -n ispell ./sqwebmail/sqispell.c | grep 316 > > 316: if (!ispellptr) enomem(); <snip />
> If you're prepared to upgrade to sqwebmail-4.0.3.20040502, then I can do you > a patch to report the problem. Oh what the hell, here's the patch anyway. > > Don't do this on a production system: there's a new config file > ("sqwebmail") and a new startup script > (/usr/local/share/sqwebmail/libexec/sqwebmaild.rc) [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 Correcting this fixed the problem: /usr/local/share/sqwebmail/html/en-us/ISPELLDICT [2] In mutt, I have always preferred aspell over ispell. In sqwebmail, is this a simple drop-in replacement? --enable-ispell=/usr/bin/aspell [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? Thank you, very much for your participation. -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . --
signature.asc
Description: Digital signature