<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
h1
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:16.0pt;
font-family:Arial;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.berschriftFacharbeit, li.berschriftFacharbeit, div.berschriftFacharbeit
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Facharbeit1, li.Facharbeit1, div.Facharbeit1
{margin:0cm;
margin-bottom:.0001pt;
text-autospace:none;
font-size:12.0pt;
font-family:Arial;
color:black;}
p.Facharbeit2, li.Facharbeit2, div.Facharbeit2
{margin:0cm;
margin-bottom:.0001pt;
text-autospace:none;
font-size:12.0pt;
font-family:Arial;
color:black;}
p.Facharbeit, li.Facharbeit, div.Facharbeit
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.ArbeitHaupt, li.ArbeitHaupt, div.ArbeitHaupt
{margin-right:0cm;
margin-left:-52.5pt;
text-align:justify;
line-height:18.0pt;
background:#FF9933;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Formatvorlage1, li.Formatvorlage1, div.Formatvorlage1
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.ArbeitUnter, li.ArbeitUnter, div.ArbeitUnter
{margin-right:0cm;
margin-left:-52.5pt;
text-align:justify;
line-height:18.0pt;
background:gray;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.berschrift14, li.berschrift14, div.berschrift14
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Keineberschrift14, li.Keineberschrift14, div.Keineberschrift14
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial14grau, li.Arial14grau, div.Arial14grau
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial14bersschrift2, li.Arial14bersschrift2, div.Arial14bersschrift2
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial14berschrift2, li.Arial14berschrift2, div.Arial14berschrift2
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial14berschrift-2-, li.Arial14berschrift-2-, div.Arial14berschrift-2-
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial14berschrift-1-, li.Arial14berschrift-1-, div.Arial14berschrift-1-
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
background:#999999;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial12berschrift-1-, li.Arial12berschrift-1-, div.Arial12berschrift-1-
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
font-size:12.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial10berschrift-1-, li.Arial10berschrift-1-, div.Arial10berschrift-1-
{margin-right:0cm;
margin-left:0cm;
text-align:justify;
line-height:18.0pt;
font-size:10.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Arial14berschrift, li.Arial14berschrift, div.Arial14berschrift
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
line-height:18.0pt;
background:#A6A6A6;
font-size:14.0pt;
font-family:Arial;
font-weight:bold;}
p.Arial14Text, li.Arial14Text, div.Arial14Text
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
line-height:18.0pt;
background:#A6A6A6;
font-size:14.0pt;
font-family:Arial;
font-weight:bold;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 69.6pt 2.0cm 69.6pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Hallo,</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>wenn ich es nach vielem Googeln richtig verstanden habe wird die Mail
über den Eintrag in der master.cf:</span></font></p>
<p class=MsoPlainText><b><font size=2 face="Courier New"><span
style='font-size:11.0pt;font-weight:bold'>localhost:10027 inet n - n - - smtpd
-o content_filter= </span></font></b></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>an cyrus übergeben.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Wenn ich es richtig auslege sollte der Eintrag </span></font><b><font
size=2><span style='font-size:11.0pt;font-weight:bold'>content_filter=</span></font></b>
das Sievescript aktivieren.</p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Nachdem ich in den Messages keine Fehlermeldung mehr bekomme sollte der
Eintag der fileinto Usermailbox "user.be10010" auch richtig sein.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Trotzdem wird das Script:</span></font></p>
<div style='border:inset 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt;background:#E1E4F2'><pre
style='background:#E1E4F2;border:none;padding:0cm'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:black'>require "fileinto";</span></font></pre><pre
style='background:#E1E4F2;border:none;padding:0cm'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:black'> </span></font></pre><pre
style='background:#E1E4F2;border:none;padding:0cm'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:black'>if header :contains "subject" "Test0033" {</span></font></pre><pre
style='background:#E1E4F2;border:none;padding:0cm'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:black'> </span>fileinto "user.be100101";</font></pre><pre
style='background:#E1E4F2;border:none;padding:0cm'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;color:black'> stop;</span></font></pre></div>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>}</span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>nicht ausgeführt.</span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'> </span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>Christian</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>-----Ursprüngliche Nachricht-----<br>
Von: postfixbuch-users-bounces@listi.jpberlin.de
[mailto:postfixbuch-users-bounces@listi.jpberlin.de] Im Auftrag von Holm
Kapschitzki<br>
Gesendet: Montag, 31. März 2008 23:40<br>
An: Eine Diskussionsliste rund um das Postfix-Buch von Peer Heinlein.<br>
Betreff: Re: [Postfixbuch-users] Sieve filtert nicht</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Info Beilfuss schrieb:</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> Wenn meine Programmierung richtig ist läuft das wie folgt ab:</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> Postfix bekommt die Mails auf Port 25 und übergibt Sie auf Port 10024
an</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> AMaVIS.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> AMaVIs liefert an Port 10025 aus und übergibt an Port 10026 an
Spampd.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> Spampd liefert an Port 10027 an Cyrus.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> Mails die ankommen haben im Header auch Einträge von AMaVIS und
Spampd. Das</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> sollte also funktioniern. Nur das Aussieben danach funktioniert
nicht.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Ich hab das so:</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>78.47.xx.xx:25 inet n - n - 25 smtpd</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o content_filter=smtp:[127.0.0.1]:10024</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o receive_override_options=no_address_mappings</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_sasl_auth_enable=no</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>127.0.0.1:10025 inet n - n - - smtpd</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o content_filter=spamassassin</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o local_recipient_maps=</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o relay_recipient_maps=</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_restriction_classes=</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_client_restrictions=</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_helo_restrictions=</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_sender_restrictions=</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_recipient_restrictions=permit_mynetworks,reject</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o mynetworks=127.0.0.0/8</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o strict_rfc821_envelopes=yes</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_error_sleep_time=0</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_soft_error_limit=1001</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_hard_error_limit=1000</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_client_connection_count_limit=0</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o smtpd_client_connection_rate_limit=0</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> -o </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>receive_override_options=no_header_body_checks,no_unknown_recipient_checks</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>spamassassin unix - n n - - pipe</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> user=nobody argv=/usr/bin/spamc -u ${user} -f -e </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>/usr/sbin/sendmail -oi -f ${sender} -- ${recipient}</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Gruß Holm</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>-- </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>_______________________________________________</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Postfixbuch-users -- http://www.postfixbuch.de</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Heinlein Professional Linux Support GmbH</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Postfixbuch-users@listi.jpberlin.de</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users</span></font></p>
</div>
</body>
</html>