
diff -r a5163d6645bf -r 823b583c7f72 frames/acl.tex
--- a/frames/acl.tex	Sun May 11 10:55:34 2014 +0200
+++ b/frames/acl.tex	Sun May 11 15:38:32 2014 +0200
@@ -23,8 +23,9 @@
 \end{frame}
 
 \begin{frame}[fragile]{Access Control Lists}{Konfiguration}
-\tiny
+\begin{small}
 \verbatiminput{conf/acl.conf}
+\end{small}
 \end{frame}
 
 \subsection{Features}
@@ -44,3 +45,48 @@
 	\item Generische Bedingung \verb+condition =+
 \end{itemize}
 \end{frame}
+
+
+\subsection{Beispiel}
+
+\begin{frame}[<+->][fragile]{Access Control Lists}{Beispiel}
+\begin{block}{Aufgabe}
+Alle Empfänger müssen der selben Domain angehören (z.B. weil wir 
+domainspezifische Spam-Policies haben)
+\end{block}
+\begin{block}{Lösung}
+\begin{small}
+\begin{alltt}
+begin acl
+
+  acl_check_rcpt:
+    …
+\pause
+    defer   !acl = same_domain
+    accept
+\pause
+  same_domain:
+    accept   condition = $\{if !def:acl_m_domain\}
+             set acl_m_domain = $domain
+
+    accept   domains = $acl_m_domains
+
+    deny
+\end{alltt}
+\end{small}
+\end{block}
+\end{frame}
+
+
+\begin{frame}[<+->][fragile]{Access Control Lists}{Test 1}
+\begin{scriptsize}
+\verbatiminput{out/acl1}
+\end{scriptsize}
+\end{frame}
+
+\begin{frame}[<+->][fragile]{Access Control Lists}{Test 2}
+\begin{scriptsize}
+\verbatiminput{out/acl2}
+\end{scriptsize}
+\pause
+\end{frame}




