V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
lz24xg
V2EX  ›  Python

Python pop 收信被限制

  •  
  •   lz24xg · 2022-07-08 11:17:31 +08:00 · 1771 次点击
    这是一个创建于 629 天前的主题,其中的信息可能已经有所发展或是发生改变。

    服务器是宝塔邮局( Postfix + Dovecot + Rspamd )

    用 Python 自带的 poplib 收信,大概每天收十几封信就会报错

    ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。

    之前还能通过多次尝试,重启服务器临时解决。今天这些办法都不行,一直报错。服务器只有系统防火墙,实测关闭了也没用

    1 条回复    2022-07-08 12:48:42 +08:00
    loginv2
        1
    loginv2  
       2022-07-08 12:48:42 +08:00
    云服务器的话 可能是被封端口了,腾讯云就有 ,需要单独申请
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1523 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:17 · PVG 01:17 · LAX 10:17 · JFK 13:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.