| 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.
|  | 
04-19-2011, 03:16 AM
| | | [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. | 
04-19-2011, 05:37 AM
| | | AFAIK, in 6.0.9, moving the message to "Junk" is enough (that was not the case in the old days). | 
04-19-2011, 05:53 AM
| | | 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. | 
04-19-2011, 07:02 AM
| | Outstanding Member | |
Posts: 717
| | You should also see a line with a little more detail in /opt/zimbra/log/mailbox.log when you move the message, also. | 
04-22-2011, 03:24 AM
| | | 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 | 
04-29-2011, 11:05 AM
| | | 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 | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |