uribl: insert headers at top of message

This commit is contained in:
Matt Simerson 2012-06-22 23:52:32 -04:00
parent bcb0298440
commit c150f5a8cc

View File

@ -494,7 +494,7 @@ sub data_handler {
for (@$matches) { for (@$matches) {
$self->log(LOGWARN, $_->{desc}); $self->log(LOGWARN, $_->{desc});
if ($_->{action} eq 'add-header') { if ($_->{action} eq 'add-header') {
$transaction->header->add('X-URIBL-Match', $_->{desc}); $transaction->header->add('X-URIBL-Match', $_->{desc}, 0);
} elsif ($_->{action} eq 'deny') { } elsif ($_->{action} eq 'deny') {
return (DENY, $_->{desc}); return (DENY, $_->{desc});
} elsif ($_->{action} eq 'denysoft') { } elsif ($_->{action} eq 'denysoft') {