Include queueId in MTA Hooks (fixes #708)
This commit is contained in:
@@ -409,7 +409,10 @@ async fn antispam() {
|
||||
// Run script
|
||||
let core_ = core.clone();
|
||||
let script = script.clone();
|
||||
match core_.run_script(script, params, 0).await {
|
||||
match core_
|
||||
.run_script("test".to_string(), script, params, 0)
|
||||
.await
|
||||
{
|
||||
ScriptResult::Accept { modifications } => {
|
||||
if modifications.len() != expected_headers.len() {
|
||||
panic!(
|
||||
|
||||
@@ -177,7 +177,7 @@ async fn sieve_scripts() {
|
||||
.with_envelope(&core.core, &session, 0)
|
||||
.await;
|
||||
let core_ = core.clone();
|
||||
match core_.run_script(script, params, 0).await {
|
||||
match core_.run_script(name.to_string(), script, params, 0).await {
|
||||
ScriptResult::Accept { .. } => (),
|
||||
ScriptResult::Reject(message) => panic!("{}", message),
|
||||
err => {
|
||||
|
||||
Reference in New Issue
Block a user