PowerMTA配置多MTA 配置文件

postmaster no-reply@no-reply.localhost.com
Pickup /var/www/tmp /var/www/badmail
smtp-port 2525
<smtp-pattern-list aol-errors>
reply /generating high volumes of.* complaints from AOL/            mode=backoff
reply /Excessive unknown recipients - possible Open Relay/          mode=backoff
reply /^421 .* too many errors/                                     mode=backoff
reply /blocked.*spamhaus/                                           mode=backoff
reply /451 Rejected/                                                mode=backoff
</smtp-pattern-list>

<bounce-category-patterns>
    /spam/ spam-related
    /junk mail/ spam-related
    /blacklist/ spam-related
    /blocked/ spam-related
    /\bU\.?C\.?E\.?\b/ spam-related
    /\bAdv(ertisements?)?\b/ spam-related
    /unsolicited/ spam-related
    /\b(open)?RBL\b/ spam-related
    /realtime blackhole/ spam-related
    /http:\/\/basic.wirehub.nl\/blackholes.html/ spam-related
    /\bvirus\b/ virus-related
    /message +content/ content-related
    /content +rejected/ content-related
    /quota/ quota-issues
    /limit exceeded/ quota-issues
    /mailbox +(is +)?full/ quota-issues
    /sender ((verify|verification) failed|could not be verified|address rejected|domain must exist)/ invalid-sender
    /unable to verify sender/ invalid-sender
    /requires valid sender domain/ invalid-sender
    /bad sender's system address/ invalid-sender
    /No MX for envelope sender domain/ invalid-sender
    /^[45]\.4\.4/ routing-errors
    /no mail hosts for domain/ invalid-sender
    /Your domain has no(t)? DNS\/MX entries/ invalid-sender
    /REQUESTED ACTION NOT TAKEN: DNS FAILURE/ invalid-sender
    /Domain of sender address/ invalid-sender
    /return MX does not exist/ invalid-sender
    /Invalid sender domain/ invalid-sender
    /Verification failed/ invalid-sender
    /\bstorage\b/ quota-issues
    /(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee) (has|has been|is)? *(currently|temporarily +)?(disabled|expired|inactive|not activa
ted)/ inactive-mailbox
    /(conta|usu.rio) inativ(a|o)/ inactive-mailbox
    /Too many (bad|invalid|unknown|illegal|unavailable) (user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee)/ other
    /(No such|bad|invalid|unknown|illegal|unavailable) (local +)?(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee)/ bad-mailbox
    /(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee) +(\S+@\S+ +)?(not (a +)?valid|not known|not here|not found|does not exist|bad|inval
id|unknown|illegal|unavailable)/ bad-mailbox
    /\S+@\S+ +(is +)?(not (a +)?valid|not known|not here|not found|does not exist|bad|invalid|unknown|illegal|unavailable)/ bad-mailbox
    /no mailbox here by that name/ bad-mailbox
    /my badrcptto list/ bad-mailbox
    /not our customer/ bad-mailbox
    /no longer (valid|available)/ bad-mailbox
    /have a \S+ account/ bad-mailbox
    /\brelay(ing)?/ relaying-issues
    /domain (retired|bad|invalid|unknown|illegal|unavailable)/ bad-domain
    /domain no longer in use/ bad-domain
    /domain (\S+ +)?(is +)?obsolete/ bad-domain
    /denied/ policy-related
    /prohibit/ policy-related
    /refused/ policy-related
    /allowed/ policy-related
    /banned/ policy-related
    /policy/ policy-related
    /suspicious activity/ policy-related
    /bad sequence/ protocol-errors
    /syntax error/ protocol-errors
    /syntax error/ protocol-errors
    /\broute\b/ routing-errors
    /\bunroutable\b/ routing-errors
    /\bunrouteable\b/ routing-errors
    /Invalid 7bit DATA/ content-related
    /^2.\d+.\d+;/ success
    /^[45]\.1\.[1346];/ bad-mailbox
    /^[45]\.1\.2/ bad-domain
    /^[45]\.1\.[78];/ invalid-sender
    /^[45]\.2\.0;/ bad-mailbox
    /^[45]\.2\.1;/ inactive-mailbox
    /^[45]\.2\.2;/ quota-issues
    /^[45]\.3\.3;/ content-related
    /^[45]\.3\.5;/ bad-configuration
    /^[45]\.4\.1;/ no-answer-from-host
    /^[45]\.4\.2;/ bad-connection
    /^[45]\.4\.[36];/ routing-errors
    /^[45]\.4\.7;/ message-expired
    /^[45]\.5\.3;/ policy-related
    /^[45]\.5\.\d+;/ protocol-errors
    /^[45]\.6\.\d+;/ content-related
    /^[45]\.7\.[012];/ policy-related
    /^[45]\.7\.7;/ content-related
    // other    # catch-all
</bounce-category-patterns>

<source 127.0.0.1>
    always-allow-relaying yes   # allow feeding from 127.0.0.1
    process-x-virtual-mta yes   # allow selection of a virtual MTA
    max-message-size 0          # 0 implies no cap, in bytes
    smtp-service yes            # allow SMTP service
    remove-received-headers true
    add-received-header false
    hide-message-source yes
</source>


<source 0/0>             
    log-connections no
    log-commands    no   
    log-data        no   
</source>

<smtp-user username01>
password passwordvalue
source {auth}
</smtp-user>

<source {auth}>
default-virtual-mta mta1
always-allow-relaying yes # allow feeding for defined users
process-x-virtual-mta yes # allow selection of a VirtualMTA
max-message-size 0 # 0 implies no cap, in bytes
smtp-service yes # allow SMTP service
require-auth true
</source>

<source 0/0>
allow-unencrypted-plain-auth yes
</source>
http-access 0.0.0.0/0 admin   #不建议使用admin,存在安全风险

<virtual-mta-pool mta-pool>
	virtual-mta mta1						
</virtual-mta-pool>
	
<virtual-mta mta1>
#
smtp-source-host 11.11.11.11 no-reply.localhost.com
smtp-source-host 11.11.11.12 service.localhost.com


</virtual-mta>
	
relay-domain localhost.com

<domain {gmImprinter}>
    max-events-recorded 150
    log-messages yes
    log-data no
    retry-after 15s
</domain>

domain-key localhost,*,/etc/pmta/dkim/localhost.com.pem

#domain-macro md hotmail, yahoo, live, aol
#domain-macro mds com, de, co.uk, es, net, ca, cn, fr, co.in, it, co.kr, com.tw
#<domain $md.$mds>
#  max-msg-rate 10/m
#  smtp-pattern-list        common-errors
#  backoff-max-msg-rate 120/h
#  backoff-retry-after      1h
#</domain>

