在 odoo 上使用私人电子邮件发送邮件服务器

问题描述 投票:0回答:1

我在 Odoo 16 中建立连接和创建外发邮件服务器时遇到问题,提供者来自 namecheap 的私人电子邮件。

这些是我在收到错误之前收到的日志。

2023-05-04 20:14:42,159 990486 INFO mail-test werkzeug: 46.217.59.86 - - [04/May/2023 20:14:42] "GET /websocket HTTP/1.0" 400 - 1 0.000 0.003
2023-05-04 20:14:53,501 990483 INFO mail-test werkzeug: 46.217.59.86 - - [04/May/2023 20:14:53] "GET /websocket HTTP/1.0" 400 - 1 0.000 0.003
2023-05-04 20:15:09,801 990490 INFO mail-test werkzeug: 46.217.59.86 - - [04/May/2023 20:15:09] "GET /websocket HTTP/1.0" 400 - 1 0.005 0.004
2023-05-04 20:15:23,850 990484 INFO mail-test werkzeug: 46.217.59.86 - - [04/May/2023 20:15:23] "GET /websocket HTTP/1.0" 400 - 1 0.000 0.003
2023-05-04 20:15:26,102 990486 INFO mail-test werkzeug: 46.217.59.86 - - [04/May/2023 20:15:26] "GET /websocket HTTP/1.0" 400 - 1 0.000 0.003
2023-05-04 20:15:30,835 990492 INFO mail-test werkzeug: 46.217.59.86 - - [04/May/2023 20:15:30] "GET /websocket HTTP/1.0" 400 - 1 0.000 0.003
2023-05-04 20:15:32,105 990482 INFO mail-test werkzeug: 46.217.59.86 - - [04/May/2023 20:15:32] "GET /websocket HTTP/1.0" 400 - 1 0.001 0.003
2023-05-04 20:15:32,347 990501 INFO ? odoo.sql_db: ConnectionPool(used=1/count=1/max=678899): Closed 1 connections to 'application_name=odoo-990501 user=odoo16 sslmode=prefer dbname=staging' 
2023-05-04 20:15:32,367 990501 INFO ? odoo.sql_db: ConnectionPool(used=1/count=1/max=678899): Closed 1 connections to 'application_name=odoo-990501 user=odoo16 sslmode=prefer dbname=test' 
2023-05-04 20:15:32,383 990501 INFO ? odoo.sql_db: ConnectionPool(used=1/count=1/max=678899): Closed 1 connections to 'application_name=odoo-990501 user=odoo16 sslmode=prefer dbname=mail-test' 
2023-05-04 20:15:40,147 990502 INFO ? odoo.sql_db: ConnectionPool(used=1/count=1/max=678899): Closed 1 connections to 'application_name=odoo-990502 user=odoo16 sslmode=prefer dbname=staging' 
2023-05-04 20:15:40,161 990502 INFO ? odoo.sql_db: ConnectionPool(used=1/count=1/max=678899): Closed 1 connections to 'application_name=odoo-990502 user=odoo16 sslmode=prefer dbname=test' 
2023-05-04 20:15:40,176 990502 INFO ? odoo.sql_db: ConnectionPool(used=1/count=1/max=678899): Closed 1 connections to 'application_name=odoo-990502 user=odoo16 sslmode=prefer dbname=mail-test'

作为输出,我收到了这条消息:

No response received. Check server address and port number.
 timed out

我不确定可能是什么问题,我尝试在我的本地计算机和另一台服务器上连接,我能够成功连接,这很奇怪。

我的odoo.conf文件内容:

[options]
db_host = False
db_port = False
db_user = odoo16
db_password = False
proxy_mode = True
xmlrpc_port = 8069
xmlrpc_interface = 127.0.0.1
xxnetrpc_interface = 127.0.0.1
db_maxconn = 678899
;dbfilter = automatdb_004
limit_memory_hard = 2684354560999
limit_memory_soft = 21474836489999
limit_request = 81922999
limit_time_cpu = 999000
limit_time_real = 999000
longpolling_port = 8072
logfile = /var/log/odoo16/odoo-server.log
;db_maxconn = 678899
;memory_limit = 400M
;upload_max_filesize = 400M
;post_max_size = 400M
workers=9
email nginx odoo
1个回答
0
投票

我通过联系 https://my.vimexx.be/ 的支持解决了这个问题。他们告诉我 Odoo 托管在 VPS 上,端口 465 和 587 已关闭。

一旦他们打开它们,我就能够与私人电子邮件建立联系。

© www.soinside.com 2019 - 2024. All rights reserved.