mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-11-10 09:32:19 +08:00
Do not send empty messages generated by trusted Sieve scripts
This commit is contained in:
parent
ce1c12b8ba
commit
7251908aad
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ impl SMTP {
|
|||
} else {
|
||||
instance.message().raw_message().into()
|
||||
};
|
||||
if let Some(raw_message) = raw_message {
|
||||
if let Some(raw_message) = raw_message.filter(|m| !m.is_empty()) {
|
||||
let headers = if !params.sign.is_empty() {
|
||||
let mut headers = Vec::new();
|
||||
|
||||
|
|
Loading…
Reference in a new issue