diff --git a/plugins/dkim b/plugins/dkim index c54d9db..5815873 100644 --- a/plugins/dkim +++ b/plugins/dkim @@ -191,7 +191,7 @@ sub register { } } - $self->register_hook('data_post', 'data_post_handler'); + $self->register_hook('data_post_headers', 'data_post_handler'); } sub data_post_handler { diff --git a/plugins/dmarc b/plugins/dmarc index a7b82d2..fde40c2 100644 --- a/plugins/dmarc +++ b/plugins/dmarc @@ -91,7 +91,7 @@ sub register { } else { $self->{_dmarc} = Mail::DMARC::PurePerl->new(); - $self->register_hook('data_post', 'data_post_handler'); + $self->register_hook('data_post_headers', 'data_post_handler'); }; } diff --git a/plugins/domainkeys b/plugins/domainkeys index 44c037a..2bc5992 100644 --- a/plugins/domainkeys +++ b/plugins/domainkeys @@ -83,7 +83,7 @@ sub register { } } - $self->register_hook('data_post', 'data_post_handler'); + $self->register_hook('data_post_headers', 'data_post_handler'); } sub data_post_handler {