1 \section{Test und Betrieb} |
1 \section{Betrieb} |
2 \subsection{Konfiguration} |
|
3 |
2 |
4 \begin{frame}[fragile]{Test und Betrieb}{Konfiguration} |
3 \begin{frame}[<+->][fragile]{Betrieb}{Prozesse} |
5 Viele Möglichkeiten, die bestehende Konfiguration zu überprüfen: |
4 Natürlich Beobachtung des Logfiles, oder aber \verb=exiwhat= |
6 \begin{alltt} |
5 und \verb=eximqsumm=, \verb=exipick= |
7 $ exim -bV -C test.conf |
6 \begin{block}{Prozesse} |
8 Configuration file is test.conf |
7 \begin{scriptsize} |
9 $ exim -bP primary\_hostname |
8 \ttinput{out/exiwhat.out} |
10 mail.example.com |
9 \end{scriptsize} |
11 $ exim -bP routers |
10 \end{block} |
12 … (ca 200 Zeilen) |
|
13 \end{alltt} |
|
14 \end{frame} |
11 \end{frame} |
15 |
12 |
16 \begin{frame}[fragile]{Test und Betrieb}{Routing, Expansion} |
13 \begin{frame}[<+->][fragile]{Betrieb}{Queue} |
17 \begin{verbatim} |
14 \begin{block}{Queue-Zusammenfassung} |
18 $ exim -d-all+route -bt hans@example.com |
15 \begin{scriptsize} |
19 … |
16 \ttinput{out/exiqsumm.tt} |
20 $ exim -d-all+expand -be '$lookup{root}lsearch{/etc/aliases}}' |
17 \end{scriptsize} |
21 search_open: lsearch "/etc/aliases" |
18 \end{block} |
22 search_find: file="/etc/aliases" |
19 \begin{block}{Queue-Details} |
23 key="root" partial=-1 affix=NULL starflags=0 |
20 \begin{scriptsize} |
24 LRU list: |
21 \ttinput{out/exipick.out} |
25 :/etc/aliases |
22 \end{scriptsize} |
26 End |
23 \end{block} |
27 internal_search_find: file="/etc/aliases" |
|
28 type=lsearch key="root" |
|
29 file lookup required for root |
|
30 in /etc/aliases |
|
31 lookup yielded: heiko |
|
32 heiko |
|
33 \end{verbatim} |
|
34 \end{frame} |
24 \end{frame} |
35 |
25 |
36 \begin{frame}[fragile]{Test und Betrieb}{ACL} |
26 %\begin{verbatim} |
37 Fake-SMTP-Session mit \verb=exim -bh 1.1.1.1=, aber einfacher noch mit swaks. |
27 %Time spent on the queue: messages with at least one remote delivery |
38 \scriptsize |
28 %------------------------------------------------------------------- |
39 \begin{verbatim} |
29 %Under 1m 15052 99.2% 99.2% |
40 $ swaks --pipe 'exim -bh 1.1.1.1' --from … --to … |
30 % 5m 20 0.1% 99.3% |
41 === Trying pipe to exim -bh 1.1.1.1… |
31 % 15m 2 0.0% 99.3% |
42 === Connected to exim -bh 1.1.1.1. |
32 % 30m 91 0.6% 99.9% |
43 >>> looking up host name for 1.1.1.1 |
33 % 1h 9 0.1% 100.0% |
44 … |
34 % 6h 2 0.0% 100.0% |
45 <- **** SMTP testing session as if from host 1.1.1.1 |
35 %Over 1d 1 0.0% 100.0% |
46 <- **** This is not for real! |
36 %\end{verbatim} |
47 … |
37 %%\end{scriptsize} |
48 >>> processing "deny" |
|
49 >>> deny: condition test succeeded in ACL "acl_check_rcpt" |
|
50 LOG: [1967] H=(jumper.schlittermann.de) [1.1.1.1] |
|
51 F=<hs@schlittermann.de> rejected RCPT <hans@example.com>: relay not |
|
52 permitted |
|
53 <** 550 relay not permitted |
|
54 -> QUIT |
|
55 <- 221 jumper.schlittermann.de closing connection |
|
56 \end{verbatim} |
|
57 \end{frame} |
|