Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: [SOLVED] Re-creating the spam training e-mail account

  1. #11
    richard-hdd is offline Active Member
    Join Date
    Aug 2006
    Location
    Victoria, BC, Canada
    Posts
    28
    Rep Power
    9

    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.

  2. #12
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Is there anything in the spam training log:
    /opt/zimbra/log/spamtrain.log

  3. #13
    richard-hdd is offline Active Member
    Join Date
    Aug 2006
    Location
    Victoria, BC, Canada
    Posts
    28
    Rep Power
    9

    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

  4. #14
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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

  5. #15
    richard-hdd is offline Active Member
    Join Date
    Aug 2006
    Location
    Victoria, BC, Canada
    Posts
    28
    Rep Power
    9

    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!.

  6. #16
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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)
    Last edited by mmorse; 08-22-2007 at 03:00 PM. Reason: avoid email spam

  7. #17
    richard-hdd is offline Active Member
    Join Date
    Aug 2006
    Location
    Victoria, BC, Canada
    Posts
    28
    Rep Power
    9

    Default

    Thanks...I just did.

  8. #18
    arkanis is offline Project Contributor
    Join Date
    Jul 2007
    Posts
    39
    Rep Power
    8

    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 ?

  9. #19
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  10. #20
    arkanis is offline Project Contributor
    Join Date
    Jul 2007
    Posts
    39
    Rep Power
    8

    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.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 PM

Posting Permissions

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