I lived under impression that the bayes 'seen' database keeps
the original Message-ID header fields, and only resorts to
generated value when Message-ID is not available in a message.

Yet the bayes database 'seen' only receives generated msgids,
never the original ones, even if available.
Is this intended behaviour (in SA 3.3)?

The sub get_msgid provides a list of msgids, typically exactly
two elements are returned, the generated and the original, e.g.:
  992d4f36a10d093b467251c336d5c297cfbc3...@sa_generated
  [email protected]

Then the M::S::Plugin::Bayes::_learn_trapped picks out
only the first one and ignores the original Message-ID:

  $msgid = $msgid[0];
  ...
  $self->{store}->seen_put ($msgid, ($isspam ? 's' : 'h'));

Bug or feature?

  Mark

Reply via email to