Byteplant Forum

Home » CleanMail Support » CleanMail Add-ons » Having a problem using Bayes
Having a problem using Bayes [message #203] Fri, 27 October 2006 17:49 Go to previous message
Frank
Messages: 3
Registered: October 2006
Junior Member
IMAP2MBOX is not logging on to my server which is a Win2k3 sbs. I get a message that states:

Unable to write temp config file spam.config-new: Permission denied at IMAP1BOX.pl line 269
IMAP connect failed: Unable to connect to: INVALID ARGUMENT

Here's the .bat file:

rem learns an mbox mail folder as spam
rem
rem execute this batch in installation directory
rem
rem imap2mbox has been previously configured to read from the mail server and
rem export the emails into the mbox container called "spam.mbox"
rem
rem
rem A logfile called spam.log is created so we can monitor the activities of
rem imap2mbox and spam-learn. Spam.log should be deleted periodically
rem
del spam.mbox

echo *===* >> spam.log
imap2mbox.exe --config=spam.cfg >> spam.log
if exist spam.mbox sa\sa-learn -C sa\ruleset --showdots --spam --mbox spam.mbox >> spam.log
sa\sa-learn -C sa\ruleset --showdots --force-expire >> spam.log
sa\spamassassin -x -C sa\ruleset --lint >> spam.log

Here's the config file:

[Server]
Name=MYSERVER
Port=143

[User]
Name=mydomain/frank/frank
Magic=Blanked Out
[Public Box]
Path=Public Folders/
Folder=spam

[Output]
Mbox=.\export.mbox

[Options]
Verbose=1
Delete=1
Timestamp=ThuOct261304252006

Any help please is appreciated.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Nod32 antivirus Filter
Next Topic: Bogofilter
Goto Forum:
  


Current Time: Tue Jan 17 20:16:08 CET 2017