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」。
