Results 1 to 9 of 9

Thread: zmtrainsa tutorial

  1. #1
    sgb
    sgb is offline Intermediate Member
    Join Date
    Mar 2006
    Posts
    15
    Rep Power
    9

    Question zmtrainsa tutorial

    Hello, I'm new to Zimbra and I have it installed for a small comapny of about 10 users. I have read that when you delete emails as spam they only get moved to the spam folder. I have also messed around with the tag and spam settings and have the spam tag set to 60 and the tag set to 20 which started working better for a while, but now I'm getting more and more spam. I have read you can feed spam and ham to the server, but I haven't been able to find a how-to or documentation on how to do this.
    If anybody knows where I can find this or just explain how to do this would be great.

    Thank you..

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You can run zmtrainsa against the junk mailbox (which is where mail ends-up when you hit the junk button. It is documented but briefly the format is:

    zmtrainsa servername username password spam spammailbox

    If you want to train ham the change the last two items to 'ham hammailbox'. Do a search of the forums, it has been covered many times.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    sgb
    sgb is offline Intermediate Member
    Join Date
    Mar 2006
    Posts
    15
    Rep Power
    9

    Default

    Thanks, do I have to do this for every user and its junk mail folder?
    I read in the forums I needed to do this to the zmisspam mailbox, however I don't have this account, do I need to create this account? and if I do how do I transfer my spam and my users spam tho this account?
    I do have these two wierd accounts that were created by the installation
    9es2lc.p@mydomain.com and 2s4ekwhlr@mydomain.com
    I have no idea what they are or what they are used for..

    I'm sorry if I am asking questions that have been covered in the forums before, it is just I haven't been able to find them.

    Thanks again

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Those two accounts are the ones that Zimbra sets-up for spam training. If you're going to do it manually then you need to do it for every user/mailbox on your system - this has all been covered in the forums.

    Actually, I'm a bit surprised that your spam has increased with those levels you've go set. I have mine set similar to that and als have DSPAM installed and I see no spam whatsoever.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    sgb
    sgb is offline Intermediate Member
    Join Date
    Mar 2006
    Posts
    15
    Rep Power
    9

    Default

    How do I do it automatically? as opposed to manually?

    This is what I get when I try to run the command on the account that seems to be catching all the spam we mark as junk.

    [zimbra@mi6 bin]$ ./zmtrainsa myserver@mydomain.com 9es2lc.p passwd spam 9es2lc.p@mydomain.com
    fetchmail: mailbox selection failed
    fetchmail: client/server synchronization error while fetching from myserver@mydomain.com
    fetchmail: Query status=7 (ERROR)
    bayes: synced databases from journal in 0 seconds: 413 unique entries (656 total entries)


    Thanks again
    Last edited by sgb; 03-06-2006 at 09:27 AM.

  6. #6
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    You could do it automatically with a cron job.

    We're working (as I speak) on getting the automated training up and running, which will obviate the need for manual training.

  7. #7
    sgb
    sgb is offline Intermediate Member
    Join Date
    Mar 2006
    Posts
    15
    Rep Power
    9

    Angry This is really frustrating

    I'm really frustraded, I ran the zimtrainsa and fed it about 2500 spam emails, restarted the server and I'm still getting the same spam emails I just fed the server!!!!
    Does spam assasin really works on the Zimbra implementation?? or do I have to install dspam?

  8. #8
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Quote Originally Posted by sgb
    I'm really frustraded, I ran the zimtrainsa and fed it about 2500 spam emails, restarted the server and I'm still getting the same spam emails I just fed the server!!!!
    Does spam assasin really works on the Zimbra implementation?? or do I have to install dspam?
    Did you check the headers of the incoming email? What do they say? Why don't you post an example or two here. Did you try to lower your kill value so SA is a bit more aggressive? Do you have the RBLs enabled?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by sgb
    I'm really frustraded, I ran the zimtrainsa and fed it about 2500 spam emails, restarted the server and I'm still getting the same spam emails I just fed the server!!!!
    Does spam assasin really works on the Zimbra implementation?? or do I have to install dspam?
    You could also use something like rulesdujour that will update your SA rules on a regular basis.

    IMO, DSPAM is a better anti-spam solution than SA - however, as SA comes with Zimbra I have installed DSPAM as well. You can also filter any messages that have 'spam' in the headers.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmtrainsa ham learning error
    By lzmarine in forum Administrators
    Replies: 3
    Last Post: 10-10-2007, 11:41 AM
  2. understanding zmtrainsa
    By bowergo in forum Administrators
    Replies: 0
    Last Post: 06-18-2007, 11:25 AM
  3. zmtrainsa fails with permission denied
    By thansz in forum Administrators
    Replies: 3
    Last Post: 02-21-2007, 07:44 AM
  4. spamassassin not learn, zmtrainsa ignores junked mail
    By lukefilewalker in forum Administrators
    Replies: 0
    Last Post: 11-20-2006, 09:36 AM
  5. Rewrote zmtrainsa for DSPAM
    By unilogic in forum Developers
    Replies: 18
    Last Post: 01-12-2006, 06:03 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
  •