魔改Proxmox Mail Gateway (PMG), 使用Outlook转发到Outlook的邮件

Outlook对于来自家庭IP的邮件直接退信。这显然太激进了。为了让来自我的邮件能正常投递进Outlook,需要对邮件出口网关 Proxmox Mail Gateway (下称PMG) 进行一些魔改。

设置中继域(Relay Host)
中继域包括outlook.com和hotmail.com
设置中继域

修改/var/lib/pmg/templates/main.cf.in,在文件末尾添加

smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
smtp_sasl_security_options = noanonymous

并一并放到/etc/postfix/main.cf

创建/etc/postfix/relay_passwd

[smtp-mail.outlook.com]:587 [YourID]@outlook.com:[YourPassword]

执行

postmap /etc/postfix/relay_passwd
postfix reload

观察实验现象 (XD

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