#pSmtpQueue
Recommendation: Proxmox Mail Gateway as an additional layer in front of nextxch
เกตเวย์เมลที่อยู่ด้านหน้าจะรับเมลทั้งหมดจากอินเทอร์เน็ต ตรวจสอบด้วยเครื่องมือป้องกันสแปมและไวรัสตัวที่สองที่เป็นอิสระ และส่งต่อเฉพาะเมลที่สะอาดไปยัง nextxch หน้าตานี้แสดงสถาปัตยกรรม, ขั้นตอนการติดตั้ง Proxmox Mail Gateway (โอเพนซอร์ส, AGPLv3) หน้า nextxch และการตั้งค่า nextxch ที่สำคัญ
เกตเวย์เป็นทางเลือก: nextxch มีการป้องกันสแปมและไวรัสของตนเอง สำคัญหากคุณใช้งาน: เพิ่ม IP ของเกตเวย์ใน nextxch เป็นเกตเวย์ที่เชื่อถือได้ (ขั้นตอนที่ 5) จากนั้น nextxch จะอ่าน IP ผู้ส่งจริงจากส่วนหัว Received ของเกตเวย์และทำการประเมิน SPF, DMARC, greylisting และ DNSBL ต่อไปอย่างถูกต้องแทนที่จะตรวจสอบ IP ของเกตเวย์
เหตุใดการมีเกตเวย์อยู่ด้านหน้าจึงมีประโยชน์
- การป้องกันเชิงลึก (Defense in depth): ระบบอิสระสองระบบต้องล้มเหลวก่อนที่ข้อความที่เป็นอันตรายจะเข้าถึงกล่องจดหมาย จุดอ่อนในผลิตภัณฑ์เดียวจึงไม่เพียงพอด้วยตัวมันเอง
- เครื่องมือป้องกันสแปมและป้องกันไวรัสตัวที่สอง: Proxmox Mail Gateway ใช้กฎของตนเอง, ตัวกรองเบย์เซียน, SPF, DNSBL และ ClamAV สิ่งที่ตัวกรองหนึ่งพลาดไป อีกตัวหนึ่งมักจะตรวจจับได้
- พื้นที่กักกัน (Quarantine): ข้อความที่น่าสงสัยจะถูกพักไว้ในเกตเวย์และสามารถตรวจสอบและปล่อยได้โดยผู้ดูแลระบบหรือผู้ใช้ผ่านรายงานสแปม
- Decoupling from the internet: มีเพียงเกตเวย์เท่านั้นที่ยอมรับการเชื่อมต่อจากอินเทอร์เน็ตบนพอร์ต 25 nextxch จะอยู่เบื้องหลังโดยเปิดพอร์ต 25 เฉพาะสำหรับเกตเวย์เท่านั้น
- Buffering during maintenance: หาก nextxch ไม่สามารถใช้งานได้ชั่วคราวสำหรับการอัปเดตหรือการบำรุงรักษา เกตเวย์จะเก็บบันทึกข้อความขาเข้าไว้ในคิวและส่งมอบให้หลังจากนั้น
การประเมินตามจริง: nextxch มาพร้อมกับการป้องกันสแปมของตัวเอง (SpamGuard พร้อมตัวกรองแบบปรับตัว, SPF/DKIM/DMARC/ARC, greylisting, DNSBL, ฮิวทริสติกส์ฟิชชิง) และประสานการทำงานของเอนจินป้องกันไวรัสสูงสุด 8 เอนจินพร้อมกัน (Windows AMSI, YARA/Sanesecurity, Cymru MHR, MalwareBazaar, VirusTotal Hash, ClamAV, RFC 3507 ICAP, Rspamd/CLI) สำหรับการติดตั้งส่วนใหญ่แค่นั้นก็เพียงพอแล้ว เกตเวย์ด้านหน้าเป็นทางเลือกและคุ้มค่าสำหรับข้อกำหนดที่สูงขึ้น: นโยบายที่ต้องการการกรองหลายขั้นตอน, เขตกักกันส่วนกลาง, เซิร์ฟเวอร์เมลหลายเครื่องหลัง MX เดียว หรือการแยกเครือข่ายอย่างเข้มงวด
สถาปัตยกรรม: อินเทอร์เน็ต -> Proxmox Mail Gateway -> nextxch
เรคคอร์ด MX ชี้ไปที่เกตเวย์ ซึ่งจะรับอีเมลบนพอร์ต 25 กรองและส่งต่อผ่าน SMTP ไปยัง nextxch หรือเลือกให้ nextxch ส่งอีเมลขาออกผ่านพอร์ตภายใน 26 ของเกตเวย์
Proxmox® เป็นเครื่องหมายการค้าจดทะเบียนของ Proxmox Server Solutions GmbH ชื่อดังกล่าวใช้เพื่อการอธิบายเท่านั้น nextxch ไม่มีส่วนเกี่ยวข้องกับ Proxmox Server Solutions GmbH และไม่ได้รับการรับรองหรือรับรองโดยบริษัทดังกล่าว
ภาพรวมการติดตั้ง
ลำดับนี้ช่วยหลีกเลี่ยงการสูญหายของอีเมล: ตั้งค่าและทดสอบเกตเวย์ให้สมบูรณ์ก่อน จากนั้นจึงสลับเรเคิด MX และปิดพอร์ต 25 บน nextxch เป็นขั้นตอนสุดท้าย
1. Install Proxmox Mail Gateway (ISO, on Debian or as an LXC container)
2. Add relay domains (every domain nextxch accepts)
3. Default relay = nextxch host, port 25 (Mail Proxy -> Relaying)
4. Enable receiver verification, TLS and a certificate in the gateway
5. nextxch: add the gateway IP as a trusted gateway (SpamGuard)
6. Send a test message through the gateway, check Message Trace in nextxch
7. Switch the MX record to the gateway (remove the old MX only after the TTL expires)
8. Firewall: allow port 25 on nextxch from the gateway only
9. Optional outbound: gateway as smart host in nextxch (port 26, STARTTLS)
Example values on this page:
Gateway: pmg.company.com 203.0.113.25 (public, MX)
nextxch: mail.company.com 10.0.0.20 (internal, mailboxes)
1. ติดตั้ง Proxmox Mail Gateway
Proxmox Mail Gateway ทำงานเป็นอุปกรณ์แบบสแตนด์อโลน (ตัวติดตั้ง ISO บนฮาร์ดแวร์หรือเป็น VM) เป็นแพ็กเกจบนระบบ Debian ที่มีอยู่ หรือเป็นคอนเทนเนอร์ LXC หากคุณใช้ Proxmox VE จะมีเทมเพลตคอนเทนเนอร์สำเร็จรูปให้บริการในตัวจัดการอุปกรณ์ หลังจากนั้นคุณสามารถจัดการผ่านอินเทอร์เฟซเว็บที่พอร์ต 8006
Option A: ISO installer (hardware or VM)
Download the ISO from proxmox.com/downloads -> boot -> run the installer
Host name: pmg.company.com (FQDN, matching the future MX and PTR)
IP: static IP, e.g. 203.0.113.25 or a DMZ address behind NAT
Option B: on an existing Debian system
Add the Proxmox package repository and install the packages as described in
"Install Proxmox Mail Gateway on Debian" in the PMG admin guide
Option C: LXC container in Proxmox VE
Proxmox VE -> Storage -> CT Templates -> Templates -> section "mail"
-> download the Proxmox Mail Gateway template -> create the container
Web interface: https://pmg.company.com:8006 (port 8006 from the admin network only)
Repositories: without a subscription, add the "pmg-no-subscription" repository.
For production, Proxmox recommends the enterprise repository (with subscription).
2. รีเลย์โดเมน, รีเลย์เริ่มต้น และการตรวจสอบผู้รับในเกตเวย์
การตั้งค่าทั้งหมดอยู่ในอินเทอร์เฟซเว็บ PMG ภายใต้ Configuration -> Mail Proxy เกตเวย์ยอมรับเฉพาะเมลสำหรับโดเมนรีเลย์ที่ระบุและส่งต่อ1ไปยังรีเลย์เริ่มต้นหลังจากการกรอง
Configuration -> Mail Proxy -> Relay Domains
company.com
company-group.com (every domain configured in nextxch, including alias domains)
Configuration -> Mail Proxy -> Relaying
Default Relay: mail.company.com (or 10.0.0.20)
Relay Port: 25
Relay Protocol: SMTP
Disable MX lookup: yes (address the nextxch host directly)
Configuration -> Mail Proxy -> Ports
External SMTP Port: 25 (from the internet, untrusted)
Internal SMTP Port: 26 (from nextxch, trusted, for outbound mail)
Configuration -> Mail Proxy -> Options
Verify Receivers: 550 (reject unknown recipients right away)
SPF: yes
DNSBL Sites: e.g. zen.spamhaus.org (observe the list's terms of use)
Several internal servers: Configuration -> Mail Proxy -> Transports
(domain or single address -> its own target server)
3. สลับระเบียน MX ไปที่เกตเวย์
สลับหลังจากที่ข้อความทดสอบผ่านเกตเวย์มาถึง nextxch แล้วเท่านั้น (Message Trace ใน /admin/) ลด TTL ของเรคคอร์ด MX ให้เหลือเพียงไม่กี่นาทีก่อนหน้านี้ อย่าเปลี่ยนเรคคอร์ดสำหรับตัว nextxch เอง (A/AAAA, PTR, Autodiscover): ไคลเอนต์ยังคงเชื่อมต่อโดยตรงกับ nextxch
; Gateway
pmg.company.com. 3600 IN A 203.0.113.25
; PTR for 203.0.113.25 at your provider: pmg.company.com
; MX points to the gateway only
company.com. 3600 IN MX 10 pmg.company.com.
; nextxch stays reachable for clients (IMAP, SMTP submission, webmail)
mail.company.com. 3600 IN A 198.51.100.20
Test beforehand, without a DNS change:
swaks --to anna.weber@company.com --server pmg.company.com --port 25 --tls
4. Optional outbound: gateway as smart host in nextxch
อีเมลขาออกจะผ่านตัวกรองของเกตเวย์ด้วยเช่นกัน (เช่น การสแกนไวรัส, สถิติ) ในหน้าผู้ดูแลระบบภายใต้ SMTP, Queue Controls & Live MX Tester (#pSmtpQueue) ให้ป้อนเกตเวย์เป็นสมาร์ทโฮสต์ส่วนกลาง หรือใช้เส้นทาง SMTP เพื่อส่งเฉพาะผู้ส่งบางรายผ่านเกตเวย์ ข้อสำคัญ: IP สาธารณะของเกตเวย์ต้องอยู่ในเรคคอร์ด SPF ของโดเมนของคุณ และ PTR ต้องตรงกับชื่อ HELO ของเกตเวย์
# A) Global smart host: all outbound mail through the gateway
nextxch-cli update SmtpQueue --set outboundSmartHost=pmg.company.com \
--set outboundSmartPort=26 --set outboundSmartHostTlsMode=StartTlsRequired
# B) Exception: one partner domain still directly via DNS MX (route without target host)
nextxch-cli create Route --set domain=partner.com --set bypassSmartHost=true \
--set description="direct via MX, not through the gateway"
# C) Only certain senders through the gateway (#pSmtpQueue -> domain routes)
# Destination domain: *
# Only for senders: company.com, *.company.com (SenderDomains)
# Target host: pmg.company.com:26 (several, comma-separated = failover)
# TLS mode: StartTlsRequired
# Priority: 50 (smaller = first; default 100)
# Add the gateway IP to the SPF record of the sender domain:
company.com. IN TXT "v=spf1 mx ip4:203.0.113.25 -all"
# In the gateway: add the nextxch IP under Configuration -> Mail Proxy -> Networks
# if nextxch is not in the same subnet as the gateway.
5. Add the gateway IP in nextxch as trusted
เกตเวย์เมลรับข้อความด้วยตัวเองและส่งต่ออีกครั้ง สำหรับ nextxch IP ของผู้ส่งต่อจะเป็น IP ของเกตเวย์เสมอ เพื่อให้ SPF, DMARC, greylisting, DNSBL และการตรวจสอบ DNS ย้อนกลับยังคงตัดสินผู้ส่งจริงได้ ให้เพิ่มเกตเวย์ภายใต้ SpamGuard & ClamAV (#pSpam) ที่หัวข้อ "Trusted gateways" สำหรับการเชื่อมต่อจาก IP เหล่านี้ nextxch จะอ่าน IP ของผู้ส่งจากส่วนหัว Received ที่เกตเวย์เขียนไว้ ส่วนหัวจะถูกประเมินเฉพาะสำหรับการเชื่อมต่อจาก IP ในรายการเท่านั้น ดังนั้นผู้ส่งที่ส่งตรงจึงไม่สามารถปลอมแปลง IP ด้วยวิธีนี้ได้ TrustedProxyCidrs (Cluster:EnableProxyProtocol) คืออย่างอื่น: ใช้เฉพาะกับพร็อกซี TCP เช่น HAProxy ที่ใช้โปรโตคอล PROXY เท่านั้น
# nextxch: add the gateway as trusted (public and internal IP, CIDR allowed)
# (admin cockpit: SpamGuard & ClamAV (#pSpam) -> "Trusted gateways")
nextxch-cli update SpamGuard --set trustedRelayCidrs=203.0.113.25,10.0.0.25
# Check: send a test message through the gateway, then in the spam analyzer or Message Trace
# TRUSTED_RELAY Via gateway 10.0.0.25, sender IP 198.51.100.7 from Received header
# SPF_PASS (SPF now checked against 198.51.100.7)
# Stays active in nextxch:
# SPF/DKIM/DMARC/ARC, greylisting, DNSBL, adaptive content filter,
# phishing heuristics, allow/block lists, ClamAV (if enabled)
# Connection limit: all inbound mail comes from one IP.
# Check MaxConnectionsPerIp (#pSmtpQueue, default 48) for high volumes.
6. Firewall and TLS on both legs
ปิดพอร์ต 25 บน nextxch ในไฟร์วอลล์ของโฮสต์หรือเพอริมิเตอร์ (Windows Firewall, nftables, pfSense/OPNsense) กฎ IP ของ nextxch ไม่เหมาะสำหรับสิ่งนี้เนื่องจากใช้กับพอร์ต SMTP ทั้งหมดพร้อมกัน และจะไปกระทบพอร์ต 465 และ 587 ของไคลเอนต์ด้วย เข้ารหัสทั้งสองช่วง: อินเทอร์เน็ต <-> เกตเวย์ และ เกตเวย์ <-> nextxch
Firewall nextxch (inbound)
TCP 25 only from 203.0.113.25 / 10.0.0.25 (gateway)
TCP 465, 587 clients (SMTP submission) -> stay open
TCP 993, 443 clients (IMAP, webmail, DAV, push) -> stay open
Firewall gateway (inbound)
TCP 25 from the internet
TCP 26 from nextxch only (smart host, if used)
TCP 8006 from the admin network only
TLS internet <-> gateway
Configuration -> Mail Proxy -> TLS: "Enable TLS" on
Certificate: Certificates -> ACME (Let's Encrypt) for pmg.company.com
TLS gateway -> nextxch
nextxch offers STARTTLS on port 25 with the certificate of mail.company.com
Gateway: TLS destination policy for mail.company.com = encrypt
(or verify if the default relay is entered as a host name)
TLS nextxch -> gateway (smart host)
outboundSmartHostTlsMode = StartTlsRequired
7. DKIM/DMARC, greylisting and backscatter
สามประเด็นที่มักมองข้ามในทางปฏิบัติ เกตเวย์ต้องไม่เปลี่ยนแปลงเมลขาออก, การทำ greylisting ควรทำงานในจุดเดียวเท่านั้น, และผู้รับที่ไม่รู้จักจะต้องถูกปฏิเสธในระหว่างการสนทนา SMTP
DKIM / DMARC
- nextxch signs outbound mail with DKIM. The gateway forwards it unchanged.
- No disclaimer rule for outbound mail and no content changes in the gateway
(otherwise the DKIM signature breaks and DMARC fails at the recipient).
- Leave DKIM signing off in the gateway; maintain disclaimers in nextxch if needed.
Greylisting
- Slows down spam bots but delays first messages from new senders (usually < 30 minutes per PMG docs).
- Run it in the gateway only; behind the gateway it would be ineffective in nextxch.
- For time-critical senders (e.g. login codes, order confirmations) use the welcomelist,
or skip greylisting entirely if the other filters are sufficient.
Avoid backscatter
- Verify Receivers = 550: the gateway asks nextxch via RCPT TO whether the address exists.
- nextxch rejects unknown recipients at RCPT TO, so the check takes effect immediately.
- Catch-all addresses in nextxch defeat the check and should be avoided.
8. Licence and cost (as of 1 Nov 2026)
Proxmox Mail Gateway เป็นโอเพนซอร์สภายใต้ GNU AGPLv3 และใช้งานได้เต็มรูปแบบโดยไม่ต้องมีซับسكريปชัน โดยการอัปเดตจะมาจากที่เก็บ pmg-no-subscription ซึ่ง Proxmox จัดเตรียมไว้สำหรับระบบทดสอบและไม่ใช่ระบบผลิต ซับسكريปชันจะคิดราคาต่อโฮสต์และต่อปี ตามข้อมูลของ Proxmox จะรวมผู้ใช้และโดเมนไม่จำกัดจำนวน และให้สิทธิ์เข้าถึงที่เก็บระดับองค์กร ราคาด้านล่างมาจากหน้าแสดงราคาของ Proxmox และอาจเปลี่ยนแปลงได้ โดยยึดถือ proxmox.com เป็นหลักเสมอ nextxch ไม่ได้จำหน่ายซับسكريปชัน Proxmox
Licence: GNU Affero General Public License v3 (AGPLv3), since PMG 5.0
Optional subscriptions per host and year (net, per proxmox.com, as of 1 Nov 2026):
Community EUR 190 no ticket support (forum)
Basic EUR 540 5 tickets/year, response 1 business day
Standard EUR 1,260 15 tickets/year, response 4 hours
Premium EUR 1,900 unlimited tickets, response 2 hours
(response = first reply to critical requests within business hours)
Sources:
https://www.proxmox.com/en/products/proxmox-mail-gateway/pricing
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html (admin guide 9.1.1: licence, repositories, ports)
การตั้งค่า ค่าเริ่มต้น และแนวปฏิบัติที่ดีที่สุด
| การตั้งค่า / ตำแหน่ง | คำอธิบาย | ค่าเริ่มต้น | แนวปฏิบัติที่ดีที่สุดในการผลิต |
|---|---|---|---|
PMG: Relay Domains (Mail Proxy) |
รายการโดเมนที่เกตเวย์ยอมรับและส่งต่อเมล เมลไปยังโดเมนอื่นจะถูกปฏิเสธ | leer |
เพิ่มทุกโดเมนที่กำหนดค่าไว้ใน nextxch รวมถึงโดเมนแฝด เมื่อคุณเพิ่มโดเมนใน nextxch ให้เพิ่มไปยังเกตเวย์ด้วย |
PMG: Default Relay + Port (Mail Proxy -> Relaying) |
ปลายทางสำหรับเมลขาเข้าหลังจากการกรอง (การขนส่ง Postfix) เซิร์ฟเวอร์ภายในเพิ่มเติมต่อโดเมนผ่าน Transports | Port 25 · SMTP |
mail.company.com หรือ 10.0.0.20, พอร์ต 25, โปรโตคอล SMTP เปิดใช้งาน "ปิดใช้งานการค้นหา MX" หากคุณป้อนชื่อโฮสต์ที่มีบันทึก MX ของตนเอง |
PMG: Verify Receivers (Mail Proxy -> Options) |
Receiver verification: before accepting, the gateway asks nextxch via RCPT TO whether the address exists and rejects unknown recipients during the SMTP dialog. | aus |
ตั้งค่าเป็น 550 ช่วยป้องกันการตีกลับแบบ backscatter เนื่องจากเกตเวย์จะไม่ยอมรับเมลสำหรับที่อยูปลอมที่ภายหลังจะต้องตีกลับ |
PMG: TLS + Zertifikat |
STARTTLS สำหรับการเชื่อมต่อขาเข้าและขาออกของเกตเวย์ หากไม่มีใบรับรองของตนเอง PMG จะสร้างใบรับรองที่ลงนามด้วยตนเองขึ้นมา | TLS aus |
เปิดใช้งาน TLS, รับใบรับรองที่เชื่อถือได้ผ่าน ACME (Let's Encrypt) สำหรับ pmg.company.com และตั้งค่านโยบาย TLS เป็น "encrypt" สำหรับโฮสต์ nextxch |
PMG: Disclaimer & DKIM-Signatur |
การกระทำตามกฎข้อความปฏิเสธจะเพิ่มข้อความต่อท้ายเนื้อหา; การลงนาม DKIM จะลงนามอีเมลที่ได้รับบนพอร์ตภายใน | aus |
ปิดทั้งสองตัว nextxch เซ็นชื่อด้วย DKIM การเปลี่ยนแปลงเนื้อหาใด ๆ ในเกตเวย์จะทำให้ลายเซ็นเสียหายและส่งผลให้ DMARC ล้มเหลว รักษาคำปฏิเสธความรับผิดชอบใน nextxch เท่านั้น (เพิ่มก่อนเซ็นชื่อ) |
nextxch: Smart-Host (#pSmtpQueue · outboundSmartHost) |
สมาร์ทโฮสต์ส่วนกลาง: เมลขาออกทั้งหมดจะไปที่รีเลย์นี้แทนที่จะไปที่ MX ของผู้รับโดยตรง | leer (direkt per MX) · Port 25 |
pmg.company.com, พอร์ตรีเลย์ 26 (พอร์ตภายในของเกตเวย์), โหมด TLS StartTlsRequired, ไม่มี SMTP AUTH ในเกตเวย์ จะต้องระบุ IP ของ nextxch ภายใต้ Networks (อนุญาตซับเน็ตเดียวกันโดยอัตโนมัติ) |
nextxch: Route · SenderDomains |
เงื่อนไขผู้ส่งของเส้นทาง SMTP: โดเมน (company.com, *.company.com) หรือที่อยู่อีเมล (billing@company.com, *@company.com) ค่าว่างหมายถึงผู้ส่งทุกคน | leer |
ส่งเฉพาะผู้เช่าบางรายผ่านเกตเวย์: เส้นทางที่มีโดเมนปลายทาง * และ SenderDomains = company.com, โฮสต์ปลายทาง pmg.company.com:26 |
nextxch: Route · Priority |
ลำดับท่ามกลางเส้นทางที่มีระดับความสำคัญเท่ากัน ตัวเลขที่น้อยกว่าจะชนะ ตามด้วยแพตเทิร์นที่มีความเฉพาะเจาะจงมากกว่า | 100 |
Rank comes before priority: sender + destination domain, then destination domain, then sender only (destination *), then *, then global smart host, then DNS MX. |
nextxch: Route · BypassSmartHost |
สำหรับเส้นทางที่ไม่มีโฮสต์ปลายทางเท่านั้น: เมลที่ส่งไปยังโดเมนนี้จะไปผ่าน DNS MX โดยตรง แม้ว่าจะมีการตั้งค่าสมาร์ทโฮสต์ส่วนกลางก็ตาม | false |
สำหรับโดเมนพาร์ทเนอร์แต่ละรายที่ไม่ควรผ่านเกตเวย์ หากเส้นทางมีโฮสต์เป้าหมาย สวิตช์นี้จะถูกละเว้น |
nextxch: Vertrauenswürdige Gateways (#pSpam · trustedRelayCidrs) |
IPs หรือเครือข่าย CIDR ของเกตเวย์ต้นทาง เมื่อการเชื่อมต่อมาจากที่นั่น nextxch จะดึง IP ของผู้ส่งและ HELO จากส่วนหัว Received บนสุดที่ไม่ได้เขียนโดยเกตเวย์ที่ระบุหรือ localhost | leer |
เพิ่ม IP เกตเวย์สาธารณะและภายใน เช่น 203.0.113.25 และ 10.0.0.25 เฉพาะเกตเวย์ของคุณเอง: เฮดเดอร์ Received จาก IP ที่ระบุจะถือว่าถูกต้อง ตัววิเคราะห์สแปมจะแสดงกฎ TRUSTED_RELAY พร้อมกับ IP ของผู้ส่งที่ตรวจพบ |
nextxch: SPF, DKIM, DMARC & ARC, Greylisting, DNSBL (#pSpam) |
เมื่อระบุเกตเวย์ ระบบจะตรวจสอบ IP ของผู้ส่งที่แท้จริง หากไม่มีเกตเวย์ ระบบจะเห็นเฉพาะ IP ของเกตเวย์ และ SPF ส่วนใหญ่จะส่งค่า softfail หรือ fail สำหรับโดเมนอื่น | abhängig von der Konfiguration |
เปิดไว้ การตรวจสอบทั้งในเกตเวย์และ nextxch นั้นไม่เป็นอันตราย หากต้องการการทำ greylisting ในที่เดียวเท่านั้น ให้เก็บบันทึกไว้ที่เกตเวย์และปิดใน nextxch |
Firewall: Port 25 auf nextxch |
หลังจากการสลับ MX มีเพียงเกตเวย์เท่านั้นที่สามารถเข้าถึง nextxch บนพอร์ต 25 ได้ | offen für alle |
ในไฟร์วอลล์ของโฮสต์หรือขอบเขต อนุญาตพอร์ต 25 เฉพาะจาก 203.0.113.25 หรือ IP เกตเวย์ภายในเท่านั้น พอร์ต 465, 587, 993 และ 443 เปิดอยู่สำหรับไคลเอนต์ |