Thanks for answer, I'd like the same. But the problem is, that we have virtual accounts only and we do not use saving settings. The GUI is simple as possible, we had remove almost everything, that only reading/answering mails is possible in the IMP. I have the problem, that SAM/spamassassin is defaultly OFF for each user. I want to add to the folder menu the "learn-spam" folder only if the user has the SAM = on. That's saved in the database and first I need to read it (maybe via DB::pgsql or something). I'm just trying to program it (examples are in the source of IMP included) but without success for this while :/
On Sun, 21 Sep 2003, Robert Menschel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Tomá?, > > Sunday, September 21, 2003, 6:46:38 AM, you wrote: > > TM> I'm just developing something for our Webmail based on Horde+SAM+Imp. > > We use Horde here for webmail. Don't know whether SAM or Imp is in use. > TM> In the IMP you can mark the messages for deletion or for moving into > TM> another folder and now I want to use this option to save the messages > TM> into the system-wide folder, where would wait sa-learn with the > TM> "-spam" parameter (run by means of the cron daemon). The user marks > TM> the message, the message is moved into the folder and sa-learn will > TM> learn the message as spam. I'm afraid it's not simple for > TM> developing... > > Do you need system-wide learn folders? I have a learn-spam and > learn-notspam folder set up for each individual webmail/horde user, and > an hourly cron job which runs sa-learn against those folders whenever > they're non-empty. > > Bob Menschel > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0 > > iQA/AwUBP25Q7ZebK8E4qh1HEQL/1QCfaqBt4qJsFncuQEvcNe8oJDfO3jsAoJ8d > ehKLUjtKeU7g8uulBFQeirdL > =E/rx > -----END PGP SIGNATURE----- > > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk