equal
deleted
inserted
replaced
1 \subsection{Viele Smarthosts} |
1 \subsection{Viele Smarthosts} |
2 |
2 |
3 \begin{frame}[<+->][fragile]{Beispiel}{Smarthost - Vorversuche} |
3 \begin{frame}[<+->][fragile]{Beispiel: Source based Routing}{Viele Smarthosts - Vorversuche} |
4 \begin{block}{Aufgabe} |
4 \begin{block}{Aufgabe} |
5 Wir haben mehrere Smarthosts und müssen je nach Sender-Adresse über |
5 Wir haben mehrere Smarthosts und müssen je nach Sender-Adresse über |
6 einen anderen Smarthost versenden. |
6 einen anderen Smarthost versenden. |
7 \end{block} |
7 \end{block} |
8 \begin{scriptsize} |
8 \begin{scriptsize} |
14 $ exim -be\pause |
14 $ exim -be\pause |
15 > $\{lookup\{foo@example.org\}lsearch*@\{smarthosts\}\{$value\}\} |
15 > $\{lookup\{foo@example.org\}lsearch*@\{smarthosts\}\{$value\}\} |
16 smtp.km21.com km433221 zecrit\pause |
16 smtp.km21.com km433221 zecrit\pause |
17 > $\{sg\{smtp.km21.com km433221 zecrit\}\{\BS\BS{}s+\}\{\BS{}t\}\} |
17 > $\{sg\{smtp.km21.com km433221 zecrit\}\{\BS\BS{}s+\}\{\BS{}t\}\} |
18 smtp.km21.com km433221 secrit\pause |
18 smtp.km21.com km433221 secrit\pause |
19 > $\{extract\{1\}\{\BS{}t\}\{smtp.km21.com km433221 secrit\}\} |
19 > $\{extract\{1\}\{\BS{}t\}\{smtp.km21.com km433221 zecrit\}\} |
20 smtp.km21.com\pause |
20 smtp.km21.com\pause |
21 \pause |
21 \pause |
22 \end{alltt} |
22 \end{alltt} |
23 \end{block} |
23 \end{block} |
24 \end{frame} |
24 \end{frame} |
25 |
25 |
26 \begin{frame}[<+->][fragile]{Beispiel}{Viele Smarthosts - Config} |
26 \begin{frame}[<+->][fragile]{Beispiel}{Viele Smarthosts - Macros} |
27 Das kann jetzt schön in Macros verpackt werden, damit es übersichtlich |
27 Das kann jetzt schön in Macros verpackt werden, damit es übersichtlich |
28 wird: |
28 wird: |
29 \begin{verbatim} |
29 \begin{verbatim} |
30 ADDRESS_DATA = ${lookup{foo@example.org}\ |
30 ADDRESS_DATA = ${lookup{foo@example.org}\ |
31 lsearch*@{smarthosts}\ |
31 lsearch*@{smarthosts}\ |
34 USER = ${extract{2}{\t}{$address_data}} |
34 USER = ${extract{2}{\t}{$address_data}} |
35 PASS = ${extract{3}{\t}{$address_data}} |
35 PASS = ${extract{3}{\t}{$address_data}} |
36 \end{verbatim} |
36 \end{verbatim} |
37 \end{frame} |
37 \end{frame} |
38 |
38 |
39 \begin{frame}[<+->][fragile]{Beispiel}{Viele Smarthosts - Config 2} |
39 \begin{frame}[<+->][fragile]{Beispiel}{Viele Smarthosts - Routers + Transports} |
40 \begin{small} |
40 \begin{small} |
41 \begin{verbatim} |
41 \begin{verbatim} |
42 begin routers |
42 begin routers |
43 |
43 |
44 smarthosts: |
44 smarthosts: |
67 |
67 |
68 \begin{frame}[<+->][fragile]{Beispiel}{Viele Smarthosts - Test} |
68 \begin{frame}[<+->][fragile]{Beispiel}{Viele Smarthosts - Test} |
69 Das Routing können wir wieder relativ einfach testen: |
69 Das Routing können wir wieder relativ einfach testen: |
70 \pause |
70 \pause |
71 \begin{alltt} |
71 \begin{alltt} |
72 $ exim -f hans@example.com -t nobody@discworld.com |
72 $ exim -f hans@example.com -t nobody@nowhere |
73 nobody@discworld.com |
73 nobody@nowhere |
74 router = smarthosts, transport = smtpa |
74 router = smarthosts, transport = smtpa |
75 host mx.freenet.de [2001:748:100:40::8:112] port=25 |
75 host mx.freenet.de [2001:748:100:40::8:112] port=25 |
76 host mx.freenet.de [195.4.92.212] port=25 |
76 host mx.freenet.de [195.4.92.212] port=25 |
77 \pause |
77 \pause |
78 $ exim -f fred@example.com -t … |
78 $ exim -f fred@example.com -t … |