? 在线视频一二三区_如何配置Sendmail服務(wù)器以防治垃圾郵件-天津九安特機電工程有限公司

亚洲女同成aV人片在线观看|亚洲www啪成人一区二区麻豆|亚洲国产中日韩精品综合|亚洲国产成人精品一级片|亚洲无码在线视频免费

?

如何配置Sendmail服務(wù)器以防治垃圾郵件

如何配置Sendmail服務(wù)器以防治垃圾郵件

隨著(zhù)互聯(lián)網(wǎng)的何配普及,垃圾郵件問(wèn)題日益嚴重,服防治給用戶(hù)帶來(lái)了很大的垃圾困擾,為了有效防止垃圾郵件,郵件我們需要對Sendmail服務(wù)器進(jìn)行配置,何配本文將詳細介紹??如何配置Sendmail服務(wù)器以防治垃圾郵件,服??防治幫助您打造一個(gè)干凈、垃圾安全的郵件郵件環(huán)境。

安裝Sendmail

在開(kāi)始配置Sendmail之前,何配首先需要在您的服防治計算機上安裝Sendmail,安裝方法因操作系統而異,垃圾以下是郵件針對不同操作系統的安裝方法:

1、在Ubun(′?`*)tu系統中,何配可以使用以下命令安裝Send??mail:

sudo apt-get updatesudo apt-get install sendmail

2、服防治在CentOS系(//ω//)統中,垃圾ヽ(′▽?zhuān)?ノ可以使用以下命令安裝Sendmail:

sudo yum install sendmail

3、在Windows系統中,可以下載并安裝Microsoft Windows Mail Server或者使用第三方軟件如Exch( ???)ange Server。

配置Sendmail服務(wù)器

安裝完成后,需要對Sendmail服務(wù)器進(jìn)行配置,以下是一些常用的配置方法:

1、修改Sendmail配置文件

Sendmail的配置文件通常位于/etc/sendmail.cf,可以使用文本編??輯器打開(kāi)并進(jìn)行修改,以下是一些常用的配置參數:

(1)將發(fā)件人(ren)域名添加到發(fā)件人黑名單:

reject_user your_email_domain "User has been blacklisted"

(2)將發(fā)件人IP地址添加到發(fā)件人黑名單:

reject_sender_ip your_ip_addres(′_`)s "Sen?der IP address has been blacklisted"

smtpd_sasl_auth_timeout 300

2、創(chuàng )建本地別名文件

/et(╥_╥)c/mail/local-host-names文件中添加以下內容,將您自己的域名添加到本地別名列表??中:

your_email_domain local yo??ur_domain.com your_domain.net

3、修改??Sendmail的主配置文件

/etc/mail/master.cf文件中添加或修改以(yi)下內容,以啟用SPF、DKIM和DMARC記錄:

