Parent Directory | Revision Log | Patch
--- spamassassin/trunk/lib/Mail/SpamAssassin.pm 2005/04/12 02:55:36 161010 +++ spamassassin/trunk/lib/Mail/SpamAssassin.pm 2005/04/12 02:59:38 161011 @@ -270,6 +270,13 @@ sub new { $self->create_locker(); + # argh. this is only used to perform DNS lookups in + # Mail::SpamAssassin::Message::Metadata::Received. TODO! we need to get + # Dns.pm code into a class that is NOT part of + # Mail::SpamAssassin::PerMsgStatus to avoid this crap! + my $tmpmsg = $self->parse([ ], 1); + $self->{parser_dns_pms} = Mail::SpamAssassin::PerMsgStatus->new($self, $tmpmsg); + $self; } @@ -1262,6 +1269,7 @@ method is called. sub finish { my ($self) = @_; + $self->{parser_dns_pms}->finish(); $self->{conf}->finish(); delete $self->{conf}; $self->{plugins}->finish(); delete $self->{plugins};
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |