I did do that sh -x but a lot of the contents were "greek" so to speak.
In anycase I did do the following:
1. recreated the spamaccount and notspamaccount and used the webmail.avmax.ca domain rather than the avmax-internal.net domain.
2. su to root
3. service zimbra restart
I am now collecting messages in the spamaccount and zmtrainsa is processing them.
It was probably the restart of the services that was the issue here but I am not sure.
I still have another question though.
When I log into the spam account, there are messages in both the 'Inbox' and in the 'Junk' folders from my domain users.
Is this normal behaviour? Or should the messages be delivered to the 'Junk' folder only? Does zmtrainsa look in both 'Inbox' and 'Junk' folders?