mirror of
https://github.com/chatmail/relay.git
synced 2026-05-21 05:18:04 +00:00
Revert 57c29c14a4
Apparently this causes outlook.com messages to be rejected even though they don't use `l=` tag.
This commit is contained in:
@@ -5,9 +5,6 @@
|
|||||||
- Test and fix for attempts to create inadmissible accounts
|
- Test and fix for attempts to create inadmissible accounts
|
||||||
([#333](https://github.com/deltachat/chatmail/pull/321))
|
([#333](https://github.com/deltachat/chatmail/pull/321))
|
||||||
|
|
||||||
- Reject DKIM signatures that do not cover the whole message body.
|
|
||||||
([#321](https://github.com/deltachat/chatmail/pull/321))
|
|
||||||
|
|
||||||
- check that OpenPGP has only PKESK, SKESK and SEIPD packets
|
- check that OpenPGP has only PKESK, SKESK and SEIPD packets
|
||||||
([#323](https://github.com/deltachat/chatmail/pull/323),
|
([#323](https://github.com/deltachat/chatmail/pull/323),
|
||||||
[#324](https://github.com/deltachat/chatmail/pull/324))
|
[#324](https://github.com/deltachat/chatmail/pull/324))
|
||||||
|
|||||||
@@ -19,11 +19,7 @@ for i = 1, nsigs do
|
|||||||
-- Any valid signature that was not ignored like this
|
-- Any valid signature that was not ignored like this
|
||||||
-- means the message is acceptable.
|
-- means the message is acceptable.
|
||||||
if sigres == 0 then
|
if sigres == 0 then
|
||||||
-- Do not accept the signature if it does not cover the whole body
|
return nil
|
||||||
-- of the message by using `l=` tag.
|
|
||||||
if odkim.sig_canonlength(ctx, sig) < odkim.sig_bodylength(ctx, sig) then
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user