Max Mazurov
Max Mazurov
Agreed with emersion, I think adding an explicit method looks like better design to me. I am also not sure if SMTPError is the right type to use here, I...
go-message still has a fairly restrictive interface for header manipulation. See discussion of the referenced PR.
I believe we should instead merge IDLE into go-imap v2 and make it mandatory to implement, leaving go-imap-idle for go-imap v1 users.
``` *** Test append command 5/20 (line 16) *** Test append command 10/20 (line 27) ``` Related to "stub" \Recent implementation.
``` *** Test close command 1/4 (line 3) ``` go-imap issue: https://github.com/emersion/go-imap/issues/243
[rawlog.1.log](https://github.com/foxcpp/go-imap-sql/files/3179996/rawlog.1.log) [rawlog.2.log](https://github.com/foxcpp/go-imap-sql/files/3179997/rawlog.2.log) [rawlog.3.log](https://github.com/foxcpp/go-imap-sql/files/3179998/rawlog.3.log) [rawlog.4.log](https://github.com/foxcpp/go-imap-sql/files/3179999/rawlog.4.log) [rawlog.5.log](https://github.com/foxcpp/go-imap-sql/files/3180000/rawlog.5.log) [rawlog.6.log](https://github.com/foxcpp/go-imap-sql/files/3180001/rawlog.6.log) [rawlog.7.log](https://github.com/foxcpp/go-imap-sql/files/3180002/rawlog.7.log) [rawlog.8.log](https://github.com/foxcpp/go-imap-sql/files/3180003/rawlog.8.log) [rawlog.9.log](https://github.com/foxcpp/go-imap-sql/files/3180004/rawlog.9.log) [rawlog.10.log](https://github.com/foxcpp/go-imap-sql/files/3180005/rawlog.10.log) [rawlog.11.log](https://github.com/foxcpp/go-imap-sql/files/3180006/rawlog.11.log) [rawlog.12.log](https://github.com/foxcpp/go-imap-sql/files/3180007/rawlog.12.log) [rawlog.13.log](https://github.com/foxcpp/go-imap-sql/files/3180008/rawlog.13.log) [rawlog.14.log](https://github.com/foxcpp/go-imap-sql/files/3180010/rawlog.14.log) [rawlog.15.log](https://github.com/foxcpp/go-imap-sql/files/3180011/rawlog.15.log) [rawlog.16.log](https://github.com/foxcpp/go-imap-sql/files/3180012/rawlog.16.log) [rawlog.17.log](https://github.com/foxcpp/go-imap-sql/files/3180013/rawlog.17.log) [rawlog.18.log](https://github.com/foxcpp/go-imap-sql/files/3180014/rawlog.18.log) [rawlog.19.log](https://github.com/foxcpp/go-imap-sql/files/3180015/rawlog.19.log) [rawlog.20.log](https://github.com/foxcpp/go-imap-sql/files/3180016/rawlog.20.log) [rawlog.21.log](https://github.com/foxcpp/go-imap-sql/files/3180017/rawlog.21.log) [rawlog.22.log](https://github.com/foxcpp/go-imap-sql/files/3180018/rawlog.22.log) [rawlog.23.log](https://github.com/foxcpp/go-imap-sql/files/3180019/rawlog.23.log) [rawlog.24.log](https://github.com/foxcpp/go-imap-sql/files/3180020/rawlog.24.log) [rawlog.25.log](https://github.com/foxcpp/go-imap-sql/files/3180021/rawlog.25.log) [rawlog.26.log](https://github.com/foxcpp/go-imap-sql/files/3180022/rawlog.26.log) [rawlog.27.log](https://github.com/foxcpp/go-imap-sql/files/3180023/rawlog.27.log) [rawlog.28.log](https://github.com/foxcpp/go-imap-sql/files/3180024/rawlog.28.log) [rawlog.29.log](https://github.com/foxcpp/go-imap-sql/files/3180025/rawlog.29.log) [rawlog.30.log](https://github.com/foxcpp/go-imap-sql/files/3180026/rawlog.30.log)...
Similar issue reported for maddy: https://github.com/foxcpp/maddy/discussions/646 ``` 2023-11-09T15:17:40.094Z smtp: handler error: EOF 2023-11-09T15:17:52.242Z smtp: handler error: EOF 2023-11-09T15:17:59.750Z smtp: 220 [MADDY-NAME] ESMTP Service Ready 2023-11-09T15:18:02.027Z smtp: 220 [MADDY-NAME] ESMTP Service...
Most cases where serialization failures are possible are now eliminated. Perhaps, this issue is not worth the trouble now.
Fixed as of 0.7.
I don't think name compression is going to solve this completely. Some responses are just bigger than 512 bytes (see example below). stubby/getdns should truncate packets to buffer size advertised...