Markus Braun wrote:
Hello,

i tried to create a cron job to add spam messages as spamemails.

The following command :

0 1 * * * vmail sa-learn --spam /var/opt/vmail/xxxx.info/oliver/Maildir/.spam/cur *.*

But i get this retourn:

archive-iterator: readdir found no mail in 'domain1.de' directory
archive-iterator: readdir found no mail in 'domain2.de' directory
Learned tokens from 7 message(s) (460 message(s) examined)

I think you want:

sa-learn --spam /var/opt/vmail/xxxx.info/oliver/Maildir/.spam/cur/*

--
Chris

Reply via email to