SlideShare une entreprise Scribd logo
1  sur  43
Télécharger pour lire hors ligne
Email archiválás
 Sütő János (sj@acts.hu)
Kérdezzetek bármikor, nem kell megvárni a végét
"Melyik rendszergazda nem tud emaileket
  archiválni a már meglévő eszközökkel?
      Let Me Google That For You..."




   Domo arigato, de NEM kliensoldali, pl.
Thunderbird, Outlook, stb. archiválásról van szó
Rengeteg információ az emailekben: egy
    vállalat tudásának ~70-80%-a
Megfelelőség (compliance)


SOX, FRCP, HIPAA, GLBA, SEC, NAD, …
PSZÁF?

Magyarországon még nincs ezekhez hasonló,
de...
eDiscovery költségek:
USA, 2010: ~80 milliárd USD
Védelem adatvesztés ellen
Perdöntő lehet bírósági ügyben
Terhelés csökkentése
Hatékony storage kihasználás




mailbox kvóta* vs. sok GB-os mailbox-ok**
Miért archiváld a Gmail / Office 365 /
             ... fiókod?

#1: ha véletlenül fontos levelet törölsz ki

#2: ha elérhetetlen a Gmail/Office 365/...

#3: ha feltörik az account-odat
Nem triviális a levelezőrendszerek
                mentése
Legyen 10 millió levél*
(=10M db 3 kB - 20 MB file)

#1: tar.gz
#2: rsync
#3: ...

*: nekem ~7.8 GB / 540k levél
**: ~500 GB =~ 4,1M file
Adatvesztés 2 mentés között

mentés                HW-hiba mentés



      elveszett levelek



                                   idő

Az adatvesztések oka 30-60%-ban PEBKAC
Mi nem email archiválás?


rendszeres mentés a mail szerverről
(tar, dd, DPM, ...)

PST file-ok a desktopokon

PST file-ok a hálózati meghajtón

snapshot az emailekről
Mi az email archiválás?


Bizonyos levelek meghatározott ideig történő
megőrzése a vállalati policy, ill. a jogszabályok-
nak való megfelelőség alapján

(az Osterman Research nyomán)
A piler válasza
Levelek centralizált, biztonságos tárolása

Üzletfolytonosság biztosítása katasztrófa
esetén

Jogszabályoknak megfelelőség*

Gyors full text keresés az archivált levelek
között

Hatékony storage kihasználás
Hogyan működik?
STARTTLS és tcp_wrappers támogatás
Levelek forrása


SMTP (+ incl. Google Apps, Office 365, ...)

Importálás:
  - EML
  - mbox
  - Maildir
  - IMAP / POP3
  - PST (libpst)
Eredeti levél
Feldarabolt levél
Random azonosító generálása


400000004f64f0dd2de8ec0c7c0259810190

a) Időbélyeg TAI64 formátumban* (12 byte)
b) Random adat (6 byte)

*: nanosecundum pontosság
Levéldarabok tárolása


/var/piler/store/ab/cd/ef/400...456789abcdef.m
/var/piler/store/ab/cd/ef/400...456789abcdef.a1
/var/piler/store/ab/cd/ef/400...456789abcdef.a2
Tömörítés (zlib)
Blowfish titkosítás
Deduplikáció
Deduplikáció


Mindent csak 1 példányban tárolni

1. Levél deduplikáció: Message-ID alapján
2. Melléklet deduplikáció: digest alapján

a) SHA256 digest számítása
b) láttuk már ezt a digest-et?
- nem: melléklet tárolása
- igen: pointer tárolása
Indexelés


sphinx search 2.x
az egyik leggyorsabb
SphinxQL: SQL(-szerű) nyelv
full text search
keresés találatainak cache-elése (memcached)
a levéltörzs első 128 kB-ját indexeli
stemming / wildcard
A mellékleteket is indexeli!
.txt :-)
ODF
.pdf
.doc(x)
.xls(x)
.ppt(x)
.rtf
Jogosultságok: mindenki csak a magáét!


 1. mezei felhasználó

 2. admin (nem fér hozzá mindenki leveleihez)

 3. auditor (ő igen)
Felhasználó - email összerendelés


Exchange: journaling info

postfix/Kerio/...: X-Envelope-To:

Minden más MTA: From:, To: és Cc:
postfix: X-Envelope-To:

/etc/postfix/main.cf:

smtpd_recipient_restrictions = ...
  check_recipient_access  pcre:
  /etc/postfix/add-x-envelope-to
   ...

/etc/postfix/add-x-envelope-to:

/(.*)/ prepend X-Envelope-To: $1
Policy-k (szabályok)


1. mit _NE_ archiváljon?
2. meddig tárolja a leveleket? (default: 7 év)

TRE regex minták (From, To, Subject) + méret
+ melléklet típus és -méret
pilerpurge: opció, nem kötelesség
Backup készítés / exportálás


pl. levelek exportálása naponta másodlagos
storage-ra (opcionális)
Felhasználókezelés


1. kézzel (>5 user esetén már nem vicces)

2. LDAP-ból szinkronizálás
(Active Directory-t is támogat)

3. Google OAUTH

4. Single Sign-On (SSO)
HW méretezés: memória


- mysql
- sphinx (indexer + searchd)
- cache-elés (xcache + memcached)

= n x GB
HW méretezés: diszk
HW méretezés: diszk #2


>1 TB (I/O!)

LVM

RAID!

kereskedelmi termék RAID nélkül?

(ha lehet) ne kikukázott HW-ből
- Online demo: www.mailpiler.org/en/demo.html
- Virtuális gép (vmware)
Köszönetnyilvánítás
FSF.hu: Szabad Szoftver Pályázat 2011
Németh Ádám: UX
Open source email archivalas

Contenu connexe

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Open source email archivalas