mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-09-10 22:14:42 +08:00
Skip card-is-ham override when sender address == recipient address (#1648)
This commit is contained in:
parent
227d47a1c3
commit
9c9f216294
1 changed files with 12 additions and 11 deletions
|
@ -204,7 +204,8 @@ impl EmailIngest for Server {
|
|||
.and_then(|s| s.address())
|
||||
.and_then(sanitize_email)
|
||||
{
|
||||
if !self
|
||||
if sender != deliver_to
|
||||
&& !self
|
||||
.store()
|
||||
.filter(
|
||||
account_id,
|
||||
|
|
Loading…
Add table
Reference in a new issue