Hello:

I have open source edition release 3.1.1_GA394 installed on Fedora Core 3 and am running into a problem with the zmtrainsa and auto-learning of spam/ham. This installation has been upgraded since the 3.0 M1 release and although I haven't had any significant problems I never had the spam/ham training accounts created. (At the very least I don't remember having removed them.)

I followed the instructions here to create the two training accounts and create the configuration parameters. To try things out I am running zmtrainsa from the command line as the Zimbra user. What I get back is an exception when it tries to run zmspamextract:

[zimbra@mail1 ~]$ /opt/zimbra/bin/zmtrainsa
Exception in thread "main" com.zimbra.cs.service.ServiceException: system failure: admin auth failed url=https://mail1.ldotc.com:7071/service/admin/soap/
at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:446)
at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:198)
Caused by: com.zimbra.soap.SoapFaultException: authentication failed for zimbra
at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:97)
at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:140)
at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:127)
at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
at com.zimbra.soap.SoapTransport.invokeWithoutSession (SoapTransport.java:186)
at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:441)
... 1 more
Exception in thread "main" com.zimbra.cs.service.ServiceException: system failure: admin auth failed url=https://mail1.ldotc.com:7071/service/admin/soap/
at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:446)
at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:198)
Caused by: com.zimbra.soap.SoapFaultException: authentication failed for zimbra
at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:97)
at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:140)
at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:127)
at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
at com.zimbra.soap.SoapTransport.invokeWithoutSession (SoapTransport.java:186)
at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:441)
... 1 more
bayes: perform_upgrade: bayes: unable to find bayes_toks and bayes_seen, stopping

archive-iterator: readdir found no mail in '/tmp/spam.3290' directory
Learned from 0 message(s) (0 message(s) examined).
archive-iterator: readdir found no mail in '/tmp/ham.3290' directory
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 302 unique entries (304 total entries)
dspam_clean starting
PROCESSING USER: zimbra
Processing sigs; age: 14
Processing probabilities; age: 0
Processing unused; any: 90 quota: 30 nospam: 15 onehit: 15


Is there an additional step in creating the spam training users? I just set them up from within the admin console under the default COS. I tried both with, and without passwords and had the same results either way.

Thanks Much,

Terry