Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outgoing not working with atlas mongodb #767

Open
iaaxindev opened this issue Dec 13, 2024 · 8 comments
Open

outgoing not working with atlas mongodb #767

iaaxindev opened this issue Dec 13, 2024 · 8 comments

Comments

@iaaxindev
Copy link

I switched MongoDB to the cloud. After migrating to the cloud, outgoing messages are not being delivered.

@louis-lau
Copy link
Member

Sorry, but this not enough information to give any useful answer

@iaaxindev
Copy link
Author

I changed the MongoDB connection string in the dbs.toml file to an Atlas MongoDB connection string. After this change, outgoing emails are not being delivered to destination users.

@louis-lau
Copy link
Member

Did you do any troubleshooting? Did you check any logs? Any database contents?

@iaaxindev
Copy link
Author

i have below logs when restart zone-mta
info GELF {"_queue_id":"193c09db03e000f94d","_queue_id_seq":"001","_delivery_protocol":"smtp","short_message">
zone-mta[20087]: info Sender/default/20087 All SMTP sessions end id=undefined

@louis-lau
Copy link
Member

Your logs are cut off

@iaaxindev
Copy link
Author

Dbs are not created in mongo atlas . i have below warning when change mongo atlas url
Dec 14 01:05:12 guna.test.com wildduck-server[107011]: info App ▒ ░ ░ ▒ ░░ ░ ▒ ░ ░ ▒ ▒ ░ ▒ ▒ ░░▒░ ░ ░ ░ ▒ ░ ░▒ ▒░
Dec 14 01:05:12 guna.test.com wildduck-server[107011]: info App ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░░░ ░ ░ ░ ░ ░░ ░
Dec 14 01:05:12 guna.test.com wildduck-server[107011]: info App ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
Dec 14 01:05:12 guna.test.com wildduck-server[107011]: info App ░ ░ ░
Dec 14 01:05:12 guna.test.com wildduck-server[107011]: info App
Dec 14 01:05:12 guna.test.com wildduck-server[107011]: info App ----------------------- [email protected] ----------------------
Dec 14 01:05:12 guna.test.com wildduck-server[107011]: info App
Dec 14 01:05:14 guna.test.com wildduck-server[107011]: (node:107011) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
Dec 14 01:05:14 guna.test.com wildduck-server[107011]: (Use node --trace-deprecation ... to show where the warning was created)
Dec 14 01:05:14 guna.test.com wildduck-server[107011]: (node:107011) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.

@louis-lau
Copy link
Member

louis-lau commented Dec 14, 2024

That's just a deprecation warning, doesn't have any effect on anything.

Dbs are not created in mongo atlas

Maybe create the dbs? How are they supposed to authenticate and connect to databases that don't exist? I'm sorry if I seem unhelpful, but there's barely any information to work with here. Even after asking multiple times, I haven't seen any relevant logs or troubleshooting from your side.

@iaaxindev
Copy link
Author

The dbs.toml file exists in two locations: /etc/wildduck/dbs.toml and /opt/wildduck/dbs.toml. Replacing 'mongodb' in both will resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants