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 the last message is ok. But what about the first and second
> one? The command is correct?

I think the problem is the '*.*' at the end.  It is trying to run sa-learn
against all of the directories with a period in the current directory.

Take off the '*.*' and see what happens.

-- 
Bowie

Reply via email to