I do this on our servers here, I use fetchmail with IMAP. I have setup the public folder for everyone to dump into but then have to pull the SPAM into a local folder in my inbox to feed it to fetchmail, because IMAP does not support the public folders only mailbox folders. I setup a folder at the root of my Folders called “junk” (same level as “Inbox”) and then run the following scripts. I also pull HAM into another folder called “HAM” at the root, with good e-mail prom people to balance out the system. The trick is to setup fetchmail to pull from the mailbox you are using. Now that it is setup it’s a pretty east thing to run manually.

 

 

 

/usr/local/bin/fetchmail -a -v -n --folder Junk -m 'sa-learn --spam'

 

/usr/local/bin/fetchmail -a -v -n --folder HAM -m 'sa-learn --ham'

Robert

 

 

 

 

 

 

Peace he would say instead of goodbye....peace my brother.


From: Johnson, S [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 11:22 AM
To: users@spamassassin.apache.org
Subject: reading in exchange folder for salearn

 

I’ve created a public folder on exchange for the purpose of putting in spam that SA missed.  I’m attempting to use fetchmail to grab the messages. 

 

Has anyone else done this before?  I found a few posts on the internet but nothing too descript.

 

Do I need to dump these messages into a directory or a mailbox on the localbox?


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Confidentiality Notice

If the information in this electronic communication relates to an individual pupil, it is a confidential pupil record under Minnesota Law and may not be reviewed, distributed, or copied by any person other than the individual(s) to whom it is addressed. This electronic communication is intended solely for the use of the individual(s) to whom it is addressed. If you are not the intended recipient, any further review, dissemination, distribution, or copying of this electronic communication or any attachment thereto is strictly prohibited. If you have received an electronic communication in error, you should immediately return it to the sender and delete it from your system.

Reply via email to