ยง2024-10-28

$ sudo systemctl stop wildduck.service wildduck-webmail.service zonemta.service mongod.service
# mongodb connection string for the main database
mongo="mongodb://127.0.0.1:27017/wildduck"
# mongo="mongodb://siteRootAdmin:b23258585@redisMongo03.yushei.com.tw:27017,redisMongo04.yushei.com.tw:27017,redisMongo05.yushei.com.tw:27017/YuSheiWildduck?authSource=admin&replicaSet=ys20220318"

# @include "/etc/wildduck/dbs.toml"
@include "/etc/wildduck/dbs.toml"
# Database configuration
# this file is loaded when NODE_ENV=production

# MongoDB connection string
mongo="mongodb://127.0.0.1:27017/zone-mta"
# mongo="mongodb://siteRootAdmin:b23258585@redisMongo03.yushei.com.tw:27017,redisMongo04.yushei.com.tw:27017,redisMongo05.yushei.com.tw:27017/zone-mta?authSource=admin&replicaSet=ys20220318"


# Redis connection string
redis="redis://localhost:6379/2"

# Database name for ZoneMTA data in MongoDB. In most cases it should be the same as in the connection string
sender="zone-mta"