Hi Meghanand,

(I appended to your subject as your original one was very vague.)

Meghanand Acharekar wrote:
While running following IMAP learn script (see attachment) I am getting
following error message.

config: invalid regexp for rule OEM_SPAM: /Reinstall OEM with different
media???/i: Nested quantifiers in regex; marked by <-- HERE in
m/(?i)Reinstall OEM with different media??? <-- HERE /



I'm no spamassassin expert, but at least it seems that OEM_SPAM doesn't appear in the script, so it is probably complaining about an invalid spamassassin rule. Have you checked the rules that are either standard or that you added to see if the string "OEM_SPAM" exists somewhere? Try commenting it out and see if it works; if so, you should take a second look at that rule.

This seems to indicate where you can find the rules: http://wiki.apache.org/spamassassin/WritingRules

Also, the script calls sa-learn, which has an option to print debugging messages (-D, I think). Another thing you can try is to add -D to the places in the script that run sa-learn.


I am bit confused about what it means or indicates.
Is there any thing wrong with my perl installation.


For what it's worth, I ran "perl -c" on the script and it all checks out. You should give that a try.


I am also getting error while installation perl module Mail::IMAPClient

make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force



That's a different problem and I just installed Mail::IMAPClient and it was ok with me. Did you see what was the error it was giving you? Something should have printed before this message but might have scrolled off.

Ray



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to