Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-2011, 03:16 AM
Active Member
 
Posts: 33
Question [SOLVED] Spam learning: junk folder or junk button

Hi,

I have a simple question which I can't seem to find the answer to: If I press the junk button, a junk message is moved to the junk folder. It is also submitted for learning.

But when I move the message to the junk folder manually, is it still submitted for learning?

This is relevant when using my Zimbra account on my phone with IMAP; I don't have a junk button there.
Reply With Quote
  #2 (permalink)  
Old 04-19-2011, 05:37 AM
Moderator
 
Posts: 2,207
Default

AFAIK, in 6.0.9, moving the message to "Junk" is enough (that was not the case in the old days).
Reply With Quote
  #3 (permalink)  
Old 04-19-2011, 05:53 AM
Active Member
 
Posts: 33
Default

I just updated my profile, I'm running version 6.0.10 (soon to upgrade to 7)

I see that in /var/log/mail.log there are entries like:

Code:
postfix/smtp[24261]: B0BDF182036: to=<spam.xxxxx@halfgaar.net>
So I guess I had to look there before asking. I will tail that log next time I move a spam message to junk.
Reply With Quote
  #4 (permalink)  
Old 04-19-2011, 07:02 AM
Outstanding Member
 
Posts: 717
Default

You should also see a line with a little more detail in /opt/zimbra/log/mailbox.log when you move the message, also.
__________________
01 Networks, LLC / Cybernetik.net
Zimbra NE and OSS Cloud Hosting
Shared Web Hosting
Consulting Services
Reply With Quote
  #5 (permalink)  
Old 04-20-2011, 11:50 AM
Moderator
 
Posts: 1,432
Default

Moving a message to junk manually in ZWC, or via an IMAP client, ActiveSync, ZCO--any of these--will send a copy of it to the spam account for training. Likewise, moving a moving a message out of junk will send it to the ham account. (I think the sole exception is if you move it from junk directly into Trash.)

Bug 9532 &ndash; IMAP/Outlook move to junk doesn't train anti-spam
Bug 34534 &ndash; Don't mark as ham when messages are moved from Junk -> Deleted Messages
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #6 (permalink)  
Old 04-22-2011, 03:24 AM
Active Member
 
Posts: 33
Default

I got a new spam message to test with. I moved it to junk through IMAP.

It's trying, but no cigar:

Code:
2011-04-22 12:24:34,468 WARN  [Junk-NotJunk-Handler] [] misc - exception occurred sending spam report spamreport: acct=wiebe@halfgaar.net mbox=3 id=56997 report=spam origIp=null
javax.mail.MessagingException: IOException while sending message;
  nested exception is:
	java.io.IOException: /opt/zimbra/store/0/3/msg/13/56997-65254.msg does not exist.
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:779)
	at javax.mail.Transport.send0(Transport.java:191)
	at javax.mail.Transport.send(Transport.java:120)
	at com.zimbra.cs.service.util.SpamHandler.sendReport(SpamHandler.java:178)
	at com.zimbra.cs.service.util.SpamHandler.reportLoop(SpamHandler.java:236)
	at com.zimbra.cs.service.util.SpamHandler$1.run(SpamHandler.java:131)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: /opt/zimbra/store/0/3/msg/13/56997-65254.msg does not exist.
	at com.zimbra.cs.store.BlobInputStream.<init>(BlobInputStream.java:144)
	at com.zimbra.cs.store.BlobInputStream.<init>(BlobInputStream.java:96)
	at com.zimbra.cs.store.file.FileBlobStore.getContent(FileBlobStore.java:330)
	at com.zimbra.cs.store.file.FileBlobStore.getContent(FileBlobStore.java:324)
	at com.zimbra.cs.mime.MailboxBlobDataSource.getInputStream(MailboxBlobDataSource.java:56)
	at javax.activation.DataHandler.writeTo(DataHandler.java:290)
	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1381)
	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:852)
	at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:452)
	at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:98)
	at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869)
	at javax.activation.DataHandler.writeTo(DataHandler.java:302)
	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1381)
	at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1742)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:737)
	... 6 more
Reply With Quote
  #7 (permalink)  
Old 04-29-2011, 11:05 AM
Active Member
 
Posts: 33
Default

But has been fixed in 7.1. I moved the message to Junk with IMAP:

Code:
2011-04-29 20:06:56,562 INFO  [Junk-NotJunk-Handler] [] misc - Sent SpamReport{account=wiebe@halfgaar.net, mbox=3, msgId=57397, isSpam=true, origIp=null, action=imap copy, srcFolder=/Inbox, destFolder=/Junk, destAccount=null, reportRecipient=spam.xxxxxx@halfgaar.net}
2011-04-29 20:06:57,209 INFO  [LmtpServer-1] [ip=83.137.146.229;] lmtp - Delivering message: size=5238 bytes, nrcpts=1, sender=, msgid=<1108656128.367.1304100416267.JavaMail.root@meel>
2011-04-29 20:06:57,216 INFO  [LmtpServer-1] [name=spam.xxxxxx@halfgaar.net;mid=4;ip=83.137.146.229;] mailop - Adding Message: id=502, Message-ID=<1108656128.367.1304100416267.JavaMail.root@meel>, parentId=-1, folderId=2, folderName=Inbox.
2011-04-29 20:06:57,366 INFO  [LmtpServer-1] [] ProtocolHandler - Handler exiting normally
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.