
Code Blue
•
259 Hedcor Street
•
Holland, MI 49423 USA
•
800.205.7186
•
www.codeblue.com GU-154-F
page 130 of 132
ToolVox® X3
Administrator Guide
Thiscanstopsomepoorlydesignedbulkemailprograms.Thesecondoptionrequirestheenvelope
tottheSMTPspecicationprecisely,enforcingcompleteheaders.ThoughtheenvelopeandHELO
canbeforgedbyabulkmailer,itmaystopthemorehastilyimplementedvariants.
ThenextstageincludesthefourSMTPrestrictionsalsofoundontheSMTP Server Options page.
Theselimitfromwhereandtowheremailwillbedelivered.Theorderoftraversalforthesefourlists
ofrules:
6. Restrictions on client hostnames/addressesorsmtpd_client_restrictions
7. Restrictions on sends in HELO commandsorsmtpd_helo_restrictions
8. Restrictions on sender addressesorsmtpd_sender_restrictions
9. Restrictions on recipient addressesorsmtpd_recipient_restrictions
EachofthesecheckscanreturnREJECT,OKorDUNNO.IfREJECT,themessagewillberefused
andnofurtherruleswillbechecked.IfOK,nofurtherrulesinthegivenrestrictionwillbechecked
andthenextrestrictionlistwillbechecked.IfDUNNO,thelistwillcontinuetoprocessthecurrent
restrictionuntilitgetsanotherresult(OKorREJECT),oruntilthelistendisreached,whichisan
implicitOK.IfalllistsreturnOK,themessagewillbepassedtotheregularexpressionschecks,
otherwiseitwillberejected.
Nextaretheregularexpression-basedheader_checksandbody_checks.Theseoptions,ifenabled,
provideameanstotesttheactualcontentsoftheheadersandthebodyoftheemail,respectively.
Bothoperateinthesameway,buttheyshouldbeusedsomewhatdifferently.Headercheckscan
beusedtopreventwell-knownspammingdomainsfromsendingyouemail,orforstoppingsome
well-knownbulk-mailersoftware.Byenteringsomesignaturesoftheoffender,likethedomainname
ortheX-mailereldidentifyingthesoftware,themailcanberejectedbeforethebodyisevensent.
Bodychecks,thoughtheyusethesameregularexpressionsandleformatasheaderchecks,
shouldbeusedmoresparingly,asthemailmustbeacceptedbeforeitcanbechecked.Thus
bandwidthiswastedonreceiptofthemail,andworse,theserverwillbeoccupiedforapotentially
longtumeprocessingtheentirecontentsofeveryemail.Inshort,useheadercheckswheneverit
isconvenientandusebodychecksonlywhenaneffectiveheadercheckcannotbedevised.Only
REJECTorOKarepermittedforthereturnedvalues.
Note
Webmin,asofthiswriting(version1.020),doesnotprovideaccesstotheregular
expressionsbasedchecks,header_checksandbody_checks.Itislikelythatanearfuture
versionwillsupportthesefeatures,however.
Tutorial: Setting up a basic Postfix mail server
Aswithmostoftheserversoftwaredocumentedhere,Postxhasanintimidatinglylargenumber
ofoptionsandfeatures.But,aswe’vealreadyseenwithBINDandApache,evencomplexsoftware
canbeeasyandquicktosetupifyouknowwhattodotogetstarted.Postxisnodifferent.Atthe
endofthisshortsection,you’llhaveafullyfunctioningmailservercapableofsendingandreceiving
mailonbehalfofoneormoredomains.
Inmostenvironments,onlythreecongurationdetailsareneededtobeginprovidingmailservice
withPostx.First,browsethetheGeneral Optionspageofthemodule.Thetoptwooptions,What
domain to use in outbound mailandWhat domains to receive mail for,needtobeconguredto
suityourenvironment.
Kommentare zu diesen Handbüchern