日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Proxmox Mail Gateway (PMG) 安装及简单设置

發布時間:2024/3/13 编程问答 54 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Proxmox Mail Gateway (PMG) 安装及简单设置 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1. 前言

由于Windows Server 2022不再提供SMTP服務,Microsoft 365也關閉了相應SMTP服務,公司內部又需要相應的SMTP服務作為一些通知郵件的發送。故開始研究PMG作為SMTP轉發服務器來使用。 Proxmox Mail Gateway是領先的開源電子郵件安全解決方案,可幫助您保護郵件服務器免遭所有電子郵件威脅的侵害。靈活的架構與基于Web的友好用戶界面管理界面相結合,使IT專業人員和企業可以輕松控制所有傳入和傳出的電子郵件,并保護其用戶免受垃圾郵件,病毒,網絡釣魚和特洛伊木馬的侵害。

2. 安裝

安裝 Proxmox Mail Gateway

服務條款

分區(默認)

地區,時區及鍵盤(可根據實際情況選取,示例為China)

root密碼設置,及郵箱

網絡配置

確認配置

開始安裝


完成安裝后會自動重啟。
Console端會顯示Web顯示信息
頁面訪問https://ip:8006

3. 設置

1. 修改Debian更新源并添加PMG源為非訂閱源,并更新為最新版本。 cp /etc/apt/sources.list /etc/apt/sources.list.bak cd /etc/apt/ echo 'deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib' > sources.list echo 'deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib' >> sources.list echo 'deb https://mirrors.aliyun.com/debian-security/ bullseye-security main' >> sources.list echo 'deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main' >> sources.list echo 'deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib' >> sources.list echo 'deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib' >> sources.list echo 'deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib' >> sources.list echo 'deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib' >> sources.list echo '# PMG pmg-no-subscription repository provided by proxmox.com,' >> sources.list echo '# NOT recommended for production use' >> sources.list echo 'deb http://download.proxmox.com/debian/pmg bullseye pmg-no-subscription' >> sources.list apt update apt upgrade -y 2. 去除Proxmox登錄時“No valid subscription”的訂閱警告提示。

cd /usr/share/javascript/proxmox-widget-toolkit cp proxmoxlib.js proxmoxlib.js.bak vim proxmoxlib.js

定位到“ No valid subscription ”位置,在Ext.Msg.show前添加"void({ //",如下圖:

總結

以上是生活随笔為你收集整理的Proxmox Mail Gateway (PMG) 安装及简单设置的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。