分享
 
 
 

Linux上的邮件网关(杀病毒)AntiVirMailGate

王朝system·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

Linux 上的邮件网关(杀病毒)AntiVir MailGate , 它有两种方法:

1. 直接作 mail 网关,然后利用“ 管道 ”调用 smtp 程序。支持标准的 smtp 程序: sendmail、postfix、qmail。

2. 也是作 mail 网关,在 /etc/sendmail.cf 里添加 avgatemail 选项 (这样 sendmail 在 825 端口监听),然后 再利用 825 端口转发邮件。意思是:25 即是 avmailgate 的 smtp 端口,然后它再利用 825(sendmail)端口转发邮件 !

请注意:但是人家还是可以利用你的 825 端口 (就是利用原来的 senmail 来给你发送病毒邮件!但是,这种情况很少的。)。这时你可以用防火墙来阻止来自外部的对本机的 825 端口的连接。

在 /etc/services 里面增加:

smtp-backdoor 825/tcp

修改 sendmail.cf 成:

# SMTP daemon options

#O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

# 原来的。

# -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- gugong -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-

#

# 红帽子 V7.x V8.0 所建立的本文件默认 “只” 对 localhost 即 127.0.0.1

# 提供服务,根据以往本文件的内容,修改为:

#

# SMTP daemon options

O DaemonPortOptions=Name=MTA, Port=smtp-backdoor

O DaemonPortOptions=Port=587, Name=MSA, M=E

# 若 不需要 avgatemail ,则应该是:

#O DaemonPortOptions=Name=MTA

#O DaemonPortOptions=Port=587, Name=MSA, M=E

# 在端口 587 提供 submission 服务(MSA)。

# -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- gugong -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-

请看:

邮件网关杀除病毒后返回的报告:

一、

*********************************************************************

AntiVir Virus Alert

*********************************************************************

This version of AntiVir MailGate is licensed for private and non-commercial use.

*********************************************************************

AntiVir found these viruses in the following mail:

Worm/Klez.E

The mail was not delivered.

You may force the delivery without further checking the mail using:

avq --deliver=04347-536A3823

but we would not advise to do so. You should delete it with:

avq --remove=04347-536A3823

For more information, please read the manual page avmailgate(8).

----------Mail-Info----------

From: winson246

To: webmaster@fruitron.com.cn

Subject: Marginheight

Mail-From: suscono@pub.dgnet.gd.cn

Rcpt: webmaster@fruitron.com.cn

Queue-Id: 04347-536A3823

Status: The mail was not delivered!

-----------------------------

-----------Log-File----------

info: extracting attachment 1 to /var/tmp/av-06051-U43SFi/av-0

(encoding="quoted-printable", name="(no name)", filename="(no name)")

info: extracting attachment 2 to /var/tmp/av-06051-U43SFi/av-1

(encoding="base64", name="Vebnq.pif", filename="(no name)")

info: extracting attachment 3 to /var/tmp/av-06051-U43SFi/av-2

(encoding="base64", name="frame", filename="(no name)")

checking file "/var/tmp/av-06051-U43SFi/av-0"

checking file "/var/tmp/av-06051-U43SFi/av-1"

checking file "/var/tmp/av-06051-U43SFi/av-2"

-----------------------------

*********************************************************************

For more information on AntiVir please visit our web site

http://www.antivir.de or http://www.hbedv.com

mailto: info@antivir.de

AntiVir is a registered trademark of

H+BEDV Datentechnik GmbH

*********************************************************************

二、

*********************************************************************

AntiVir Virus Alert

*********************************************************************

This version of AntiVir MailGate is licensed for private and non-commercial use.

*********************************************************************

AntiVir found these viruses in a mail for you from winson246 :

Worm/Klez.E

The mail was not delivered.

AntiVir MailGate prevented a virus delivery. But if you need to

receive further email from winson246 ,

you should ask him/her to buy a professional antivirus software such

as AntiVir from H+BEDV Datentechnik GmbH. He/She can contact

mailto:sales@hbedv.com for further information.

----------Mail-Info----------

From: winson246

To: webmaster@fruitron.com.cn

Subject: Marginheight

-----------------------------

*********************************************************************

For more information on AntiVir please visit our web site

http://www.antivir.de or http://www.hbedv.com

mailto: info@antivir.de

AntiVir is a registered trademark of

H+BEDV Datentechnik GmbH

*********************************************************************

自动升级病毒库后的报告:

AntiVir has successfully updated itself.

-- /usr/lib/AntiVir/antivir.vdf

Machine: gugonghcs.fruitron.com.cn

Date: 09 May 2002

Time: 10:39:18

-----------------------------

Copyright (C) 1994-2002 by H+BEDV Datentechnik GmbH.

All rights reserved.

For private (non-commercial) use only.

请到 :

http://www.hbedv.com

下载 Linux 版本,并注册,Linux 的 版本可是免费的哟。

由于附件的后缀名限制,附加的文档的 .txt 结尾是我增加附加档案时添加上去的。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有