It has been discovered that the company mail server is configured as an open relay. Which of the following actions would help prevent the mail server from being used as an open relay while maintaining the possibility to receive company mails? (Choose two.)
A. Restrict Postfix to only accept e-mail for domains hosted on this server
B. Configure Dovecot to support IMAP connectivity
C. Configure netfilter to not permit port 25 traffic on the public network
D. Restrict Postfix to only relay outbound SMTP from the internal network
E. Upgrade the mailbox format from mbox to maildir
題解
所謂的「open relay」,是指郵件伺服器會替任何人轉送郵件到任何的網域。要避免這個問題,可以讓 Postfix 只接收寄給這台伺服器所負責的網域的郵件,並且只替內部網路轉送要寄到外部的郵件。至於選項 C,其他的郵件伺服器是透過公開網路連到 25 連接埠(SMTP)來把郵件寄進來的,如果把它擋掉,就收不到外部寄給公司的郵件了。
答案是選項「A」和選項「D」。
