其他分享
首页 > 其他分享> > seafile 添加邮箱服务配置

seafile 添加邮箱服务配置

作者:互联网

1,进入容器内部

docker exec -it seafile bash

 

2,编辑配置文件

vi /shared/seafile/conf/seahub_settings.py

加入如下内容:

EMAIL_USE_SSL = False
EMAIL_HOST = 'smtp.qq.com'
EMAIL_HOST_USER = '账户@qq.com'
EMAIL_HOST_PASSWORD = '授权码'
EMAIL_PORT = '25'
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER

 

标签:qq,com,HOST,添加,USER,邮箱,seafile,EMAIL
来源: https://www.cnblogs.com/cj1698/p/16460720.html