uribl: insert headers at top of message
This commit is contained in:
parent
bcb0298440
commit
c150f5a8cc
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user