> I have SA 3.17 running with amavisd-new, dovecot and
> Postfix 2.4.3 and Clama/v on freebsd 6.1
>=20
> I am trying to"teach" sa using the following
>=20
> sa-learn /var/mail/vmail/example.com/user/.INBOX.spam/cur/
>=20
> this is a maildir I have put around 175 spam messages in..
>=20
> I got the following response
>=20
> Learned tokens from 0 message(s) (0 message(s) examined)
> spam done.archive-iterator: unable to open
> ~nospam/Maildir/new/: No such file or directory
> Learned tokens from 0 message(s) (0 message(s) examined)
> ls: ~nospam/Maildir/new/: No such file or directory
> nospam done.The --rebuild option has been deprecated.=20
> Please use --sync instead.
>=20
> My novice analysis is that there is a default
> configuration for the bayesian learning that provides a
> default path for SA-learn.=20
>=20
> I have checked amavisd.conf and local.cf and can not find
> it. Am I looking for the wrong file?
>=20
> Thank for any help that can be given
>=20
> Jason


You have to add --ham or --spam parameter to the command. SA can learn, =
but it needs directives in order learn it as ham or spam.