Re: [Dspam-user] Cyrus training scripts...

2010-04-13 Thread Nathanael D. Noblet
On 04/13/2010 11:43 PM, Stevan Bajić wrote:
> On Tue, 13 Apr 2010 20:37:27 -0600
> Nathanael Noblet  wrote:
>
>>
>> On Apr 12, 2010, at 2:50 PM, Stevan Bajić wrote:
>>> you mean this here?
>>> https://docs.astro.columbia.edu/browser/trunk/packages/cal-meta/src/scripts/cal-dspam-process
>>>
>>> A slightly modified version can be found here (you need however to fix line 
>>> breaks in the attached Perl code and fix the replaced email addresses):
>>> http://www.mail-archive.com/dspam-us...@lists.nuclearelephant.com/msg01479..html
>>>
>>
>> In both cases I'm not sure how to get this working... I have a user that has 
>> admin rights to cyrus, when it lists the mailboxes it sees something like...
>>
>> INBOX/Folder...
>>
>> user/UN1/Folder1
>> user/UN1/Folder2
>> user/UN2/Folder1
>> user/UN2/Folder2
>>
> "user" would be something like "nathanael". Right? What is "UN1", "UN2"?

Nope, user is just part of CyrusIMAP, UN1 = UserName1 etc..

> It has been some time since I used Cyrus IMAPD. Are you using the original 
> script or the modified one? I think the originial script only works if your 
> Cyrus namespace uses full usern...@domain.tld schema. The modified script is 
> supposed to work even if you use a namespace that does not follow 
> usern...@domain.tld schema (aka: virtual users).

I've been trying both. However I have the cal-dspam-process *almost* 
working now... just having issues getting it to pull the 
X-DSPAM-Signature...

> I have forgotten a lot since I don't use Cyrus IMAPD but I remember that you 
> can have a standard namespace and an alternative namespace with Cyrus IMAPD. 
> Which one are you using?
>
> If I am not wrong you could even use a namespace that resembles a Unix 
> hierarchy convention. Are you using that? Maybe you could post your 
> imapd.conf?
>
> I would probably need to setup again Cyrus IMAPD over here in order to be 
> helpful to you.

I'm pretty close to having it all done now... sending the email is 
usually all I need and then something starts working ;)...

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


Re: [Dspam-user] Cyrus training scripts...

2010-04-13 Thread Stevan Bajić
On Tue, 13 Apr 2010 20:37:27 -0600
Nathanael Noblet  wrote:

> 
> On Apr 12, 2010, at 2:50 PM, Stevan Bajić wrote:
> > you mean this here?
> > https://docs.astro.columbia.edu/browser/trunk/packages/cal-meta/src/scripts/cal-dspam-process
> > 
> > A slightly modified version can be found here (you need however to fix line 
> > breaks in the attached Perl code and fix the replaced email addresses):
> > http://www.mail-archive.com/dspam-us...@lists.nuclearelephant.com/msg01479..html
> > 
> 
> In both cases I'm not sure how to get this working... I have a user that has 
> admin rights to cyrus, when it lists the mailboxes it sees something like...
> 
> INBOX/Folder...
> 
> user/UN1/Folder1
> user/UN1/Folder2
> user/UN2/Folder1
> user/UN2/Folder2
> 
"user" would be something like "nathanael". Right? What is "UN1", "UN2"?


> However I can't seem to use/see anything past that. I can't examine them, 
> list / select folders within them etc... What am I missing?
> 
It has been some time since I used Cyrus IMAPD. Are you using the original 
script or the modified one? I think the originial script only works if your 
Cyrus namespace uses full usern...@domain.tld schema. The modified script is 
supposed to work even if you use a namespace that does not follow 
usern...@domain.tld schema (aka: virtual users).

I have forgotten a lot since I don't use Cyrus IMAPD but I remember that you 
can have a standard namespace and an alternative namespace with Cyrus IMAPD. 
Which one are you using?

If I am not wrong you could even use a namespace that resembles a Unix 
hierarchy convention. Are you using that? Maybe you could post your imapd.conf?

I would probably need to setup again Cyrus IMAPD over here in order to be 
helpful to you. 


> -- 
> Nathanael
-- 
Kind Regards from Switzerland,

Stevan Bajić

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


Re: [Dspam-user] Cyrus training scripts...

2010-04-13 Thread Nathanael Noblet

On Apr 12, 2010, at 2:50 PM, Stevan Bajić wrote:
> you mean this here?
> https://docs.astro.columbia.edu/browser/trunk/packages/cal-meta/src/scripts/cal-dspam-process
> 
> A slightly modified version can be found here (you need however to fix line 
> breaks in the attached Perl code and fix the replaced email addresses):
> http://www.mail-archive.com/dspam-us...@lists.nuclearelephant.com/msg01479.html
> 

In both cases I'm not sure how to get this working... I have a user that has 
admin rights to cyrus, when it lists the mailboxes it sees something like...

INBOX/Folder...

user/UN1/Folder1
user/UN1/Folder2
user/UN2/Folder1
user/UN2/Folder2

However I can't seem to use/see anything past that. I can't examine them, list 
/ select folders within them etc... What am I missing?

-- 
Nathanael
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


Re: [Dspam-user] Cyrus training scripts...

2010-04-12 Thread Stevan Bajić
On Mon, 12 Apr 2010 14:08:19 -0600
"Nathanael D. Noblet"  wrote:

> Hello,
> 
Hallo Nathanael,


>I'm looking at changing the way we process retraining. Currently we 
> have a special address which mail is sent to. I'd like to setup 
> 'special' folders on our IMAP server where we can drop the messages for 
> training as spam or innocent. I use a cyrus imap server. In searching 
> via google I found a post from Nov 2007 where they posted a perl script 
> doing that. However the ML system stripped out some of it and so I'm 
> left either writing it myself or seeing if anyone has one lying around here.
> 
>Anyone...?
> 
you mean this here?
https://docs.astro.columbia.edu/browser/trunk/packages/cal-meta/src/scripts/cal-dspam-process

A slightly modified version can be found here (you need however to fix line 
breaks in the attached Perl code and fix the replaced email addresses):
http://www.mail-archive.com/dspam-us...@lists.nuclearelephant.com/msg01479.html


-- 
Kind Regards from Switzerland,

Stevan Bajić

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user