sendmail 規範有效虛擬電郵

通常 virtual hosting 多在 virtusertable 設定虛擬電郵地址. 但有時設定不當, 一個系統戶口可以接收全部網址的電郵. 其實, 只要在 virtusertable 內加入容錯設定便可. 即:

@domain1.com   error:nouser No such user here

當然要 makemap hash + restart service

Please leave your comment on the topic

This site uses Akismet to reduce spam. Learn how your comment data is processed.