Skip card-is-ham override when sender address == recipient address (#1648)
This commit is contained in:
@@ -204,7 +204,8 @@ impl EmailIngest for Server {
|
|||||||
.and_then(|s| s.address())
|
.and_then(|s| s.address())
|
||||||
.and_then(sanitize_email)
|
.and_then(sanitize_email)
|
||||||
{
|
{
|
||||||
if !self
|
if sender != deliver_to
|
||||||
|
&& !self
|
||||||
.store()
|
.store()
|
||||||
.filter(
|
.filter(
|
||||||
account_id,
|
account_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user