[Spambayes] IMAP Error: Must specify server details first

Tony Meyer tameyer at ihug.co.nz
Thu Sep 30 04:00:05 CEST 2004

> I just installed SpamBayes

>From the released source, or from CVS?  (I only realised after reading your
message that the version info will appear the same for either at the moment
- I'll correct that shortly).

> and am trying to configure it. I 
> brought up the configuration page and entered the name of my 
> server, as well as my username and password. However, if I then 
> click on "configure folders to filter" or "Configure folders to 
> train" on the home page, I immediately get an error saying:
> "Must specify server details first".
> What am I missing?

With the 1.0 source, I don't get this, but I do get an error if I try to do
it.  You can work around it by stopping the script, then starting it again
and trying to load the folder configuration pages.  (The script fails to
realise that you have entered the server/user details when it's the same

I had thought this was fixed, but apparently it wasn't:

[ 903905 ] IMAP Configuration Error

I have fixed it now, however.  Until 1.0.1/1.1a1 is released, you can still
use the workaround described above.

(If the workaround doesn't work (given that you got a slightly different
error), let me know and I'll investigate further).

> Also, if I click on the link to create a help message and try to 
> send it using the SpamBayes interface, it tells me:
> However, I don't see a field on the configuration page for the 
> SMTP details.

That's because there isn't one.  The primary reason for entering the SMTP
details are to use the SMTP proxy in conjuction with the POP3 proxy
(sb_server) - SpamBayes then uses them for sending the automatic help
messages.  However, with the IMAP filter, there's no need for the SMTP
proxy, so those were left off the configuration page.  It completely slipped
my notice that this would mean that you couldn't then use the automatic help
message page (without manually editing the configuration file).

I'll think about it and figure out a solution to this, perhaps letting
people enter SMTP details on the page, if necessary.

=Tony Meyer

Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes. This
way, you get everyone's help, and avoid a lack of replies when I'm busy.

More information about the Spambayes mailing list