熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Oracle >> 正文

Linux 上的郵件網關(殺病毒)AntiVir MailGate

2022-06-13   來源: Oracle 

  Linux 上的郵件網關(殺病毒)AntiVir MailGate 它有兩種方法
  
   直接作 mail 網關然後利用 管道 調用 smtp 程序支持標准的 smtp 程序 sendmailpostfixqmail
  
   也是作 mail 網關在 /etc/sendmailcf 裡添加 avgatemail 選項 (這樣 sendmail 在 端口監聽)然後 再利用 端口轉發郵件意思是 即是 avmailgate 的 smtp 端口然後它再利用 (sendmail)端口轉發郵件 !
  請注意但是人家還是可以利用你的 端口 (就是利用原來的 senmail 來給你發送病毒郵件!但是這種情況很少的這時你可以用防火牆來阻止來自外部的對本機的 端口的連接
  
  
  在 /etc/services 裡面增加
  smtpbackdoor /tcp
  
  修改 sendmailcf 成
  # SMTP daemon options
  
  #O DaemonPortOptions=Port=smtpAddr= Name=MTA
  # 原來的
  
  # _______________ gugong _______________
  #
  # 紅帽子 Vx V 所建立的本文件默認 對 localhost 即
  # 提供服務根據以往本文件的內容修改為
  #
  # SMTP daemon options
  O DaemonPortOptions=Name=MTA Port=smtpbackdoor
  
  O DaemonPortOptions=Port= Name=MSA M=E
  
  # 若 不需要 avgatemail 則應該是
  #O DaemonPortOptions=Name=MTA
  
  #O DaemonPortOptions=Port= Name=MSA M=E
  # 在端口 提供 submission 服務(MSA)
  # _______________ gugong _______________
  
  
  請看
  郵件網關殺除病毒後返回的報告
  
  一
  
  *********************************************************************
  AntiVir Virus Alert
  *********************************************************************
  This version of AntiVir MailGate is licensed for private and noncommercial use
  *********************************************************************
  
  AntiVir found these viruses in the following mail:
  
  Worm/KlezE
  
  The mail was not delivered
  
  You may force the delivery without further checking the mail using:
  
  avq deliver=A
  
  but we would not advise to do so You should delete it with:
  
  avq remove=A
  
  For more information please read the manual page avmailgate()
  
  
  MailInfo
  From: winson <>
  To: wecn
  Subject: Marginheight
  MailFrom: susc
  Rcpt: wecn
  QueueId: A
  Status: The mail was not delivered!
  
  
  
  LogFile
  info: extracting attachment to /var/tmp/avUSFi/av
  (encoding=quotedprintable name=(no name) filename=(no name))
  info: extracting attachment to /var/tmp/avUSFi/av
  (encoding=base name=Vebnqpif filename=(no name))
  info: extracting attachment to /var/tmp/avUSFi/av
  (encoding=base name=frame filename=(no name))
  checking file /var/tmp/avUSFi/av
  checking file /var/tmp/avUSFi/av
  checking file /var/tmp/avUSFi/av
  
  *********************************************************************
  For more information on AntiVir please visit our web site
  
  mailto: info@antivirde
  
  AntiVir is a registered trademark of
  H+BEDV Datentechnik GmbH
  *********************************************************************
  
  
  二
  
  *********************************************************************
  AntiVir Virus Alert
  *********************************************************************
  This version of AntiVir MailGate is licensed for private and noncommercial use
  *********************************************************************
  
  AntiVir found these viruses in a mail for you from winson <>:
  
  Worm/KlezE
  
  The mail was not delivered
  
  AntiVir MailGate prevented a virus delivery But if you need to
  receive further email from winson <>
  you should ask him/her to buy a professional antivirus software such
  as AntiVir from H+BEDV Datentechnik GmbH He/She can contact
  mailto: for further information
  
  MailInfo
  From: winson <>
  To: wecn
  Subject: Marginheight
  
  
  *********************************************************************
  For more information on AntiVir please visit our web site
  
  mailto: info@antivirde
  
  AntiVir is a registered trademark of
  H+BEDV Datentechnik GmbH
  *********************************************************************
  
  
  自動升級病毒庫後的報告
  
  AntiVir has successfully updated itself
  
  > /usr/lib/AntiVir/antivirvdf
  
  Machine: gucn
  Date: May
  Time: ::
  
  
  
  
  
  Copyright (C) by H+BEDV Datentechnik GmbH
  All rights reserved
  
  For private (noncommercial) use only
  
  
  請到
  
  
  
  下載 Linux 版本並注冊Linux 的 版本可是免費的喲
  
  由於附件的後綴名限制附加的文檔的 txt 結尾是我增加附加檔案時添加上去的

From:http://tw.wingwit.com/Article/program/Oracle/201311/18110.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.