Third Party Contributions > API Based Plugins
Markasjunk2, spamassassin and hmailserver
(1/1)
tparvais:
Hello
my setup: hmailserver, spamassassin in a box (Jam sofwtare) and roundcube 0.7.2
MarAsJunk2 plugin default features such as move to junk folder works fine.
I would like each time I tag a mail as jam to also teach spamassassin with sa-learn.exe. And vice-versa tag as a ham.
Do you know the commands to configure in MarasJunk2 ?
I tried $rcmail_config['markasjunk2_spam_cmd'] = 'c:\Program Files (x86)\JAM Software\SpamAssassin in a Box\sa-learn --spam --username=%u %f'
but nothing happened.
Thank you
Thomas
Yoni:
Hi Thomas,
The way I have implemented it myself is by using directory learn instead of sending the command on every user interaction.
I have spamassassin (Jam sofwtare) in c:\sa
I have created a SPAM folder to which all spam e-mails are reported to as follow:
SPAM
--- ham
--- spam
I have created scheduled tasks which runs at night, checks the spam and ham folders using sa-learn and then empties those folders respectively.
The idea was not to run sa-learn on every user interaction since we all know that spamassassin in Windows is prompt to memory leaks.
I have ran spamassassin for months now and the memory usage is steady at 127MB.
Maybe something like that will work for you. It does in my case.
tparvais:
Hello
Thank you for your feedback
I'm using hmailserver and I wonder how to write all mails arriving in one user iMap folder (spam/ham) to specific hard disk folder for post treatment with sa-learn ?
Thomas
Navigation
[0] Message Index
Go to full version