nightwhite
|
088bf3eefe
|
fix: 修复 IMAP fetch 方法返回生成器导致的 TypeError (#764)
修复了在 K8s 环境中运行时出现的错误:
File "/usr/local/lib/python3.12/site-packages/twisted/mail/imap4.py", line 1685, in __cbManualSearch
lastSequenceId = result and result[-1][0]
TypeError: 'generator' object is not subscriptable
问题原因:
- fetch 方法返回了生成器对象
- Twisted IMAP4 库在处理 SEARCH 命令时需要对结果进行索引访问
- 生成器不支持索引操作
解决方案:
- 将 fetch 方法的返回值从生成器改为列表
- 保持 fetchGenerator 方法的分批获取逻辑(batch_size=20)
- 确保内存占用可控的同时支持所有 IMAP 操作
|
2025-11-10 19:33:42 +08:00 |
|
Dream Hunter
|
bbc8a96811
|
fix: imap cannot update message (#672)
|
2025-06-21 00:57:44 +08:00 |
|
Dream Hunter
|
908fc0cc86
|
feat: |Doc| use shadow DOM render mail html (#604)
|
2025-03-08 10:53:45 +08:00 |
|
dependabot[bot]
|
de80857e2c
|
build(deps): bump twisted from 24.3.0 to 24.7.0 in /smtp_proxy_server (#385)
Bumps [twisted](https://github.com/twisted/twisted) from 24.3.0 to 24.7.0.
- [Release notes](https://github.com/twisted/twisted/releases)
- [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst)
- [Commits](https://github.com/twisted/twisted/compare/twisted-24.3.0...twisted-24.7.0)
---
updated-dependencies:
- dependency-name: twisted
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2024-08-27 01:40:45 +08:00 |
|
Dream Hunter
|
384eb9b041
|
fix: imap proxy do not support password && cleanup days translate (#356)
|
2024-07-19 22:40:53 +08:00 |
|
Dream Hunter
|
af9f46ba65
|
fix: smtp imap proxy sever: support senbox v2 (#306)
|
2024-06-09 13:35:26 +08:00 |
|
Dream Hunter
|
aa04dc4efa
|
feat: smtp_proxy_server use httpx (#265)
|
2024-05-22 22:24:59 +08:00 |
|
Dream Hunter
|
37ed2955ff
|
fix: webhook JSON.stringify (#263)
|
2024-05-22 20:48:03 +08:00 |
|
Dream Hunter
|
dd49768cfc
|
feat: smtp_proxy_server update package (#262)
|
2024-05-21 23:53:32 +08:00 |
|
Dream Hunter
|
a5ff4f2d90
|
feat: SMTP IMAP Proxy: add sendbox && UI: sendbox use split view (#248)
|
2024-05-18 17:02:21 +08:00 |
|
Dream Hunter
|
607c04c810
|
fix: smtp_proxy: update raise imap4.NoSuchMailbox (#243)
|
2024-05-17 00:06:43 +08:00 |
|
Dream Hunter
|
243dac976b
|
fix: smtp_proxy: cannot decode 8bit && tg bot new random address (#242)
|
2024-05-16 18:18:16 +08:00 |
|
Dream Hunter
|
edc110b6ac
|
fix: imap server (#227)
|
2024-05-12 17:47:01 +08:00 |
|
Dream Hunter
|
af027fd75e
|
feat: add imap proxy server (#225)
|
2024-05-12 11:34:52 +08:00 |
|
Dream Hunter
|
386441a743
|
fix: smtp_proxy_server support decode from mail charset (#223)
|
2024-05-10 23:08:38 +08:00 |
|
Dream Hunter
|
41bed8b1db
|
feat: add /external/api/send_mail for body verify (#202)
|
2024-05-04 23:52:06 +08:00 |
|
Dream Hunter
|
c015b57d73
|
fix: smtp_proxy_server hostname && add docker image for linux/arm64 (#180)
|
2024-04-30 14:38:06 +08:00 |
|
Dream Hunter
|
a456bfda7c
|
feat: add SMTP proxy server (#177)
|
2024-04-29 21:47:15 +08:00 |
|