# domains that resolve to mx?.hotmail.com
domain-macro hotmail hotmail.fr,live.com,hotmail.co.uk,hotmail.it,windowslive.com,live.fr,hotmail.de,hotmail.es,live.co.uk,live.it,hotmail.co.jp,live.com.mx,live.nl,live.de,live.cn,live.ru,live.ca,live.com.ar,hotmail.co.th,live.com.au,live.jp,live.se,live.cl,live.com.pt, live.be, live.dk, hotmail.com.tr, livemail.tw, live.no, hotmail.se , hotmail.com.tw,live.co.kr,hotmail.co.nz,live.at,live.in,hotmail.gr,hotmail.be,live.hk,live.ie,msn.cn,hotmail.co.kr,hotmail.no,hotmail.ch,live.co.za,hotmail.com.hk,live.com.my,live.com.sg,hotmail.fi,hotmail.my, hotmail.co.id, hotmail.sg, hotmail.com.au, hotmail.co.za, hotmail.dk, hotmail.rs,live.com.ph, hotmail.ph, hotmail.com.vn, hotmail.cz, bobdickey.com, bodystructure.com, bramsonsco.com, brokerlosangeles.com, brturner.com, brundagerealty.com, buenavistaproperty.com, buhrfiend.com, buyersnetwork.com, calderonrealty.net, calpremium.com, camparealestate.com, capemaymorrows.com, carllacey.com, carlosandteam.com, carolinafallprotection.com, carolnorthcott.com, carrengineering.com, casasarizona.info, cbaininc.com, cbcsteele.com, cclfinancial.com, centre-pointe.com, chandlerscott.org, chattanoogarealestateco.com, childrensservicescenter.org, ckgtherealtor.com, classified-ads.com, cmchildcare.org, cnnpropertymanagement.com, colme.org, colonialrestaurant.com, columbusmetrohomes.com, communitycare707.com, commxx.com, compassroads.com, cpsweb.org, crawfordsprinklercompany.com, crgllc.com, cri-ri.com, crownwarehousing.com, ctvet.com, dallisketchum.com, danielconstruction.com, dannyks.com, davesmolizer.com, dineseptembers.com, djshomeexperts.com, dkschools1.org, doe.com, dorothyharmon.com, drmarkou.com, duanelpeterson.com, dubas.com, dysertconcrete.com, e3acquisitions.com, earnwithvern.net, easyrentalsnj.com, ecmontereybay.com, elia-inc.com, elpasorealestateconsultants.com, email.itt-tech.edu, email.msn.com, enviromedservices.com, eptexrealtor.org, equity1realty.com, erhartfire.org, eswinc.com, eurihea.com, evansrealestateinc.com, everreadyelectric.net, excelemp.com, fbcnn.org, fbcripley.com, filanninoandtiangco.com, finkelectric.com, fintzrealty.net, floressierra.com, forpages.com, fosterheatingandair.com, fourriversrealty.net, fuae.net, fullerisford.com, gallowayrealestateinc.com, ggelec.com, glenwoodgsca.com, godsgang1.net, graneted.com, granitecresthomes.com, greg41.com, gregrich.com, hanleyappraisals.com, hannamfg.com, haxtechnologies.com, heatingcoolingoutlet.com, hellevik.com, hellorick.com, hensenhomes.com, hicksre.com, hol.gr, holyspiritschool.net, homeelegance.com, homestratumgroup.com, hotmail.ca, hotmail.co.jp, hotmail.co.uk, hotmail.com, hotmail.com.au, hotmail.es, hotmail.fr, hotmail.it, ijango.com, ilreoagent.com, imaxrealtors.com, innovateconsulting.com, innsofamerica.com, interactionintl.org, invesmart.net, investcorprealestate.com, invictus63.com, irenthomes.net, ITMORTGAGE.COM, jacarisupply.com, jagodik.com, jamesbrooksco.com, jamisonrealtors.com, janegregory.com, janneyteam.com, jbwalkers.com, jdhomes.net, joshuaregroup.com, joyparadise.com, jrcollinsrealtor.com, kaucky.com, kbwappraisals.com, kdrsteel.com, keithscustomcarpentry.com, kfigeneralcontractor.com, kienerappraisal.com, kristimartinez.com, kristyhairston.com, lakesidesf.org, lamonicas.com, laurarosca.com, lauriegoode.com, lauriesmithbl.com, lcmeats.com, legentwprealty.com, leisurevillas.com, leopursley.com, lideramos.com, lindstrom.org, littlefieldrealtyco.com, live.ca, live.cn, live.co.uk, live.com, live.com.au, live.com.mx, live.de, live.fr, live.ie, live.jp, livingindoors.com, lorrainegrifo.com, lpfhomes.com, lrpm.net, luzamo.com, marionconst.com, martinez-quevedo.com, matasgreekpizza.com, meltonent.com, merletenney.com, mikehillzone.com, milesappraising.com, mloves2sellrealty.com, msn.com, myallegiant.com, mycasasgrandes.com, MYSTICSHOREFG.COM, navitasfitness.com, nenanasd.org, ngoan.com, nhcsd.com, norlightsmontessori.com, northshoresproperties.com, oeinc.org, ohioland4u.com, olsonlawoffice.net, p2000inc.com, palomacervantes.com, palsa.net, patriciapotoy.com, paulettemckoy.com, peabodycorner.com, peggyshovecolumb.com, pinnacleli.com, plasa.com, pridehomebuilders.com, PrimeEstateRealty.net, principleregroup.com, promaxid.com, pwrprod.com, qrmconcrete.com, raptisrealestate.com, re4000.com, realestatevision.net, realridge.com, realstar.com, realteamvj.com, realtymartga.com, reginahaslam.com, rentthelakeshore.com, richconstructioninc.com, richmondcoldstorage.com, riverislandcc.net, rkramer.net, rnbmail.com, robinbender.com, rogershore.com, roggero.com, roknowsrealestate.com, royal1realty.com, royalre.net, rtelectric.net, ryantom.com, sacredheart-florissant.org, saintbrunoschool.com, sberealty.com, seabreezeenterprises.com, selahec.org, selltodaybuytomorrow.com, serenityidaho.com, sevenspringsindiana.com, sheppards.info, sherlockhomesre.com, shownbymichelle.com, sibleypoland.com, skeesicks.net, smoothmag.com, snowwhiteservicesinc.com, socalbrokers.org, sorianogroup.net, sos3.com, southmanproperties.com, springfieldfire.net, sscobra.com, staceypower.com, s-tay.com, stillwaternj.com, stjohnsmg.org, stjohnsvet.com, stmarybashacatholic.org, stricklandrealestate.com, strublera.com, summitautomation.com, svdp-xavier.com, sweetbayproperties.com, synergyrealestate.net, tambercontracting.com, tarheelappraisals.net, teamredtruckrealtor.com, texaslawnlandscape.com, thearagongroupllc.com, themonacorealtygroup.com, theworldwideproperty.com, tldirtwork.com, todayssalonandspa.com, tomwatts.com, topteamrealty.net, triopines.com, tysonlmg.com, upwvsc.org, victoriachristian.org, vilai.com, viocomputers.com, vpappraisal.com, w.cn, wardcrosby.com, waysidefurnitureinc.com, webuypecans.com, westonfire.com, windowslive.com, wkrealestate.net, wyliesrestaurant.com, yhotmail.com, yourkeytc.com, zubs-subs.com
<domain $hotmail>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  backoff-notify jeffbuildrep@gmail.com  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to mx?.hotmail.com
domain-macro msn brennansteil.com, clearybuilding.com, cmsn.com, cumrutownship.com, cypressbenefit.com, highsmith.com, ks-lawfirm.com, libertypartsteam.com, midstateequipment.com, msn.com.ar, omnipress.com, pineridgefarms.com, richland.k12.wi.us, ticominc.com, truckcountry.com, universal-silencer.com, uwdc.org, vitaplus.com, wha.org
<domain $msn>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  backoff-notify jeffbuildrep@gmail.com  # disable backoff notifications with # in front and "" instead of email
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to ?.mx.mail.yahoo.com
domain-macro yahoo yahoo.com, yahoo.ca, rocketmail.com, ymail.com, yahoo.com.au, geocities.com, yahoo.com.mx, yahoo.com.br,  rocketmail.com, yahoo.co.uk, yahoo.fr, yahoo.com.br, yahoo.co.in, yahoo.ca, yahoo.com.ar, yahoo.com.cn, yahoo.com.mx, yahoo.co.kr, yahoo.co.nz, yahoo.com.hk, yahoo.com.sg, yahoo.es, yahoo.gr, yahoo.de, yahoo.com.ph, yahoo.com.tw, yahoo.dk, yahoo.ie, yahoo.it, yahoo.se, yahoo.com.au, yahoo.co.id, bobbyts.com, bobslawson.com, bobstenstrom.com, bobvanallen.com, bobwheelerhomes.com, bobwoodrealty.com, bodyglove.net, bogaertsinternational.com, boggus.net, bolapasta.com, bolingjanitorial.com, bomacinc.com, bondedmaterials.net, bondedrealty.com, boneal.com, bonhamfirerescue.org, bonkersbenches.com, bonlinpta.org, bonnerlibrary.org, bootheelcounseling.com, bornstein.com, borsteinenterprises.com, bostoncityhomes.com, bostonlivescreatively.com, bostonsmaryland.com, bottegagrill.com, boutiqueemmanuel.com, bowenrealtyllc.com, bowsrealestate.com, boxergroup.com, boylston.org, boysvillage.org, bozemanclinic.com, bpcinvest.com, bpcmanagement.com, bps-businessphones.com, bradfordcounty.org, bradleytransportation.com, bradstonerpainting.com, bradyadvisors.com, bradysthisisit.com, braesidegolf.com, brananmedical.com, brandywinevfd.com, bransonestate.com, bravointeriors.com, brazoriacad.org, brcs-inc.net, breadlosangeles.com, breakingground.com, breakwater76.com, bregroups.com, brendacaruso.com, brendacloyd.com, brendathompson.net, brenhambanner.com, brenmare.com, brennanappraisal.net, brennanpm.com, bresee.org, brethilbert.com, brett-tanner.com, brettthomas.com, brfirststepdaycare.com, brgccl.com, briankellyrealestate.com, brianlavey.com, brickandstonerealty.com, bridastone.com, briggsrealty.net, brighterion.com, brightmoorassistedliving.com, brightonambulance.org, brightsnursery.com, brigsteakhouse.com, brimrose.com, briscoforestry.com, briterealestate.com, briteworks.com, broadcaster.com, broadgateinc.com, brokerscorp.com, bronxshepherds.org, brookebass.com, brookfieldchristianschool.com, brooklyncommunityestate.com, brooklynxpress.com, brookplaza.com, broomewelding.com, brownmechanical.com, brownscgwelding.com, brownvaluationservices.com, brsincorporated.com, brtech.com, brucedoesitall.com, brudos.com, brunnerdisposal.com, brushymountain.com, brvrhomes.com, btinternet.com, btopenworld.com, buckeyeroom.com, buckinghamrealest.com, buckmasterimaging.com, buckoverby.com, buffaloemilling.com, buildingbridges2gether.org, built-form.net, bulldogcarwash.com, bullfeeneys.com, burakinc.com, burkhalter-team.com, burlesonplumbing.com, burlesonpool.com, burlingamegolfcenter.com, burnsbrown.com, burnsvilleicecenter.org, burrishennessy.com, buruka.com, busara.com, busbyenterprises.com, bushwhackerssaloon.com, butcherbaecker.com, butchthompsoncompany.com, butlerautomatic.com, butler-weldments.com, butrym.com, buy-arizona.com, buyark.com, buycalre.com, buylasvegasreos.com, buymunciehomes.com, buyproperties.com, buyseasidehomes.com, buysellmarylandwaterfronts.com, buysellwithbrett.com, buywithkaren.com, bvbgc.com, bvm-group.com, bwrpizzahut.com, bwsupplyco.com, byrneandbyrne.net, cdebalagroup.com, c21hank.com, c21scottkeys.com, c21solymar.com, c2c4u.com, c2mortgage.com, cable-tech.net, cabotafterschool.org, cabrilloloans.com, cachuelateam.com, cactuscounty.net, cade.com.br, cadencevaluation.com, cadicompany.com, cafeamericainrest.com, cafe-madison.com, cafespice.com, ca-insurance.com, cairmedical.com, cairnx.com, calance.com, calcofenceinc.com, caldwellzoo.org, caleman.com, calhomesrealty.com, calibergroup.net, californiaconstruction.net, californiapropertyadvisors.com, californiaskylights.com, californiatheaming.com, callowayrealtyteam.com, calmargroup.com, calmartrealty.com, calnevhomes.com, cal-pacroofing.com, calpipefab.com, calprime.net, calpropertyfinder.com, cal-realestate.com, calrealtyagents.com, calsensors.com, calvinhearns.net, calvinholt.com, calwells.com, camachocorp.net, cameronnursingcenter.com, camillehill.com, campcaesar.info, campfiretejas.org, camphoneycreek.com, camposcompany.com, campuschildrenscenter.com, camran.com, camrealestate.com, cams-education.com, canackitchen.com, canalside.net, canamrealtygroup.com, candyhavenandcakes.com, caniff.com, cannonrealtors.com, canoncityland.com, canonfinancialcorp.com, canterberryrealestate.com, cantonosaka.com, canyonlendinggroup.com, capco-inc.com, capecodappraisal.com, capellamicro.com, capener.biz, capewaydt.com, capitalautoauction.com, capitalmgnt.net, capitaltaxcut.com, capitolvaluationgroup.com, capparellicontracting.com, cappscorner.com, caprehab.org, capsteps.com, capstonerealtyresources.com, capstoneroofing.biz, captainbobsfishingtackle.com, captainharveys.com, caramariegibson.com, caravanairporttransportation.com, carbosrestaurant.net, cardeens.com, cardinalandassociates.com, cardinalplazashell.com, cardinalshehanschool.org, cardinalsign.com, cardiospec.com, ca-realtor.net, carecounsel.com, careyanddaleypt.com, carldebell.com, carlosandassociates.com, carlsonsappliance.com, carnationhomefashions.com, carolannlubell.com, carolesauers.com, carolinaconcrete.net, carolinashomesandland.com, carolinatriadrealty.com, carolkwapich.com, carolmyrealtor.com, carolynlalas.com, carolynlittle.com, carolyntkellogg.com, caronkeywest.com, carpe-diem-cafe.com, carrieradon.com, carrieweiner.com, carrollcommunications.com, carson1umc.org, carsontx.com, carteretcounty.org, cartridgesourceofamerica.com, casasusa.net, caseybrush.com, caseyfirm.com, cashortsalehomes.com, cashtech.com, caskeyteam.com, castcoversnow.com, castleplace.com, castlerockfoothills.com, castrorealty.com, cateringbymancinis.com, catfishdeweys.com, cathysimonetti.com, caughernrealestate.com, cayetanoweb.com, cbc-dfw.com, cbdpmail.com, cbeaton.com, cbeldon.com, cbgroupgt.com, cbnumberone.com, cbrealtor.com, cbshooltz.net, cbvaluation.com, cbwatson.net, ccagallery.com, ccamcallen.com, ccandmore.com, ccboc.com, ccd-inc.biz, ccfire.net, ccitexas.com, cclg.net, ccls-ma.org, ccninvestment.com, ccs-inc.biz, ccsmustangs.com, cdglc.com, cdnninvestments.com, cdsestates.com, ceciliamessinger.com, cedarfencepostsworld.com, cedarlanesfresno.com, cedarproperties.com, cedarridgehc.com, cedarvalleyliving.com, cefinance.com, celebrityfood.com, centenarychurch.net, centerforenrichedliving.org, centexappraisals.net, centralhomegroup.com, centralkyfsb.com, centralmichiganhomes.com, centralmnliving.com, centralseacoast.com, centralstriping.net, centralumchurch.com, century21ateam.com, century21shellhorn.com, century-inspections.com, ceramictechinc.com, cerettiteam.com, cerpangha.com, certifiedflyers.com, cervihome.com, cfacri.com, cfgi.com, cflhouses.net, cfo2go.us, cfperry.com, cfsmb.com, cfsservice.com, cgcpropertygroup.com, cghinvestments.com, cgmservices.net, cgprealty.com, cgsigns4u.com, chabur.com, chabyumbrellas.com, chadindustries.net, chaesfood.com, chainani.net, chamberlinproperties.com, chamberscountytexas.com, championcrane.us, championrealty4u.com, champlinslobsters.com, champrealestate.com, chandracook.com, changessalon.com, channelogic.com, chap2.com, chapmanenstone.com, charleschristensen.com, charlesgarciamd.com, charlesmillis.com, charlesrawlins.com, charlottefineproperties.com, charterfunerals.com, chateaurealtyinc.com, chautauquawoods.com, chavezsuper.com, chcsct.com, cheerscleaning.com, chelseapubandhotel.com, chenfancpa.com, chenrealty.com, cherokeeframe.com, cherrycityfire.org, cherrywade.com, cherylbretton.com, cheryllarson.com, chesterfieldsheriff.org, chicagocorporate.net, chicagopallet.com, chicagoparent.com, chickenexpress.com, chickenshack.com, chieflandnapa.com, chiefpetroleum.com, childrens-campus.com, childrenslighthouseofmccreary.com, childrensnest.com, childrenssecretgarden.net, childshdw.com, chimerics.com, chinaharbor-chinafirst.com, chiroenergy.com, chmartin.com, chomesrealty.com, chrisbroz.com, chrismichaels.com, christianhomes.net, christinenash.com, christinesrealty.com, christmasmouse.com, christopherblairinc.com, chrisuniversityspirit.com, chromal.com, chuckarmbruster.com, chudylaw.com, churchillmcgee.com, cimdoctors.com, cindycaulfield.com, cindyhicks.com, cindyspeth.com, cinema6theatre.com, circad.com
<domain $yahoo>
  max-msg-per-connection 10  # yahoo policy
  max-smtp-out 5  # default be nice on concurrent connections
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve other yahoo
domain-macro yahoo1 circlecityelectric.com, circlecreekcc.com, circleoffriendspreschool.org, cirsysco.com, cirtech.us, ciscoford.com, ciscorealtor.com, cit-hadley.com
<domain $yahoo1>
  max-msg-per-connection 10  # yahoo policy
  max-smtp-out 5  # default be nice on concurrent connections
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>


