微信备注是什么意思| 上火牙疼吃什么药| 缺钾是什么原因| 万象更新是什么意思| 弥留之际什么意思| 小腿出汗是什么原因| 脚肿吃什么药消肿| 肾结石都有什么症状| 什么水果不能上供| 6月8号什么星座| p波代表什么| 太阳穴胀痛是什么原因| 长公主是皇上的什么人| 泥鳅喜欢吃什么食物| 肝右叶低密度灶是什么意思| 清洁度三度什么意思| 经常打饱嗝是什么原因| 补肾壮阳吃什么| 股票尾盘拉升说明什么| 户口是什么意思| 喘是什么意思| 女人吃什么最补子宫| 吃羊肉不能吃什么东西| 打猎是什么意思| 心愿是什么意思| 痔疮什么样子| 谁发明了什么| 血红蛋白低说明什么| 早上口干苦是什么原因| 护理考研考什么| 什么是sku| 1989年什么生肖| 血压高压高低压正常是什么原因| 什么是早搏| 汗管瘤用什么药能去掉| 刚是什么意思| 痛经吃什么药最有效| 猫咪有泪痕是什么原因| 手术后为什么不让睡觉| 白痰多是什么原因| 心脏不舒服做什么检查| 线下培训是什么意思| 鸡皮肤是什么原因引起的| 闹心是什么意思啊| 芥末是什么| 什么弓什么箭| 鬼谷子姓什么| 梦见自己生个女孩是什么意思| 充电宝什么品牌最好| 葫芦什么时候成熟| 南明为什么打不过清朝| 什么是什么的家| 七月上旬是什么时候| 三教九流代表什么生肖| 胆囊壁胆固醇结晶是什么意思| 外地车进北京有什么限制| 身上为什么会长小肉球| 尿蛋白高是什么病| 不排大便是什么原因| 铁瓷是什么意思| crh是什么意思| 睾丸变小了是什么原因| 百合花是什么颜色的| 6月5日是世界什么日| 霸天虎和威震天是什么关系| 感染hpv吃什么药| 掉头发是缺什么| 一动就大汗淋漓是什么原因| 梦见别人开车撞死人是什么意思| 血糖高吃什么食物好| 黄果树是什么树| 为什么一热脸就特别红| 嘴唇发白是什么原因| 妊娠高血压对胎儿有什么影响| 梦见手指流血是什么预兆| 美工是做什么的| 补气血喝什么汤| 胃疼能吃什么| 出的汗是凉的什么原因| 湿疹吃什么食物好得快| 猫三联什么时候打| 手指头发麻是什么原因引起的| 口腹蜜剑什么意思| 欧阳修是什么居士| 淀粉酶是查什么的| 土霉素喂鸡有什么作用| 什么的关系| 什么样的梅花| 毛鸡蛋是什么| 皓五行属什么| bnp是什么意思| 翊什么意思| 干咳无痰是什么原因| 人的五官是什么| 电压高是什么原因造成| 纯净水和矿泉水有什么区别| KP什么意思| 茉莉花是什么颜色| 孕妇吃什么补铁| 父亲b型血母亲o型血孩子什么血型| 港澳通行证办理需要什么证件| 福州有什么好玩的地方| 屁股痒是什么原因| 什么星座颜值最高| 什么叫银屑病| 妄想是什么意思| 西洋参什么人不能吃| 走路气喘是什么原因| kailas是什么牌子| 75b是什么罩杯| 体温偏高的人说明什么| 中性粒细胞百分比高是什么原因| 产后复查都查什么| 先天性一个肾对人有什么影响| 慢性胃炎和浅表性胃炎有什么区别| 喝玉米水有什么好处| 为什么耳朵会痛| 电饭锅内胆什么材质好| 梦见黑蛇是什么预兆| 中指长痣代表什么| 杜仲是什么| 墨菲定律是什么意思| 五行缺什么| 属牛的跟什么属相最配| 头皮脂溢性皮炎用什么洗发水| 13点是什么时辰| 腰椎管狭窄吃什么药| 牛筋草有什么功效| 阴茎硬不起吃什么药| 经期吃什么好排除瘀血| mnm是什么单位| 小针刀是什么| 一个土一个斤念什么| 右耳朵疼是什么原因| 热痱子长什么样| 肩周炎挂什么科| 焦糖是什么糖| gummy是什么意思| 蚊子咬了涂什么| 叶字五行属什么| 血余炭是什么制成的| 血型o型rh阳性是什么意思| ch是什么意思| 高回声是什么意思| 肝胆科属于什么科| 虾膏是什么| 砂仁为什么要后下| 6.15是什么星座| 球鞋ep是什么意思| 外阴瘙痒用什么洗液| 果子狸携带什么病毒| 茯苓是什么味道| 血脂高是什么| 两栖动物是什么意思| IC什么意思| 尿路结石有什么症状| 什么是外围| 情人节送什么| 腹股沟疝气挂什么科| 包菜是什么菜| 曼字五行属什么| 蛆长什么样子| 胃溃疡吃什么水果| 7月23日是什么日子| 梯子是什么| 薪字五行属什么| 男人很man是什么意思| 禹字五行属什么的| fsa是什么意思| 头发沙发是什么意思| 密度单位是什么| 眼睛不舒服是什么原因| 碘伏遇到什么会变白| 脖子淋巴结挂什么科| 比基尼是什么| 流虚汗是什么原因| 什么样的人不能吃海参| 半夜胎动频繁是什么原因| 肾阳虚吃什么中成药| 西洋参有什么功效和作用| 耳毛念什么| 敖是什么意思| 胶原蛋白的成分是什么| 乐高为什么这么贵| hpv有什么危害| 下家是什么意思| 股市xd是什么意思| 小辣椒是什么意思| 泳字五行属什么| 女人为什么要穿高跟鞋| 女生发个wink什么意思| 天秤座男生喜欢什么样的女生| 伤官见官什么意思| 打喷嚏是什么预兆| 抗性糊精是什么| 飞机杯什么意思| 肾炎有什么症状| 待字闺中是什么意思| rds医学上什么意思| 什么是沙发发质| 7月17日什么星座| 灰指甲有什么症状| 生抽和老抽有什么区别| 二氧化碳结合力是什么| 蜜蜡什么样的成色最好| 武则天是什么生肖| 包谷是什么意思| 肌肉纤维化是什么意思| 看乳房挂什么科| 什么多腔| 逆光是什么意思| 古代上班叫什么| 什么是靶向治疗| 尿酸高有什么反应| 无创低风险是什么意思| 经常嗓子疼是什么原因| 长期喝豆浆有什么好处和坏处| 7月24号是什么星座| 梦见吃蜂蜜是什么预兆| 1956年属什么生肖| 贫血是什么原因导致的| 肖战是什么星座| 搬家有什么讲究| viscose是什么面料| 焦糖色是什么颜色| 烽烟是什么意思| 下限是什么意思| 白化病是一种什么病| 做了胃镜多久可以吃东西吃些什么| 罗纹布是什么面料| 疖肿挂什么科| 白介素6升高说明什么| 闫和阎有什么区别| 拉肚子为什么憋不住| 焦虑症是什么意思| 什么是有机食品| po医学上是什么意思| 维生素e吃多了有什么副作用| 向日葵花语是什么| pta是什么| 浣碧什么时候背叛甄嬛| 35年属什么生肖| 吃牛肉有什么好处| 唱过什么歌| 钼靶检查是什么意思| 耳朵蝉鸣是什么原因引起的| 拉肚子发热是什么情况| 更年期的女人有什么症状表现| 非萎缩性胃炎伴糜烂是什么意思| 牙疼吃什么水果好| 健康证检查什么| 湿疹用什么药膏最有效| 肛门指检能查出什么| 难于上青天是什么意思| 父母坟上长树意味什么| 孕妇吃什么钙片| 晕车喝什么饮料好| 感康是什么药| 耐力板是什么材质| 蚊虫叮咬红肿用什么药快速消肿| 冲猪煞东是什么意思| 治疗幽门螺旋杆菌的四联药是什么| 什么异思迁| 什么是菜花状疣图片| 百度
Jump to content