rewritedomain your_email_domain your_domain.com your_domain.net(??ヮ?)?*:??? nolist = $myhostname, $mydomaヽ(′▽?zhuān)?ノin, $myorigin, $mytransport, localhost.$mydomain, $http{ re??mo??te_addr} [IPv6:$ipv6] ~^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{ 2,}$ noheader = $h_{ From} xforwarder = $h_{ From} forwardpath = /usr/lib/sendmail -f $h_{ From} -t(╬?益?) $h_{ To} smtpd_sasl_auth_enable = yes smtp??d_sasl_security_options = noanonymous auth_mech??anisms = plain login = yes smtpd_sasl_localdomain = $myhostname smtpd_use_tls = yes smtpd_tls_cert_file = /etc/s??sl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/s??sl-cert-snakeoil??.key smtpd_tls_ses??sion_cache_database = btree:${ data_directory}/smtpd_??scache dbfilename = cachedb lsearch = smtpd: list=PLAIN dlvho??st = localhost reject(′?ω?`)_unauth_destination = yes reject_invalid_hostname = yes reject_u(′▽?zhuān)?nknown_sender = yes reject_unverified_sender = yes reject_failed_lo(╬?益?)gin_attempts = yes reject_rbl_client check_spamtable function=check_sp(╯°□°)╯amtable file=/etc/mail/check-spamtab(╬?益?)le.cf defer:pass header_checks=regexp:??/^S+$/ body_checks=regexp:/^S+$/?? check_from=check_froヽ(′ー`)ノm header_from=check_(′?_?`)from body_from=check_from check_rcpt=check_rcpt header_rcpt=check_rcpt body_??rcpt=check_rcpt check_size=chec??k_size header_size=check_size body_size=check_size check_tra┐(′ー`)┌nsfers=check_transfers header_transfers=check_transfers body_transfers=check_transfers check_return=check return header=$h_???{ Return-Path} body=$bptr verify=fail header=$h_{ Received} body=$bptr reject=fail header=$h_{ Received}?? body=$bptr reject=fail header=$h_{ Message-ID} body=$bptr reject=fail header=$h_{ Dat?e} body=$bptr reject=fail header=$h_{?? To} body=$bptr reject=fail header=$h_{ Subject}(′_ゝ`) body=$bptr reject=fail header=$h_{ From} body=$ヽ(′▽?zhuān)?ノbptr reject=fail header=$h_(′ω`){ Cc} body=$bptr reject=fail header=$h_{ Reply-T??o} body=$bptr reject=fail header=$h_{ X-Priority} body=$bptr reject=fail header=$(?Д?)h_{ X-Mailer} body=$bptr reject=(′▽?zhuān)?fail logid="$logid" spamヽ(′▽?zhuān)?ノaction=defe(′▽?zhuān)?r spamdetected="$spamdet(′▽?zhuān)?ecte??d" spamdetectedtag="$spamdetectedtag" spamreported="$spamreported(╯‵□′)╯" spamreportedtag="$spamreportedtag"?? spam(′;д;`)threshold="5" spamthresholdtag="5" checkpolicy="┐(′?`)┌default"?? checkpoli???cytag="default" defaultlimit="5000000" defaultlimittag="5000000" sizelimit="5000000" sizelimittag="5000000" transferlimit="5000000" transferlimittag="50??00000" maxmessagesize="(??-)?;128000" maxmessagesizetag="128000" maxuseragentsize="128(?????)000" maxuseragentsizetag="128000" maxlinesize="128000" maxl(╥_╥)inesizetag="128000" maxheadersize="128000" maxheadersizetag="128??000" maxreceivedlines="16384" maxreceivedlinestag="16384" maxre??ceivedoctets="16777216" maxreceivedoctetstag="16777216" minuseragentlength="1" minuseragentlengthtag="1" minheaderlength="5( ?ヮ?)&qu?ot; minheaderlengthtag="5" minreceivedlines=&quoヽ(′▽?zhuān)?ノt;16384" minrecei??vedlinestag=(╯°□°)╯"16384" minreceivedoct??ets="167772ヽ(′?`)ノ16" minreceivedoctetstag="16777216" deflateleve??l="9" deflateleveltag=&??quot;9??&qu??ot; endlocaldomainname="$myhostname" en??dlocaldomain(′▽?zhuān)?nametag="$myhostヽ(′▽?zhuān)?ノname" endlocalforwardname=&quo??t;${ myhostname}.localhost.lo??caldomain" endlocalforwardnametag="${ myhostname}.localhost.localdomain" endlocaltransportname="${ myh( ?▽?)ostname(′?`*)}.localhost.localdomain" endlocalt(′-ι_-`)ra(?????)nsportnametag="${ myhostname}.localhost.loc??aldo??main" endlocalreversepath="${ myhostname}.localhost.localdo(????)main&?quot; endlocalreversepathtag="${ myhostname}.localhost.localdomain" endlocalappendxheadersno(?????)respcode "$myhostname [email protected] axfr $myhostname axfr?? $myhostname axfr $myhostname ax(°□°)fr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname(╯‵□′)╯ axfr(′_ゝ`) $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname axfr $myhostname ax??fr $myhost??name axfr $myhostname axfr $myhostname aqfwd to:<> cc:<> date:<> subjec??t:(′_`)<> from:<> reply-to:<> in-reply-to:<> message-id:<> content-type:<> content-(′▽?zhuān)?)description:<> content-disposition:<> content-encoding:<> content-language:<> content-location:<> content-md5:<> content-referer:<> con(′?_?`)tent??-type:<> content-char??set:<>(none) prioriヽ(′▽?zhuān)?ノty=(′?_?`){ priority} relaydelay={ relaydelay} delay={ delay} expire={ expire} starttlsnoop={ starttlsnoop} starttlsextendedok={ starttlsextendedok}!MTA[a]:{ address}:{ port};!MTA[b]:{ address}??:{ port};!MTAD[c]:{ address}:{ port};!MTAD[d]:{ address
  1. 上一篇:網(wǎng)站制作流程和方法_網(wǎng)站制作語(yǔ)言_4
  2. 下一篇:沒(méi)有了;

其他產(chǎn)品

亚洲女同成aV人片在线观看|亚洲www啪成人一区二区麻豆|亚洲国产中日韩精品综合|亚洲国产成人精品一级片|亚洲无码在线视频免费 新余市| 大厂| 宁夏| 密山市| 景东| 荆州市| 客服| 临朐县| 永康市| 绥江县| 伊金霍洛旗| 黑龙江省| 双峰县| 阿拉尔市| 朝阳市| 翁源县| 米林县| 平山县| 伊春市| 新余市| 阳信县| 沅陵县| 三亚市| 大理市| 台中市| 环江| 于田县| 略阳县| 永善县| 云阳县| 上蔡县| 繁昌县| 五原县| 南投市| 武定县| 获嘉县| 清水河县| 疏附县| 华容县| 巴林左旗| 富顺县| http://444 http://444 http://444 http://444 http://444 http://444