--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/frames/testing.tex Sun May 11 10:55:34 2014 +0200
@@ -0,0 +1,57 @@
+\section{Test und Betrieb}
+\subsection{Konfiguration}
+
+\begin{frame}[fragile]{Test und Betrieb}{Konfiguration}
+Viele Möglichkeiten, die bestehende Konfiguration zu überprüfen:
+\begin{alltt}
+ $ exim -bV -C test.conf
+ Configuration file is test.conf
+ $ exim -bP primary\_hostname
+ mail.example.com
+ $ exim -bP routers
+ … (ca 200 Zeilen)
+\end{alltt}
+\end{frame}
+
+\begin{frame}[fragile]{Test und Betrieb}{Routing, Expansion}
+\begin{verbatim}
+ $ exim -d-all+route -bt hans@example.com
+ …
+ $ exim -d-all+expand -be '$lookup{root}lsearch{/etc/aliases}}'
+ search_open: lsearch "/etc/aliases"
+ search_find: file="/etc/aliases"
+ key="root" partial=-1 affix=NULL starflags=0
+ LRU list:
+ :/etc/aliases
+ End
+ internal_search_find: file="/etc/aliases"
+ type=lsearch key="root"
+ file lookup required for root
+ in /etc/aliases
+ lookup yielded: heiko
+ heiko
+\end{verbatim}
+\end{frame}
+
+\begin{frame}[fragile]{Test und Betrieb}{ACL}
+Fake-SMTP-Session mit \verb=exim -bh 1.1.1.1=, aber einfacher noch mit swaks.
+\scriptsize
+\begin{verbatim}
+ $ swaks --pipe 'exim -bh 1.1.1.1' --from … --to …
+ === Trying pipe to exim -bh 1.1.1.1…
+ === Connected to exim -bh 1.1.1.1.
+ >>> looking up host name for 1.1.1.1
+ …
+ <- **** SMTP testing session as if from host 1.1.1.1
+ <- **** This is not for real!
+ …
+ >>> processing "deny"
+ >>> deny: condition test succeeded in ACL "acl_check_rcpt"
+ LOG: [1967] H=(jumper.schlittermann.de) [1.1.1.1]
+ F=<hs@schlittermann.de> rejected RCPT <hans@example.com>: relay not
+ permitted
+ <** 550 relay not permitted
+ -> QUIT
+ <- 221 jumper.schlittermann.de closing connection
+\end{verbatim}
+\end{frame}