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

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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #11 (permalink)  
Old 08-22-2007, 10:42 AM
Active Member
 
Posts: 28
Exclamation Re-creating the spam training e-mail account

Hi,

Almost two weeks ago I installed Zimbra Release 4.5.6_GA_1044.RHEL4_20070706225645 CentOS4 FOSS edition. The only problem that I have run into is that the spam training account doesn't work.

The e-mail account that was created for our spam training by the install program is spam..exda0ody@hddbroker.com. I set up an alias of junk@hddbroker.com on that account as well. If I e-mail either junk@hddbroker.com or spam..exda0ody@hddbroker.com the e-mails get delivered to our catchall account. If I press the Junk button in the Zimbra web client, the catch all gets an e-mail with the subject zimbra-spam-report: richard@hddbroker.com: spam and again nothing shows up in the spam training account. I used the View Mail option in the administration console to log into the spam training e-mail account and sent myself an e-mail from that account. When I received it, I replied to it and my response was delivered to the catchall account.

For what ever reason, Zimbra doesn't seem to think that the spam training account exists when receiving e-mail for it. This is what I get to confirm the account is setup correctly:

Code:
[zimbra@mail ~]$ zmprov gacf | grep -i spamis

zimbraSpamIsNotSpamAccount: ham.eennz.c4g@hddbroker.com
zimbraSpamIsSpamAccount: spam..exda0ody@hddbroker.com
The account appears in the administration console and it appears as though Zimbra has setup the account for spam training but I can't get any mail to be delivered to it.

Is there some way to delete the spam account and re-create it? I would really like our users to be able to train for spam and not annoy our catchall user with junk from other people in the office.

Thank you.
Reply With Quote
  #12 (permalink)  
Old 08-22-2007, 10:47 AM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Is there anything in the spam training log:
/opt/zimbra/log/spamtrain.log
Reply With Quote
  #13 (permalink)  
Old 08-22-2007, 10:50 AM
Active Member
 
Posts: 28
Default

I have the following:

Code:
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 1117 unique entries (3331 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 2141 unique entries (4117 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 1668 unique entries (3215 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 1750 unique entries (3133 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 657 unique entries (919 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 212 unique entries (271 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 429 unique entries (940 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 1 seconds: 2614 unique entries (4314 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 39 unique entries (39 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 1 seconds: 1498 unique entries (2307 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 759 unique entries (775 total entries)
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 0
Reply With Quote
  #14 (permalink)  
Old 08-22-2007, 03:06 PM
Zimbra Consultant
 
Posts: 5,814
Default

Quote:
Originally Posted by richard-hdd View Post
zimbraSpamIsNotSpamAccount: ham.eennz.c4g@hddbroker.com
zimbraSpamIsSpamAccount: spam..exda0ody@hddbroker.com
Can you rename the account? (be sure you set zimbraSpamIsSpamAccount as well)
Quote:
Originally Posted by sbriscoe2 View Post
Update:

I fixed it. For some reason, zimbra generated the spamtrainer address as spam.hqlqm.d1..@mydomain.com

The 2 dots at the end was confusing postfix (wrong syntax, obviously) so I renamed the spam account and I no longer receive the errors.

This is probably a bug and might want to be addressed.
from thread: http://www.zimbra.com/forums/install...r-working.html
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
  #15 (permalink)  
Old 08-22-2007, 03:23 PM
Active Member
 
Posts: 28
Smile It works!

Thanks mmorse!

When I renamed the account to remove one of the two dots in the name and updated the zimbraSpamIsSpamAccount entry, everything worked fine. Clearly something is getting confused during the delivery process when there at least two dots present.

Thanks!.
Reply With Quote
  #16 (permalink)  
Old 08-22-2007, 03:52 PM
Zimbra Consultant
 
Posts: 5,814
Default

Quote:
Originally Posted by richard-hdd View Post
It works!
Thanks mmorse!

When I renamed the account to remove one of the two dots in the name and updated the zimbraSpamIsSpamAccount entry, everything worked fine. Clearly something is getting confused during the delivery process when there at least two dots present.

Thanks!.
Created: Bug 19599 - prevent spam training accounts from containing 2 dots in name

Add yourself to the CClist (I tried for you, but it said you didn't have a bugzilla account at richard @ hddbroker.com)
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com

Last edited by mmorse : 08-22-2007 at 04:00 PM. Reason: avoid email spam
Reply With Quote
  #17 (permalink)  
Old 08-22-2007, 04:21 PM
Active Member
 
Posts: 28
Default

Thanks...I just did.
Reply With Quote
  #18 (permalink)  
Old 09-03-2007, 09:24 AM
Project Contributor
 
Posts: 39
Default well no...

Hi, I have the same problem here, and my situation is this one :

default domain crated at zimbra installation was : mail.domain.be

Spam/Ham addresses are connected to this one.

I then created the domain : domain.be

Then I saw that the spam/ham trainning wasn't working as it should so I tryed to rename the spam/ham address removing one of the dots but it doesn't seem to work, and when I run the command zmtrainsa I get this :

[] ERROR: can not find account spam.f6csl.ezc_@mail.domain.be
[] INFO: Total messages processed: 2
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (2 message(s) examined).
bayes: synced databases from journal in 1 seconds: 1935 unique entries (2712 total entries)

How can I fix this please ?
Reply With Quote
  #19 (permalink)  
Old 09-03-2007, 09:42 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
Default

You can check what the accounts are by running:

Code:
zmprov gacf | grep -i spamis
then fix it with:

Code:
zmprov mcf zimbraSpamIsNotSpamAccount <ham account>@your.domain
zmprov mcf zimbraSpamIsSpamAccount <spam account>@your.domain
__________________
Regards


Bill
Reply With Quote
  #20 (permalink)  
Old 09-03-2007, 09:58 AM
Project Contributor
 
Posts: 39
Default Thanks...

That did it, thanks a lot...

Now I corrected the adress (without two points), and I have redfined it. Now running zmtrainsa the adress is detected as it should and we will see later on if the training is working correctly when I mark mail as spam or ham under the GUI.


Thanks for the help.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0