# domains that resolve other yahoo
domain-macro yahoo2 citrusortho.net, cityelev.com, cityofaltus.org, cityofarkadelphia.com, cityofpetaluma.net, cityofspencer.us, cityofyoakum.org, cityprorealty.com, citypvs.com, cityqbbq.com, ciudadproperties.com, cjvd.com, ckgmail.com, ckpcpas.com, ck-royal.com, cla2.net, clarebuck.com, clarkeengineering.com, clarklandbrokers.com, classactfamilyfitness.com, classic1realty.com, classic4homes.net, classicbowling.com, classicdolls.net, classicinsurance.net, classicmortgageloans.com, classicrealtytn.com, classicsouthwest.com, claudiawink.com, claudineking.com, clayverse.com, clcfullerton.org, cleaneranddryer.com, clearbrookrealtors.com, clearmansrestaurants.com, clearskyrealty.com, clearviewre.com, clementonborough.com, clevelanddrafthouse.com, clevelandmanor.com, click2accounting.com, clickandpickrealty.com, clintoncommymca.org, cllava.com, clonchindustries.com, clordisys.com, cloudmanfamily.com, cloveraveschool.org, clschool.org, clubmack.com, clubnorthern.com, clubparisrestaurant.com, clyonssr-realty-llc.com, cmanva.com, cmcmechanicalinc.com, cmcmortgageok.com
<domain $yahoo2>
  max-msg-per-connection 10  # yahoo policy
  max-smtp-out 5  # default be nice on concurrent connections
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve other yahoo
domain-macro yahoo3 c-m-construction.com, cmctelco.com, cmfiber.com, cmfmfg.com, cminh.com, cmmusa.com, cmorinaka.com, cmscrew.com, coahoma.org, coastalcab.com, coastalcapital.com, coastalfl.com, coastalhwy1realestate.com, coastallearningcenter.net, coastalpropertyinc.com, coastaltransport.net, coastalurge.com, coastline-equipment.com, coastshuttle.com, cobblestoneny.com, coburnscatering.com, coconutbayconstruction.com, coconutconstruction.com, coestertherapyservices.com, cogentmortgage.com, coii.biz, colbycomfortinn.com, coldwellbankerwestoaks.com, colecoffee.com, colemanrealtyteam.com, coliseumgamingcenter.com, collaborativedesignstudio.com, collectorscafeandgallery.com, colleenmcdonald.com, colleenrock.com, collegiateschoolnj.com, collier-properties.com, colmeneroplastering.com, colonbrothers.com, colonialassembly.com, colonialcarwashes.com, colonialsteakhouse.com, coloradoadventuresports.org, colorimpressions.biz, colornationsalon.com, colortonepaint.com, columbiacare.com, columbiacollege.org, columbiacountysheriff.us, columbiasupermarket.com
<domain $yahoo3>
  max-msg-per-connection 10  # yahoo policy
  max-smtp-out 5  # default be nice on concurrent connections
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to mailin-0?.mx.aol.com
domain-macro aol aol.com, aim.com, netscape.net, cs.com, mail.com, wmconnect.com, icqmail.com, email.com, usa.com , aol.com.au, aol.com.mx, aol.com.ar, compuserve.com, bruceheath.com, buidarealestate.com, californiaoliveranch.com, casaolga.com, chat-with-me.com, hriscoproperties.com, christina-koski.com, compuserve.com, contech-fr.com, corp.aol.com, crimsondesertrealty.com, csi.com, cutwaterga.com, davidrumpf.net, denisefan.com, depaolimosaic.com, deronnehardware.com, digitalcity.com, dipaolo.net, dipaolobread.com, djdoss.com, dogpeoplerule.com, dsrealestateli.com, easydoesit.com, eichelbergerrealty.net, eillon.com, elainesproperties.com, elecimp.com, exclusivehometeam.com, fieldpaoli.com, frontagerealty.com, games.com, gaolsen.com, georgepattakos.com, getthathousesold.com, goowy.com, graol.com, graydoginvestments.com, greencityrealty.net, haferappraisal.com, halemahaolu.org, icqmail.com, ilike2invest.com, ivieenterprises.net, jeannettedaniel.com, johnsassman.com, jonsells.com, judeybrown.com, kelfamgroup.com, kennysingh.com, koandcompany.com, landquestproperties.net, laraolsen.com, lauraolive.com, letsfundit.net, lilatownsend.com, lisaoliveira.com, luckymail.com, luvgolfing.com, mail2me.com, mapquest.com, mcom.com, missouriappraiser.net, moviefan.com, moviefone.com, mybrevardhome.net, mylifestyleestates.com, myrealtorpa.com, myrealtortonycammarota.com, myrtlepointproperties.com, netbusiness.com, netscape.net, nexusinvestmentsllc.com, ofaolains.com, paolachicago.com, paoli.k12.in.us, paolinicorp.compaolipres.orgolosrestaurant.com, platform-a.com, raabappraisal.com, relegence.com, reneedorsa.com, richardaolson.com, robinwellsrealtor.com, ronkostas.com, rubinny.com, rustonlahomes.com, sadlerdevelopment.com, switched.com, tacoda.com, tagalongunlimited.com, thedryfuseteam.com, thehutchinsonteam.net, thielekaolin.com, udarbe.com, unioncorealty.com, vaughnauctions.com, veachfamily.net, virginiaoldroyd.com, waileaoldblue.com, when.com, wild4music.com, wmconnect.com, wow.com, youronlinerealtor.net, zacharybelil.com, zetage.com
<domain $aol>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to (alt?.)gmail-smtp-in.l.google.com
domain-macro gmail gmail.com, googlemail.com, bobcat.net, bobcatofhouston.com, bobdavisrealty.com, bobde.net, bobdeis.com, bobdornin.com, bobfirth.com, bobfortner.com, bobnelsonteam.com, bobnur.com, bob-patterson.com, bobpisa.com, bobreidell.com, bobrowpalumbo.com, bobs.org, bobsilvarealtor.com, bobthurlow.com, bobvanallen.com, bobvinson.com, bobwattsrealtor.com, bocabeacon.com, bocajava.com, bocamag.com, bocamuseum.org, bockmonwoody.com, bockrealestate.com, bodemuller.com, bodhiway.org, bodieelectric.com, bodineconstruction.com, boep.org, boerneauto.com, bogany.com, bogerdental.com, boggspaving.com, bogunrealty.com, bohangroup.com, bohmholdt.com, boilingspringlakes.com, boira.net, boiseidrealty.com, boiserealestateguy.com, boisesbestre.com, bojos.com, bokehcorp.com, boleyrealestate.com, bolinger.net, bolivarfamilycare.com, bolsachica.org, boltoninc.com, boltonrealty.com, boltonvet.com, bombay.net, bomglobal.com, boneadventure.com, bonedaddys.com, boneroofingsupply.com, bonfiresf.com, bonhamdental.com, bonifacetool.com, bonitahouse.org, bonitapark.com, bonkinsurance.com, bonnebaker.com, bonnellassociates.com, bonnerhigh.com, bonnevillecompanies.com, bonniebaffa.com, bonniercorp.com, bonningrealestate.com, bonpres.org, bonsallusd.com, bontragerauction.com, boofie.com, bookerauction.com, bookpassage.com, bookstore.com, booksys.com, boomanfloral.com, boomerangsystems.com, boomi.com, booneandsons.com, boonton.org, boontonschools.org, booskaworldwide.com, boothmovers.com, bootjack.com, bordenpestcontrol.com, borderice.com, borderpropertiesinc.com, borderstylo.com, borealtec.com.br, borkholder.com, born.com, bornclinic.com, bornsteinbuilding.com, borough.com, boscobel.org, bosol.com, bosquecountyproperties.com, bossecurity.com, bossierlibrary.org, bossig.com, bossorealty.com, bossrealtygroup.com, bost.org, bosticsugg.com, boston.edu, bostonathenaeum.org, bostonbayside.com, bostonchefs.com, bostoncondogroup.com, bostonconservatory.edu, bostonloft.com, bostonrockgym.com, bostonsbestrealty.com, bostonvineyard.org, bostrom.com, botanics.com
<domain $gmail>
  max-smtp-out 5 # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to roadrunner
