diff --git a/mailserver/request.go b/mailserver/request.go index 903790200..2c5ca2647 100644 --- a/mailserver/request.go +++ b/mailserver/request.go @@ -39,9 +39,6 @@ func (r MessagesRequestPayload) Validate() error { if r.Upper < r.Lower { return errors.New("query range is invalid: lower > upper") } - if r.Upper-r.Lower > uint32(maxQueryRange.Seconds()) { - return errors.New("query range must be smaller or equal to 24 hours") - } if len(r.Bloom) == 0 { return errors.New("bloom filter is empty") }