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 结尾是我增加附加档案时添加上去的