domain-macro roadrunner ca.rr.com, carolina.rr.com, centexbiz.rr.com, cfl.rr.com, cflbiz.rr.com, cinci.rr.com, columbus.rr.com, dc.rr.com, ec.rr.com, elmore.rr.com, elp.rr.com, eufaula.rr.com, gt.rr.com, hawaii.rr.com, hawaiibiz.rr.com, hot.rr.com, houston.rr.com, hvc.rr.com, indy.rr.com, insight.rr.com, kc.rr.com, ma.rr.com, maine.rr.com, mass.rr.com, mi.rr.com, nc.rr.com, ne.rr.com, neb.rr.com, neo.rr.com, new.rr.com, nj.rr.com, nyc.rr.com, nycap.rr.com, oh.rr.com, pa.rr.com, panhandle.rr.com, rgv.rr.com, rochester.rr.com, san.rr.com, satx.rr.com, sc.rr.com, si.rr.com, socal.rr.com, stny.rr.com, stx.rr.com, sw.rr.com, tampabay.rr.com, triad.rr.com, triadbiz.rr.com, twcny.rr.com, twmi.rr.com, tx.rr.com, we.rr.com, wi.rr.com, woh.rr.com
<domain $roadrunner>
  max-smtp-out 5 # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>


#针对不同的域名做限速
# domains that resolve to earthlink
domain-macro earthlink booksofwonder.com, boss-online.com, brant-allen.com, brevard.net, butternutfarm.com, bwsys.net, californiaexport.com, californiawreath.com, capecod.net, cascorealty.com, ccphotocopy.com, cendevkids.com, certifiedfire.com, chaparral.com, chesapeake-montessori.com, chrisaoki.com, cipbattery.com, cliffordgroup.net, cliffsidebody.com, commercial-lessors.com, conejovet.com, corlettlumber.com, crookandchase.com, ctlnet.com, cvivet.org, cvn.net, delanet.com, denverdreamhomes.com, designology.com, desupernet.net, dexwine.com, dipen.com, doehrman.com, dstream.net, early.com, earthlink.com, earthlink.net, edhassoc.com, edsmfg.com, enovaengineering.com, erapacesettersnc.com, erwinkeith.com, e-salads.com, ezonline.com, fcc.net, fgi.net, floridahomes-land.com, foxbendgolfcourse.com, fpifilters.com, frchemical.com, friendschristian.org, gilbertharrelllaw.com, glendalememorial.com, goodearthlink.com, grodenstamp.com, grovedale.com, hairdyes.com, hit.net, hojomaine.com, horizon.hit.net, hubregsen.com, humblechristianschool.org, iag.net, ifds.com, indy.net, iopener.net, itapartners.com, iti-ndt.com, ix.netcom.com, jarque.net, jeffkoonsart.com, jps.net, kpkcommercial.com, ldd.net, legal-aid.org, lightspeed.net, linhadley.com, lisafriedman.com, livingstonpipeandtube.com, lumberjake.com, lynnebilling.com, mailstation.com, marinersbk.com, mcn.net, mcwilliamsrealty.com, midwest.net, mycidco.com, mymailstation.com, mypacks.net, myvine.com, nafunding.com, nemonet.com, newarkdental-pemco.com, oes-corp.com, omniyig.com, onemain.com, opsup.com, oxridge.com, palmnet.net, paramountag.com, paramountfabricators.com, parquet.com, patriotsubaru.com, peoplepc.com, peoplepchq.com, peterriolo.com, philsteele.com, pjgreen.com, plasticsmachining.com, pmf.com, polyscapes.com, predicate.com, prolabresources.com, pyramidcement.com, ratheassoc.com, redrose.net, rnet.com, robinsontoyota.com, robix.com, roblaeace.com, rossnameplate.com, royalairsystems.com, ruralmedicalservices.org, sav-onplating.com, securpros.net, sensor-tech.com, shianet.org, shoppingmart.com, sierraleasing.com, slater-consulting.com, snowaviation.com, soccoplastics.com, southjerseyhomes.com, southwind.net, spmproperties.com, sprintmail.com, stillwater.com, stonesoap.com, suburbanpublishing.com, supernet.com, syntek-usa.com, teambuildingthatworks.com, teampanattoni.com, teleport.com, testing-engineers.com, thegrid.net, threadspecialties.com, tir.com, transconcargo.com, trese.com, trinity-school.net, tukatech.com, twdev.com, uga.com, uniquelampsonline.com, urbancos.com, usit.net, usmo.com, vartali.com, vickerys.com, wanda-kalman.com, watertownengineering.com, webspan.net, weeklynews.net, yorkproperties.com
<domain $earthlink>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to cox
domain-macro cox bobmaloney.com, bonders.com, boucherrealestate.com, bowmanco.com, bplmautos.coxatwork.com, bradfordrefi.com, brcoxmail.com, brennan.sdcoxmail.com, brianrealty.necoxmail.com, brickrowmgt.com, broadwayclinic.com, brokerbob.net, brsa.org, brunercox.com, burnsappraisal.com, bussartrealty.kscoxmail.com, bwbrentals.gccoxmail.com, c21.kscoxmail.com, c21butler.net, c21markv.com, cacrc.com, caetano.necoxmail.com, callahansteel.com, callhawks.com, camincusa.com, campbellrealty.roacoxmail.com, candacecan.com, cannonhomes.omhcoxmail.com, canvasstore.com, capc-pensacola.org, capitalconcreteinc.com, capitalgraphics.com, capitalrubber.com, capitollitho.com, cappsmfg.com, capraroappraisal.com, cardinal.hrcoxmail.com, cardinalrubber.com, carlcoxhomes.com, carlinolaw.com, carrollbusinesssupply.com, casafamiliar.org, cassconstruction.com, cbd.mgacoxmail.com, cbi.mgacoxmail.com, cc.brcoxmail.com, cchne.com, ccre.kscoxmail.com, cdiri.com, cecilmillerappraisals.com, centerinthesquare.org, centrecityproperties.com, century21.gccoxmail.com, century21.omhcoxmail.com, cewc.sdcoxmail.com, cfwcardiff.com, chaderealty.com, chamberschool.com, chapmanlindsey.com, charco.com, charcrane.net, charlesstallions.com, cheneyks.org, childrensdentistry.com, churchdesign.com, ci.encinitas.ca.us, citieswestpub.com, cityofdelcity.com, cityofencinitas.org, cityofmaryesther.com, citywide.lvcoxmail.com, civilworksonline.com, ckls.org, clcarterheatingandair.com, cma.sdcoxmail.com, cmi.necoxmail.com, cogankibler.com, cokesburyumc.org, coldwelbanker.sdcoxmail.com, coldwellbankerhancocks.com, collegehill.necoxmail.com, columbiaexport.net, communitycovenantchurch.org, comprorealty.com, compumaticsgroup.com, computerinnovationsinc.com, comstar-inc.com, conchitasulli.net, continentalri.com, contractorsupply.com, conwaytours.com, cookvw.com, copeland.kscoxmail.com, cornerbroker.com, cornerstone.sdcoxmail.com, counterstone.org, courtleyjacksonco.com, coventrypd.org, cox.cc, cox.com, cox.net, cox1.net, coxandassociates.biz, coxanddinkins.com, coxandfloyd.com, coxcastle.com, coxconstruction.com, coxconventioncenter.com, coxcorealestate.com, coxenterprises.com, coxhardware.com, coxhealth.com, coxhealth.net, coxinc.com, coxinet.net, coxinteriors.com, cox-internet.com, coxlawgroup.com, coxmail.com, coxmedia.com, coxmillwork.com, coxmotors.net, coxnews.com, coxnewspapers.com, coxohio.com, coxpaper.com, coxpetroleum.com, coxprinters.com, coxradio.com, coxreadymix.com, coxrec.com, coxreels.com, coxsharley-davidson.com, coxsheetmetal.com, coxsupermarket.com, coxtampa.com, coxtarget.com, coxtoyota.com, coxwalker.com, coxwood.com, coyleappraisal.com, cpi.kscoxmail.com, cpm.occoxmail.com
<domain $cox>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to comcast
domain-macro comcast bobcatboston.com, bodinetool.com, boises.com, bouchillon.com, bourasind.com, bowdoinfestival.org, brassplater.com, brentadvisors.com, broudyprecision.com, brumbleyappraisals.com, brynolfmanufacturing.com, bta.bz, btr-cpas.com, burkerealtyllc.com, burke-sons.com, burrbros.com, buyers-edge.com, bwstetson.com, c21larrymiller.com, c21sd.us, cable.comcast.com, cabotreserve.org, callanderassociates.com, canfieldequipment.com, capecodalarm.com, capitalnursery.com, capitolresearchservices.com, capraelectric.com, cardinalgroup.net, carusopaving.com, cashbuildingmaterial.com, cbcnj.org, cbcrealty.com, cbgear.com, cbhlmadera.com, ccoel.org, ccrmanagement.com, ceciltownship.com, cedarsidinginc.com, cedpackaging.com, celcorealestate.com, centralbaptistministries.org, century21discover.com, ces-mac.com, changyang.comcastbiz.net, checkerscatering.com, chestnuthomes.com, chiefstowing.com, chrismarr.com, christianchristopher.net, christinemurphyteam.com, chsinc.net, clairesinclair.com, clarkbrothers.net, cleanresponse.com, coatsandcoats.com, cobbrealtor.com, collegeboundfoundation.org, collinsdistributing.com, comcast.com, comcast.net, comcastsportsnet.com, comcastspotlight.com, commonwealthlock.com, compassinternational.net, conceptsunlimited.com, cordovagc.com, cornerstoneeagles.com, countryestatesinc.com, cpnef.org, creativeconservation.com, crestpaper.com, crockerelectrical.com, crossingumc.org, crossroadsprograms.org, cstmont.com, ctmgroupinc.com, CULLIPINDUSTRIES.COM, cwfritz.com, daintyrubbish.com, dasgroupinc.com, dbsforms.com, dedhamclub.org, degroot-inc.com, dehamerbros.com, delvalappraisal.com, developersgroup.org, dew-realty.com, dielectricsolutions.com, dieselcastwelding.com, dinstuhls.com, directtiresales.com, diskinproperty.com, dlappraisals.com, dmflowers.com, dolarian.com, dorothyscandies.com, doylestownpa.org, drakescreekmarine.com, dreamlandip.com, ducomelectric.com, ductshopinc.com, duffylaroe.com, dunningkirrane.com, eagleproperties.net, easternanimalhospital.com, easternindustries.com, easternscience.com, easthill.net, ebriggslaw.com, edge-corp.com, elchristian.org, elliergonzalez.com, elmiassociates.com, elmlaw.com, emwc.org, enmarktool.com, enrollmentrx.com, ensourcecorp.com, erastatewiderealty.com, erc-concepts.com, eschergroup.com, estassociates.com, ethridgeenterprises.com, ethyleneatlantic.com, euro-suites.com, eutsler-rubber.com, evans-sherratt.com, exclaim-inc.com, ezenia.com, fabriform.com, familychurch.org, fascollections.com, fastonline.com, fencorgraphics.com, fiesta.comcastbiz.net, financialspectrum.com, firstmetro1.com, firststepmd.com, flamco.com, flavormaterials.com, flgulfside.com, flinndreffein.com
<domain $comcast>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to excite
domain-macro excite excite.com, excitehome.net, mailexcite.com, whitewaterexcitement.com
<domain $excite>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to juno

