Results 1 to 2 of 2

Thread: Problem to training spam

  1. #1
    maschimidt is offline Senior Member
    Join Date
    Mar 2009
    Location
    Vitória - ES - Brazil
    Posts
    63
    Rep Power
    6

    Default Problem to training spam

    After a user complain that the box was full of spam, I found it strange because the training SpamAssassin to be every day at 23:00

    Running the command manually cron user spam box is still full and some errors appear in the log ...
    /Opt/zimbra/bin/zmtrainsa >> /opt/zimbra/log/spamtrain.log 2> & 1

    ================== ERROR LOG ================

    tail -f /opt/zimbra/log/spamtrain.log
    netset: cannot include 127.0.0.0/8 as it has already been included
    Learned tokens from 14 message(s) (59 message(s) examined)
    netset: cannot include 127.0.0.0/8 as it has already been included
    Learned tokens from 0 message(s) (0 message(s) examined)
    netset: cannot include 127.0.0.0/8 as it has already been included
    20120612133732 Finished spamassassin training.
    20120612133819 Starting spam/ham cleanup
    [] INFO: Total messages processed: 30
    [] INFO: Total messages processed: 0
    20120612133824 Finished spam/ham cleanup
    20120612133933 Starting spam/ham extraction from system accounts.
    [] WARN: exception occurred fetching message
    javax.mail.internet.ParseException: Expected ';', got "<"
    at javax.mail.internet.ParameterList.<init>(Parameter List.java:289)
    at javax.mail.internet.ContentType.<init>(ContentType .java:114)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1331)
    at javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:2107)
    at com.zimbra.common.zmime.ZMimeMessage.updateHeaders (ZMimeMessage.java:343)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:2075)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1770)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1749)
    at com.zimbra.cs.util.SpamExtract.writeAttachedMessag es(SpamExtract.java:379)
    at com.zimbra.cs.util.SpamExtract.extractMessage0(Spa mExtract.java:349)
    at com.zimbra.cs.util.SpamExtract.extractMessage(Spam Extract.java:296)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:245)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:194)
    [] WARN: exception occurred fetching message
    javax.mail.internet.ParseException: Expected ';', got "<"
    at javax.mail.internet.ParameterList.<init>(Parameter List.java:289)
    at javax.mail.internet.ContentType.<init>(ContentType .java:114)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1331)
    at javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:2107)
    at com.zimbra.common.zmime.ZMimeMessage.updateHeaders (ZMimeMessage.java:343)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:2075)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1770)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1749)
    at com.zimbra.cs.util.SpamExtract.writeAttachedMessag es(SpamExtract.java:379)
    at com.zimbra.cs.util.SpamExtract.extractMessage0(Spa mExtract.java:349)
    at com.zimbra.cs.util.SpamExtract.extractMessage(Spam Extract.java:296)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:245)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:194)
    [] WARN: exception occurred fetching message
    javax.mail.internet.ParseException: Expected ';', got "<"
    at javax.mail.internet.ParameterList.<init>(Parameter List.java:289)
    at javax.mail.internet.ContentType.<init>(ContentType .java:114)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1331)
    at javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:2107)
    at com.zimbra.common.zmime.ZMimeMessage.updateHeaders (ZMimeMessage.java:343)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:2075)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1770)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1749)
    at com.zimbra.cs.util.SpamExtract.writeAttachedMessag es(SpamExtract.java:379)
    at com.zimbra.cs.util.SpamExtract.extractMessage0(Spa mExtract.java:349)
    at com.zimbra.cs.util.SpamExtract.extractMessage(Spam Extract.java:296)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:245)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:194)
    [] WARN: exception occurred fetching message
    javax.mail.internet.ParseException: Expected ';', got "<"
    at javax.mail.internet.ParameterList.<init>(Parameter List.java:289)
    at javax.mail.internet.ContentType.<init>(ContentType .java:114)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1331)
    at javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:2107)
    at com.zimbra.common.zmime.ZMimeMessage.updateHeaders (ZMimeMessage.java:343)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:2075)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1770)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1749)
    at com.zimbra.cs.util.SpamExtract.writeAttachedMessag es(SpamExtract.java:379)
    at com.zimbra.cs.util.SpamExtract.extractMessage0(Spa mExtract.java:349)
    at com.zimbra.cs.util.SpamExtract.extractMessage(Spam Extract.java:296)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:245)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:194)
    [] WARN: exception occurred fetching message
    javax.mail.internet.ParseException: Expected ';', got "<"
    at javax.mail.internet.ParameterList.<init>(Parameter List.java:289)
    at javax.mail.internet.ContentType.<init>(ContentType .java:114)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1331)
    at javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:2107)
    at com.zimbra.common.zmime.ZMimeMessage.updateHeaders (ZMimeMessage.java:343)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:2075)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1770)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1749)
    at com.zimbra.cs.util.SpamExtract.writeAttachedMessag es(SpamExtract.java:379)
    at com.zimbra.cs.util.SpamExtract.extractMessage0(Spa mExtract.java:349)
    at com.zimbra.cs.util.SpamExtract.extractMessage(Spam Extract.java:296)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:245)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:194)
    [] WARN: exception occurred fetching message
    javax.mail.internet.ParseException: Expected ';', got "<"
    at javax.mail.internet.ParameterList.<init>(Parameter List.java:289)
    at javax.mail.internet.ContentType.<init>(ContentType .java:114)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1331)
    at javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:2107)
    at com.zimbra.common.zmime.ZMimeMessage.updateHeaders (ZMimeMessage.java:343)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:2075)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1770)
    at javax.mail.internet.MimeMessage.writeTo(MimeMessag e.java:1749)
    at com.zimbra.cs.util.SpamExtract.writeAttachedMessag es(SpamExtract.java:379)
    at com.zimbra.cs.util.SpamExtract.extractMessage0(Spa mExtract.java:349)
    at com.zimbra.cs.util.SpamExtract.extractMessage(Spam Extract.java:296)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:245)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:194)
    [] INFO: Total messages processed: 30
    [] INFO: Total messages processed: 0
    20120612133938 Finished extracting spam/ham from system accounts.
    20120612133938 Starting spamassassin training.
    netset: cannot include 127.0.0.0/8 as it has already been included
    Learned tokens from 0 message(s) (29 message(s) examined)
    netset: cannot include 127.0.0.0/8 as it has already been included
    Learned tokens from 0 message(s) (0 message(s) examined)
    netset: cannot include 127.0.0.0/8 as it has already been included
    bayes: synced databases from journal in 0 seconds: 738 unique entries (813 total entries)
    20120612133943 Finished spamassassin training.

  2. #2
    reason2008 is offline Intermediate Member
    Join Date
    Oct 2008
    Posts
    16
    Rep Power
    6

    Default

    I was having this problem. I found that there was an old message in the spam training account that zmtrainsa was having problems with. I deleted the message from the training account and the error went away.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 07-01-2009, 09:20 AM
  2. Spam training?
    By bramm in forum Zimbra Connector for Outlook
    Replies: 2
    Last Post: 02-09-2008, 04:14 PM
  3. Spam training e-mails go to catchall instead of spam account
    By richard-hdd in forum Administrators
    Replies: 9
    Last Post: 08-20-2007, 09:10 AM
  4. Spam Training
    By Krishopper in forum Administrators
    Replies: 4
    Last Post: 07-17-2007, 09:07 PM
  5. Spam training problem...
    By TaskMaster in forum Installation
    Replies: 2
    Last Post: 05-08-2007, 09:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •