Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78570 Details for
Bug 121059
spamassassin needs patch for dkstatus
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
dkstatus.diff (text/plain), 905 bytes, created by
Benny Pedersen
on 2006-01-31 08:04:52 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Benny Pedersen
Created:
2006-01-31 08:04:52 UTC
Size:
905 bytes
patch
obsolete
>--- lib/Mail/SpamAssassin/Plugin/DomainKeys.pm (revision 328647) >+++ lib/Mail/SpamAssassin/Plugin/DomainKeys.pm (working copy) >@@ -163,7 +163,7 @@ > return 0; > } > >- my $comment = $self->_dkmsg_hdr($message); >+ my $comment = $self->_dkstatus($message); > $comment ||= ''; > $comment =~ s/\s+/ /gs; # no newlines please > >@@ -203,14 +203,17 @@ > $scan->{domainkeys_signall} = 1; > } > >- my $comment = $self->_dkmsg_hdr($message); >+ my $comment = $self->_dkstatus($message); > dbg("dk: comment is '$comment'"); > } > >-# get the DK status "header" from the Mail::DomainKeys::Message object >-sub _dkmsg_hdr { >+# get the DK status from the Mail::DomainKeys::Message object >+sub _dkstatus { > my ($self, $message) = @_; >- return $message->header->value(); >+ if (!$message->signed) { >+ return "no signature"; >+ } >+ return $message->signature->status; > } > > sub sanitize_header_for_dk {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 121059
: 78570 |
78571