domain-macro juno creativeworldschool.com, dav.org, davmail.org, juno.com, juno.net, junoinc.com, junolightinggroup.com, juno-tech.com, math.msu.edu, netzero.net, netzero.com, zip-net.com
<domain $juno>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

# domains that resolve to outlook
domain-macro outlook bobmelvin.com, bobpikegroup.com, bocafla.com, bodymedia.com, bo-jac.com, boldinitiative.org, bollin.com, bomusd.k12.ca.us, bomusd.org, bonanzamotors.com, bondfluidaire.com, boone.kyschools.us, bordergrill.com, border-states.com, boston-power.com, bostonunionrealty.com, bownegroup.com, boxlight.com, boyceexcavating.com, boyd.kyschools.us, boydcontreras.com, boyertownymca.org, boykin.com, boyle.kyschools.us, bozzutoinsurance.com, bpcdm.com, bracken.kyschools.us, braddstrelow.com, bradleyrealestate.com, bradleyrealtors.com, bradysandahl.com, branch-isd.org, brandiqinc.com, branstetterlaw.com, breathitt.kyschools.us, breck.kyschools.us, bremertonschools.org, brendasprankel.com, brennerexcavating.com, briar-group.com, brickschools.org, brickstonerealty.net, bridgeheadsoftware.com, bridge-rayn.org, bridgeviewit.com, brightbeginningsinc.org, bristolva.org, britspub.com, brittmorrishomes.com, broaster.com, brocach.com, brokaw.com, broncos.uncfsu.edu, broncs.utpa.edu, brookside-agra.com, brownhardman.com, brownsburg.k12.in.us, brs-llc.com, brunowhite.com, brushresearch.com, bsa.org, bsc.edu, bsschool.org, btginc.com, bua.edu, buckeyeschools.info, buckinghamgreenery.com, bucklarchitects.com, buddyblake.com, buffalowildwings.com, buffingtonhomes.com, buffspec.com, bugmanarkansas.com, buildinginnovationsgroup.com, builtins.com, bulhed.com, bullrealtor.com, bullrun-metal.com, bulmanproducts.com, burgon.com, burkburnettisd.org, burkeproperties.com, burkwald.com, burkwood.com, burnettrealestate.com, burnthickory.com, burrisequipment.com, burrwhite.com, burtonfloor.com, businessjetcenter.com, businessmovesolutions.com, butler.kyschools.us, butlertechnologies.com, buysarasota.com, bvhg.com, bwbcontrols.com, byron.k12.mi.us, caasnm.org, cabarruscollege.edu, cablecominc.com, cabreraservices.com, cabrillomortgage.com, cacoatings.com, cactusrestaurants.com, cactxsurfaces.com, caeonline.com, calabreseandcalabrese.com, cal-chlor.com, calcoastal.org, caldwell.kyschools.us, caldwell-nj.com, caledoniabay.com, calicoweb.com, callcale.com, callcia.com, calljodi.com, calloway.kyschools.us, calsaw.com, calstripsteel.com, camanokeri.com, cambridgemsi.com, cambridgepublicschool.com, cambridgeus.com, camcoconstruction.com, camdencountymuseum.com, camelbackdesertschools.com, cameronbutcher.com, caminoschool.org, campbell.kyschools.us, campbellsurvey.com, campforall.org, campos.com, campronaldmcdonald.org, canalcartage.com, candacerubin.com, cantonagency.com, canyonresources.com, canyonsolutions.com, caodmu.org, capefearcommercial.com, capital.k12.de.us, capitalcleaning.com, capitalcommercial.com, capitalinvestments.net, capitalregroup.com, capitollook.com
<domain $outlook>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 10  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error


  max-msg-rate 10/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 15d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 1h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>


