mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2026-01-06 23:15:31 +08:00
Change delivery expired error message
This commit is contained in:
parent
c07e3d917f
commit
c7687ff438
1 changed files with 4 additions and 3 deletions
|
|
@ -1380,7 +1380,7 @@ impl Message {
|
|||
Delivery(DeliveryEvent::Failed),
|
||||
SpanId = self.span_id,
|
||||
Domain = domain.domain.clone(),
|
||||
Reason = "Queue rate limit exceeded.",
|
||||
Reason = "Message expired without any delivery attempts made.",
|
||||
);
|
||||
|
||||
for rcpt in &mut self.recipients {
|
||||
|
|
@ -1390,8 +1390,9 @@ impl Message {
|
|||
}
|
||||
}
|
||||
|
||||
domain.status =
|
||||
Status::PermanentFailure(Error::Io("Queue rate limit exceeded.".into()));
|
||||
domain.status = Status::PermanentFailure(Error::Io(
|
||||
"Message expired without any delivery attempts made.".into(),
|
||||
));
|
||||
}
|
||||
Status::Completed(_) | Status::PermanentFailure(_) => (),
|
||||
_ => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue