On Sunday January 10 2010 09:06:21 Cecil Westerhof wrote:
> Later on in the manpage it says:
>     EXIT CODES
>            By default, spamc will use the 'safe fallback' error recovery
>  method.  That means, it will always exit with an exit code if 0, even if
>  an error was encountered.  If any error occurrs, it will simply pass
>  through the unaltered message.
> 
>            The -c and -E options modify this; instead, spamc will use an
>  exit code of 1 if the message is determined to be spam.
> 
> It looks like this is correct and the earlier statement not.

Would the following change to spamc.pod make it correct?


=item B<-L> I<learn type>, B<--learntype>=I<type>

Send message to spamd for learning.  The C<learn type> can be either spam,
ham or forget.  The exitcode for spamc will be set to 5 if the message
-was learned, or 6 if it was already learned.
+was learned, or 6 if it was already learned, under a condition that
+a B<--no-safe-fallback> option is selected too.


  Mark

Reply via email to