# default domain settings
<domain *>
  max-smtp-out 5  # default be nice on concurrent connections
  max-msg-per-connection 1  # max 500 mails in one session
  max-errors-per-connection 10  # avoid 'too long without data command' error

  max-msg-rate 100/m

  bounce-upon-no-mx yes  # proper mail domains should have mx
  assume-delivery-upon-data-termination-timeout yes  # avoid duplicate deliveries
  
  smtp-553-means-invalid-mailbox yes
  bounce-upon-5xx-greeting true
  connect-timeout 1m
  smtp-greeting-timeout 5m
  data-send-timeout 5m
  retry-after 1h  # typical greylisting period
  bounce-after 10d  # default 4d12h

  smtp-pattern-list blocking-errors
  backoff-max-msg-rate 6/h  # send only regular tries during backoff (default unlimited)
  backoff-retry-after 1h  # retry at least every 20m (default 1h)
  #backoff-notify ""  # disable backoff notifications
  backoff-to-normal-after-delivery yes  # revert to normal asap (default no)
  backoff-to-normal-after 2h  # always revert to normal after 1h (default never)

  dk-sign yes
  dkim-sign yes
</domain>

<smtp-pattern-list common-errors>
  reply /generating high volumes of.* complaints from AOL/    mode=backoff
  reply /Excessive unknown recipients - possible Open Relay/  mode=backoff
  reply /^421 .* too many errors/                             mode=backoff
  reply /blocked.*spamhaus/                                   mode=backoff
  reply /451 Rejected/                                        mode=backoff
