I have running a batch file (to teach it what is spam) using the IMAP2Mbox.exe process for a long time now and it always worked smoothly. Recently, I started getting the following error message:
IMAP login failed: 1 NO A required privilege is not held by the client
Attached are the contents of the batch file I use and the spam.cfg file.
del spam.mbox
echo *===* >> spam.log
imap2mbox.exe --mbox=spam.mbox --folder=SPAM --config=spam.cfg --username="DOLAN/ksteutermann/ksteutermann" --pass="*.*.*.*.* " --server=DOLANPDC .dolan.compdata survey.com --path="Public Folders/" --debug --verbose >> 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
CFG file contents:
[Server]
Name=DOLANPDC.d olan.compdatasu rvey.com
Port=143
[User]
Name=DOLAN/ksteutermann/ksteutermann
Magic=JyUiPG42V FNBQFFaYwwILUZc AgADAQAFAAQCB31 Ybkp1bDMwMTAyMT I0MjAwNw==
[Public Box]
Path=Public Folders/
Folder=SPAM
[Output]
Mbox=spam.mbox
[Options]
Verbose=1
Delete=0
Timestamp=MonJu l301021242007
IMAP login failed: 1 NO A required privilege is not held by the client
Attached are the contents of the batch file I use and the spam.cfg file.
del spam.mbox
echo *===* >> spam.log
imap2mbox.exe --mbox=spam.mbox --folder=SPAM --config=spam.cfg --username="DOLAN/ksteutermann/ksteutermann" --pass="*.*.*.*.* " --server=DOLANPDC .dolan.compdata survey.com --path="Public Folders/" --debug --verbose >> 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
CFG file contents:
[Server]
Name=DOLANPDC.d olan.compdatasu rvey.com
Port=143
[User]
Name=DOLAN/ksteutermann/ksteutermann
Magic=JyUiPG42V FNBQFFaYwwILUZc AgADAQAFAAQCB31 Ybkp1bDMwMTAyMT I0MjAwNw==
[Public Box]
Path=Public Folders/
Folder=SPAM
[Output]
Mbox=spam.mbox
[Options]
Verbose=1
Delete=0
Timestamp=MonJu l301021242007