Mailing List Archive

svn commit: r171275 - /spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Author: felicity
Date: Sat May 21 20:11:58 2005
New Revision: 171275

URL: http://svn.apache.org/viewcvs?rev=171275&view=rev
Log:
bug 4353: need to extract the message metadata before kicking off the RBL tests

Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?rev=171275&r1=171274&r2=171275&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Sat May 21 20:11:58 2005
@@ -146,6 +146,12 @@
}

{
+ # bug 4353:
+ # Do this before the RBL tests are kicked off. The metadata parsing
+ # will figure out the (un)trusted relays and such, which are used in the
+ # rbl calls.
+ $self->extract_message_metadata();
+
# Here, we launch all the DNS RBL queries and let them run while we
# inspect the message
$self->run_rbl_eval_tests ($self->{conf}->{rbl_evals});
@@ -154,8 +160,6 @@
my $decoded = $self->get_decoded_stripped_body_text_array();
my $bodytext = $self->get_decoded_body_text_array();
my $fulltext = $self->{msg}->get_pristine();
-
- $self->extract_message_metadata();

my @uris = $self->get_uri_list();