</smtp-pattern-list>

<smtp-pattern-list blocking-errors>
    #
    # A QUEUE IN BACKOFF MODE WILL SEND MORE SLOWLY
    # To place a queue back into normal mode, a command similar
    # to one of the following will need to be run:
    # pmta set queue --mode=normal yahoo.com
    # or
    # pmta set queue --mode=normal yahoo.com/vmta1
    #
    # To use backoff mode, uncomment individual <domain> directives
    #
    #AOL Errors
    reply /421 .* SERVICE NOT AVAILABLE/ mode=backoff
    reply /generating high volumes of.* complaints from AOL/ mode=backoff
    reply /554 .*aol.com/ mode=backoff
    reply /421dynt1/ mode=backoff
    reply /HVU:B1/ mode=backoff
    reply /DNS:NR/ mode=backoff
    reply /RLY:NW/ mode=backoff
    reply /DYN:T1/ mode=backoff
    reply /RLY:BD/ mode=backoff
    reply /RLY:CH2/ mode=backoff
    #
    #Yahoo Errors
    reply /421 .* Please try again later/ mode=backoff
    reply /421 Message temporarily deferred/ mode=backoff
    reply /VS3-IP5 Excessive unknown recipients/ mode=backoff
    reply /VSS-IP Excessive unknown recipients/ mode=backoff
    #
    # The following 4 Yahoo errors may be very common
    # Using them may result in high use of backoff mode
    #
    reply /\[GL01\] Message from/ mode=backoff
    reply /\[TS01\] Messages from/ mode=backoff
    reply /\[TS02\] Messages from/ mode=backoff
    reply /\[TS03\] All messages from/ mode=backoff
    #
    #Hotmail Errors
    reply /exceeded the rate limit/ mode=backoff
    reply /exceeded the connection limit/ mode=backoff
    reply /Mail rejected by Windows Live Hotmail for policy reasons/ mode=backoff
    reply /mail.live.com\/mail\/troubleshooting.aspx/ mode=backoff
    #
    #Adelphia Errors
    reply /421 Message Rejected/ mode=backoff
    reply /Client host rejected/ mode=backoff
    reply /blocked using UCEProtect/ mode=backoff
    #
    #Road Runner Errors
    reply /Mail Refused/ mode=backoff
    reply /421 Exceeded allowable connection time/ mode=backoff
    reply /amIBlockedByRR/ mode=backoff
    reply /block-lookup/ mode=backoff
    reply /Too many concurrent connections from source IP/ mode=backoff
    #
    #General Errors
    reply /too many/ mode=backoff
    reply /Exceeded allowable connection time/ mode=backoff
    reply /Connection rate limit exceeded/ mode=backoff
    reply /refused your connection/ mode=backoff
    reply /try again later/ mode=backoff
    reply /try later/ mode=backoff
    reply /550 RBL/ mode=backoff
    reply /TDC internal RBL/ mode=backoff
    reply /connection refused/ mode=backoff
    reply /please see www.spamhaus.org/ mode=backoff
    reply /Message Rejected/ mode=backoff
    reply /refused by antispam/ mode=backoff
    reply /Service not available/ mode=backoff
    reply /currently blocked/ mode=backoff
    reply /locally blacklisted/ mode=backoff
    reply /not currently accepting mail from your ip/ mode=backoff
    reply /421.*closing connection/ mode=backoff
    reply /421.*Lost connection/ mode=backoff
    reply /476 connections from your host are denied/ mode=backoff
    reply /421 Connection cannot be established/ mode=backoff
    reply /421 temporary envelope failure/ mode=backoff
    reply /421 4.4.2 Timeout while waiting for command/ mode=backoff
    reply /450 Requested action aborted/ mode=backoff
    reply /550 Access denied/ mode=backoff
    reply // mode=backoff
    reply /exceeded the rate limit/ mode=backoff
    reply /421rlynw/ mode=backoff
    reply /permanently deferred/ mode=backoff
    reply /\d+\.\d+\.\d+\.\d+ blocked/ mode=backoff
    reply /www\.spamcop\.net\/bl\.shtml/ mode=backoff
    reply /generating high volumes of.* complaints from AOL/    mode=backoff
    reply /Excessive unknown recipients - possible Open Relay/  mode=backoff
    reply /^421 .* too many errors/                             mode=backoff
    reply /blocked.*spamhaus/                                   mode=backoff
    reply /451 Rejected/                                        mode=backoff
</smtp-pattern-list>

############################################################################
# END: BACKOFF RULES
############################################################################

http-mgmt-port 8080   #端口可以自己修改
sync-msg-create false
sync-msg-update false

run-as-root no

log-file /var/log/pmta/log        # logrotate is used for rotation

#日志文件
 <acct-file /var/log/pmta/acct.csv>
#    move-to /opt/myapp/pmta-acct   # configure as fit for your application
    move-interval 5m
     max-size 50M
	 move-interval 7d
	 delete-after 1d
 </acct-file>
 
spool /var/spool/pmta

# EOF



以上是PowerMTA 配置多MTA的配置案例,在PowerMTA 4.0中IPV4、IPV6都可以适用.PowerMTA的精髓主要在于配置文件,只要配置文件配置适当,都能达到我们想要的效果

共同学习,请加我q:1009460226


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

疯的世界

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值