匹诺曹什么意思

From ArchWiki
百度   未来的“文明祭扫”,也是一个渐进的过程,但文明的程度会更高。

This article or section needs language, wiki syntax or style improvements. See Help:Style for reference.

Reason: Too many changes needed to list them all. (Discuss in Talk:Modoboa)

Modoboa is a mail hosting and management platform including a modern and simplified Web User Interface designed to work with Postfix and Dovecot.

For context, please see List of applications/Internet#Mail servers

When setting up this program is seems like the aur repo is a basic way to install the dependencies but lacks a lot of the system setup that you currently have to do manually. Here is a few details on how to setup modoboa as a system service.

Note: There are a few issues right now when installing Modoboa so this wiki article is currently unfinished and needs revision.

Installation

Tip: As of writing this article, the aur repo is out of date as of python3.12. There is a user maintained repo to install modoboaAUR which installs the python module installed into /usr/lib/python3.12/site-packages/modoboa or whichever python version you are currently running. But it is missing a number of packages including python-django-rqAUR python-magic python-tldextract python-reportlab python-aiosmtplibAUR and a version conflict with python-lxml. Until those are fixed please use the python installation through pip

To install modoboa through pip please create a python-virtualenv. You can also make a modoboa user if you want to encapsulate the program.

Find a place to put modoboa then run:

mkdir modoboa
cd /modoboa
virtualenv env
. env/bin/activate.fish

Then once you are in the virtual environment install modoboa:

Note: These packages are needed before building modoboa: base-devel python libxml2 libxslt libjpeg-turbo rrdtool libffi openssl pkgconf cairo
pip install modoboa


If you feel inclined you can read the documentation. Additionally here is a link to the github for reference: Modoboa-Github.

Once installing modoboaAUR you will have access to two command line utilities:

  • modoboa-cli
  • modoboa-admin.py

Databases

Modoboa requires one of these databases:

Please follow the installation process for whichever database you want to use and set it up before continuing.

Using PostgreSQL

If you use PostgreSQL you must install the python dependency [1]

pip install psycopg[binary]>=3.1

Then create a user and datbase for modoboa to use:

sudo -l -u postgres createuser --no-createdb modoboa
sudo -l -u postgres createdb --owner=modoboa modoboa

Using MySQL or MariaDB

For MySQL or MariaDB you must install the python dependency [2]

pip install mysqlclient

Once installed create an associated user:

CREATE DATABASE modoboa;
CREATE USER 'modoboa'@'localhost' IDENTIFIED  BY 'my-strong-password-here';
GRANT ALL PRIVILEGES ON modoboa.* TO 'modoboa'@'localhost';


Using SQLite

No required dependencies besides installing SQLite.

Making a Modoboa Instance

To start with Modoboa, until the aur repo is fixed follow the instructions above on installing a virtual environment and pip install modoboa. Then you can proceed to creating the Django project.

Building your Instance

Now deploy your modoboa. Once you have everything installed you can create an instance of the Django web-server using the command modoboa-admin.py deploy instance .... This will create a Django project in the directory ./instance in your working directory.

By default without introducing any database arguments Modoboa, it will prompt you for which database you want to use through an interactive console. If you use the SQLite method it will create a database in your working directory under the name ./instance.

modoboa-admin.py deploy instance --collectstatic --domain <hostname of your server>

The interactive prompt will ask you which database you want and to start you can just use sqlite3 while you are setting up your system:

Configuring database connection: default
Database type (mysql, postgres or sqlite3): sqlite3

Specifying a Sqlite Location

