วิธีการตั้งค่าให้ระบบ ZIMBRA ทำการ reject email จากภายนอกไม่ให้สามารถส่งเข้าไปยัง user ภายในระบบได้ หรือการทำ blacklist email สามารถทำตามขั้นตอนได้ดังนี้
1. ตั้งค่า smtpd_sender_restrictions ดังตัวอย่างด้านล่าง
ZIMBRA 7:
รันคำสั่ง
1 2 3 | $ zmlocalconfig -e postfix_smtpd_sender_restrictions="hash:/opt/zimbra/postfix/conf/postfix_reject_sender" |
ZIMBRA 8.0:
เพิ่ม “client_sender_access hash:/opt/zimbra/postfix/conf/postfix_reject_sender” เข้าไปยังไฟล์ /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf
ZIMBRA 8.5 และ 8.6:
แก้ไขไฟล์ /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf โดยเพิ่มข้อความด้านล่างไปที่บรรทัดที่ 2
1 2 3 | %%contains VAR:zimbraMtaSmtpdSenderRestrictions check_sender_access lmdb:/opt/zimbra/postfix/conf/postfix_reject_sender%% |
และรันคำสั่ง
1 2 3 | $ zmprov ms `zmhostname` +zimbraMtaSmtpdSenderRestrictions "check_sender_access lmdb:/opt/zimbra/postfix/conf/postfix_reject_sender" |
2. สร้างไฟล์ /opt/zimbra/postfix/conf/postfix_reject_sender โดยที่ภายในไฟล์มีลิสต์ของ email หรือ domain ที่ต้องการจะ block แล้วตามด้วย REJECT ดังตัวอย่าง
1 2 3 4 | user@domain.com REJECT domain.com REJECT |
3. รันคำสั่ง postmap เพื่อสร้าง database และ restart postfix
1 2 3 4 | $ /opt/zimbra/postfix/sbin/postmap /opt/zimbra/postfix/conf/postfix_reject_sender $ zmmtactl stop && zmmtactl start |
** เราสามารถใช้ Amavis ทำ blacklist แทนได้
Related: new law for non violent offenders 2022 louisiana, addition, subtraction, multiplication division program in java using interface, murders in chesterfield, derbyshire, onechanbara ps2 iso, mopreme shakur net worth forbes, homes by westbay lawsuit, comment se repentir de la fornication avant le mariage, do you know the muffin man who lives on mulberry lane, theresa larson masters, expansive population policies definition ap human geography, cheap monthly motels in san antonio, operation x force indictment, predict and win football matches, man jumps off throgs neck bridge today, coach bob ladouceur first wife,Related: sian gibson britain’s broken families, buddy bell wife, harvard travel concur, schedulerlock is deprecated, what does the name jewel mean in hebrew, gillian kearney and eddie foo, source of energy for nuclear weapons, how to calculate cadence walking, shore gable, colt python grips, how did majak daw get to egypt, bulletin board houses for rent montgomery, al, bird migration washington state, pebbles the cockatoo died, edwin granados campechaneando biografia,Related: paris concerts september 2022, in this excerpt of “swing to bop”, the drummer, buncombe county sheriff candidates 2022, which zodiac sign will find love in 2022, bankstown line closure, guidance and coaching in advanced practice nursing, koko b ware best matches, jackson national life ceo salary, river urr fishing, seat leon weight, bill gates geoengineering block sun, sentry ignore exception, maggie payette harlow, espouse the opposing point of view crossword clue, jackson browne 1973 tour,Related: north face mcmurdo expedition parka, audio broadcast system, smart irrigation system research paper, inflatable dog collar size chart, moxa treatment points, do you tip maids from a cleaning service, where to buy kefir near me nearby, best o rings for gasoline, avalon water filter countertop, cycling jersey for tall riders, meeting rooms los angeles, water lovers diani contacts, buying cologne testers, nobu hotel miami beach, verify 16 parameter water test strips,Related: city of austin pool setback requirements, scottsdale weather july 2021, imperial college clinic, the bowl at sugar hill restaurants, i got into canada with a dui 2019, creation myth generator, gerald mcclellan obituary, was callum woodhouse in downton abbey, smione child support card, suffolk county police sergeant salary, rydell dealership locations, who makes alibi security cameras, josh roberts pool player net worth, pirate101 companions promotions, can you have chickens in city limits in texas,Related: grey treggings outfit, hedging with futures example, black leather platform booties, real estate jobs with visa sponsorship near barcelona, norfolk apartments anderson, sc, actively managed mutual funds how do you make money, coding competitions for money, global intelligent transport systems market, how to tighten a boat propeller, best processor for gaming pc, dragino lora shield datasheet, made goods askel console, used multicam cnc router for sale, street food tour naples, hoodie with ears and tail,Related: zawadi house shelter address, maranoa regional council ceo, james dean president 1969, boonville, ny snowmobile trail conditions, best selling sublimation tumbler designs, brand new house and lot for sale in baguio city, cancer love horoscope for today and tomorrow, parking at the white room st augustine, map of shipwrecks off florida coast, golden retriever puppies west yorkshire, lewis middle school principal, 3 ingredient desserts without eggs and butter, manchester united 2022 2023 schedule, bone graft foot surgery recovery time, mastiff x great dane puppies for sale perth,
Recent Comments