
Code Blue
•
259 Hedcor Street
•
Holland, MI 49423 USA
•
800.205.7186
•
www.codeblue.com GU-154-F
page 131 of 132
ToolVox® X3
Administrator Guide
Fortherstoption,youwilllikelywanttoselectUsedomainnameinordertoselectthedomain
nameofyourserverasthesourceofemailsentfromit.Forexample,ifmymailserverisnamed
mail.swelltech.comandIselectedthisoption,mailwillappeartooriginatefromswelltech.com.
Thesecondoptionspeciesthedomainsforwhichyouwillreceiveemail.Thedefaultisprobably
toorestrictiveinthatitwillonlypermitreceiptofmailto$mydomainnameandlocalhost.$mydomain,
ortheserveritself.Whilethisdependsonyourenvironmentandneeds,itislikelyyouwillwantto
addthe$mydomainvariabletothelistofaccepteddomains.
ThelaststeptomakingPostxfullyfunctionalforsendingandreceivingmailistoensuretheLocal
networksparameterissetappropriately.Ifyouonlyhaveonenetworkblock,thiswillalready
besetappropriately,asthedefaultistoacceptmailfordeliveryfromallattachednetworks(i.e.,
allconguredandactivenetworkaddresses).However,ifyouhaveapublicandprivatenetwork
interface,you’lllikelywanttoremovetothepublicinterfacetopreventotherclientsofyourISPfrom
beingabletorelaymailthroughyourserver.
ClicktheSave and Applybuttontomakeyourchangestakeeffect.Itisagoodideatotestyour
changestomakesurethingsareworkingasintended.AssuminganappropriateDNSMXrecord
hasalreadybeencongured,asdiscussedintheBINDtutorials,youcansendyourselfanemailat
thenewdomain.WatchthemaillogintheSystem Logsmoduleforerrorsandtoseeifthemessage
isdelivered.Next,congureyourmailclienttosendthroughyournewmailservertoensureit
isworkingforsendingmail.Themaillogwilllikelygivecluesaboutwhatiswrongintheeventof
problems.
Tutorial: Virtual Hosting email with Postfix
Ifyou’veperformedthecongurationintheprevioustutorial,you’llbeabletoacceptmailforany
numberofdomains.However,thisisnotthesameasprovidingindependentvirtualhostingsupport
withPostx.Youcanonlyhaveoneuserofagivennameandmailsenttothatusernameatany
ofthedomainsforwhichyouacceptmailwillbedelivered.Forexample,ifyouhostedswelltech.
com,penguinfeet.organdnostarch.comonthesameserver,andmailwassenttouserjoeateach
ofthosedomains,allthreewouldendupinthesamemailbox.Therefore,youhavetointroduce
anotherlayertosolvethisproblem.
Postxhastwocommonlyusedmethods.TherstisthenativePostxmethod,usingavirtualtable
todirectmailtothecorrectdestination.ThesecondmethodismodeledafterthewaySendmail
handlestheproblemandisalotmorecomplex.Becausesimplicityisbetterthancomplexity,you’ll
learnthenativePostxmechanismexclusively.ThePostxvirtualmanpagecoversbothmethods
inmoderatedetail.IfyouhaveanolderSendmailinstallationthatisbeingconvertedtoPostx,you
maywishtousethesecondmethodandmaintainyourcurrentvirtualmailconguration.Ifyouwill
berunninganextremelylargenumberofvirtualdomains,itislikelypreferabletousethesecond
method,aswell.
TherststepforsettingupvirtualdomaindeliveryistocreateavirtualmaptableusingtheVirtual
Domainspage.Enterthemaptype(hash,dbm,etc.),followedbythelenameoftheatlethat
willcontainthetableinformation.Forexample,youcoulduse/etc/postx/virtualforthispurpose.
Thisisaprettycommonlocationforthisle.
Saveandapplythechange,andreturntotheVirtual Domainspage.ClicktheNew mapping
button.Yoursthavetocreateagenericmapforthenewdomain.FortheNameeld,enteryour
virtualdomainname.IntheMaps to...eld,youcantechnicallyenteranythingyoulike(aslongas
weentersomething).Thecustomseemstobetoenter“virtual”inthiseld,asthatisitspurpose.
Kommentare zu diesen Handbüchern