Alternatively, you can specify the location of your SQLite database.

modoboa-admin.py deploy instance --collectstatic --domain <hostname of your server> --dburl default:sqlite:////full/path/to/your/database/file.sqlite

Other Databases

If you are going to use an alternative database use this syntax <mysql|postgres>://[user:pass@][host:port]/dbname for the connection string. Here is a filled out example,

modoboa-admin.py deploy instance_name --collectstatic --domain example.com --dburl default:postgres://user:pass@[localhost]/modoboa

For more information on running the different databases see

modoboa-admin.py help deploy

Or read the documentation

Running the Django Instance

Before you can run modoboa you need to setup your webserver because it is dependent on your domain.

Once you have used modoboa-admin.py to create a instance directory, you can cd into the directory and there will be a manage.py file which would be familiar to anyone who uses Django.

To view the various services in the django project you can run in the instance directory:

python manage.py

Setting up Nginx

In this example we will use Gunicorn to run a unix socket for the modoboa webserver. While in the virtual environment for modoboa, please install gunicorn to host the webserver. You can also use uwsgi.

pip install gunicorn

Then we can setup a Nginx config accordingly. Make your configuration file however you do it. I have a /etc/nginx/available directory that I place config files then system link them to /etc/nginx/enables which is included in the /etc/nginx/nginx.conf.

I placed the the following in /etc/nginx/available/modoboa.conf

upstream modoboa {
     server      unix:/var/run/gunicorn/modoboa.sock fail_timeout=0;

}

server {
     server_name domain.com;
     root <modoboa_instance_path>;

     access_log  /var/log/nginx/modoboa.access.log;
     error_log /var/log/nginx/modoboa.error.log;

     location /sitestatic/ {
             autoindex on;
     }

     location /media/ {
             autoindex on;
     }

     location / {
             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
             proxy_set_header Host $http_host;
             proxy_redirect off;
             proxy_set_header X-Forwarded-Protocol ssl;
             proxy_pass http://modoboa;
     }
}

Now for ssl you need to install certbot and the nginx plugin certbot-nginx. Then run

sudo certbot --nginx run

To enable tls.

步履匆匆的意思是什么 红枣桂圆泡水喝有什么好处和坏处 黑色水笔是什么笔 pet是什么 gg是什么品牌
s和m是什么 6月20日什么星座 女人排卵是什么时间 致癌是什么意思 高血压一般在什么年龄
什么病不能吃丝瓜 浅尝辄止什么意思 专台号是什么意思 欲哭无泪什么意思 梦见掰玉米是什么意思
十月十二号是什么星座 雌二醇是什么意思 降结肠在什么位置 吃了发芽的土豆会有什么症状 咳嗽痰中带血是什么原因
痰盂是什么意思hcv9jop4ns5r.cn 潮喷是什么感觉hcv9jop4ns2r.cn 什么油最健康hcv9jop7ns2r.cn 15岁可以做什么兼职hcv8jop8ns4r.cn 雷替斯是什么药hcv8jop1ns9r.cn
升白针是什么药hcv8jop1ns8r.cn 浪花像什么hcv7jop9ns8r.cn 改良碱性土壤用什么hcv8jop9ns1r.cn 新疆为什么天黑的晚hcv7jop9ns7r.cn c是什么单位sscsqa.com
鸡呜狗盗是什么生肖hcv7jop9ns0r.cn 花序是什么意思hcv8jop0ns6r.cn 高尿酸血症吃什么药hcv8jop2ns9r.cn 血沉高说明什么hcv9jop6ns5r.cn 腺苷是什么hcv8jop9ns9r.cn
冲任失调是什么意思hcv9jop4ns1r.cn 吃饭后肚子疼是什么原因hcv8jop2ns8r.cn 胰腺管扩张是什么原因hcv9jop6ns3r.cn 生地是什么hcv7jop7ns1r.cn 拔罐对身体有什么好处hcv8jop2ns6r.cn
百度