<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Are you certain you didn't type ";" instead of ":" in you rule file?
    It sort of indicates that one of your lines needs that ":" in it<br>
    <br>
    steve campbell<br>
    <div class="moz-cite-prefix">On 9/19/2012 2:25 PM, Sampson, Aaron
      wrote:<br>
    </div>
    <blockquote
      cite="mid:4ACB6FBB6E06074DA18D653BD3155A663FBB08@COMM1.p2sol.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            did make sure that the capitalization was the same through
            it all and that everything was spaced out the same as well,
            still got the same error message.&nbsp; Did discover that
            everything seemed to be working properly with Mail Scanner
            until I attempted to send out an e-mail from one of the
            domains that I had listed.&nbsp; Once that e-mail attempted to go
            through the system the syntax error appeared.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
            <a class="moz-txt-link-abbreviated" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>
            [<a class="moz-txt-link-freetext" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</a>]
            <b>On Behalf Of </b>Martin Hepworth<br>
            <b>Sent:</b> Wednesday, September 19, 2012 10:47 AM<br>
            <b>To:</b> MailScanner discussion<br>
            <b>Subject:</b> Re: Filter by IP<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">have you made
          sure there no tab's in that ruleset.<br>
          check out the examples in the examples dir and here.<br>
          <br>
          <a moz-do-not-send="true"
href="http://wiki.mailscanner.info/doku.php?id=documentation:configuration:rulesets:examples&amp;s=rules">http://wiki.mailscanner.info/doku.php?id=documentation:configuration:rulesets:examples&amp;s=rules</a><br>
          <br>
          yes you'll need the default entry , try making sure the
          capitalisasion is consistent with the examples as welll.<br>
          <br>
          To: @<a moz-do-not-send="true" href="http://domain1.com"
            target="_blank">domain1.com</a> deliver<br>
          To: @<a moz-do-not-send="true" href="http://domain2.com"
            target="_blank">domain2.com</a> deliver<br>
          From: ip.address &nbsp; &nbsp; &nbsp; &nbsp;store<br>
          FromOrTo: default &nbsp; &nbsp; &nbsp; deliver<br>
          <br clear="all">
          -- <br>
          Martin Hepworth, CISSP<br>
          Oxford, UK<br>
          <br>
          <o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 19 September 2012 16:00, Sampson,
            Aaron &lt;<a moz-do-not-send="true"
              href="mailto:Sampson@p2sol.com" target="_blank">Sampson@p2sol.com</a>&gt;
            wrote:<o:p></o:p></p>
          <p class="MsoNormal">Alex,<br>
            <br>
            So I tried out your suggestion and put in a a ruleset in the
            non-spam actions. rules that read<br>
            to: *@<a moz-do-not-send="true" href="http://domain1.com"
              target="_blank">domain1.com</a> deliver<br>
            to: *@<a moz-do-not-send="true" href="http://domain2.com"
              target="_blank">domain2.com</a> deliver<br>
            from: ip.address &nbsp; &nbsp; &nbsp; &nbsp;store<br>
            and then when that did not work added<br>
            fromorTo: default &nbsp; &nbsp; &nbsp; deliver<br>
            <br>
            Still did not work and all e-mails coming into the company
            were lost (dang it) and I kept getting an error message
            saying &nbsp; Syntax error in "header" action in spam actions,<br>
            missing ":" in etc/MailScanner/rules/non.spam.rules<br>
            <br>
            We have checked and rechecked the rule-set pattern to see if
            we missed something and have tried a few things and nothing
            has worked so far. &nbsp;We would like to not have to set up an
            additional smtp server to take care of this issue so any
            additional thoughts would be great, or let me know if you
            need/want any additional information<o:p></o:p></p>
          <div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
              <br>
              -----Original Message-----<br>
              From: <a moz-do-not-send="true"
                href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>
              [mailto:<a moz-do-not-send="true"
                href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>]
              On Behalf Of Alex Neuman<br>
              Sent: Monday, September 17, 2012 12:41 PM<br>
              To: MailScanner discussion<br>
              Subject: Re: Filter by IP<o:p></o:p></p>
          </div>
          <div>
            <div>
              <p class="MsoNormal">You can probably add the test
                server's IP to the spam whitelist, then add a "non-spam
                actions" ruleset that says something like:<br>
                <br>
                To:<a moz-do-not-send="true"
                  href="http://allowed.domain.com" target="_blank">allowed.domain.com</a>
                deliver<br>
                To:<a moz-do-not-send="true"
                  href="http://allowed2.domain.com" target="_blank">allowed2.domain.com</a>
                deliver<br>
                From:xx.xx.xx.xx store<br>
                <br>
                That way, the first two domains "hit" and "deliver" the
                e-mails, while anything else from the test server will
                be "stored" - you could use "delete" but just in case
                use "store" so you can release them if necessary.<br>
                <br>
                <br>
                On Mon, Sep 17, 2012 at 11:01 AM, Sampson, Aaron &lt;<a
                  moz-do-not-send="true" href="mailto:Sampson@p2sol.com">Sampson@p2sol.com</a>&gt;
                wrote:<br>
                &gt; I am running Centos 6 with Postfix/mailscanner
                4.84.5 with Spam<br>
                &gt; Assassin and Clamd and I have a Test server that I
                am trying to<br>
                &gt; prevent from e-mailing anyone outside 2 certain
                domains. &nbsp;I have been<br>
                &gt; trying to figure out the best way to set this up so
                that it does not<br>
                &gt; interfere with the production servers or regular
                e-mails. &nbsp;But not really clear on the best way to set
                this up.<br>
                &gt;<br>
                &gt; I thought about trying to put something in
                whitelist.rules but want to<br>
                &gt; have a clear plan of attack before I try anything
                to prevent<br>
                &gt; disruption of normal e-mails.<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; Wanting to do something like<br>
                &gt;<br>
                &gt; When From: ip.tst.srv.add &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Only Allow to
                send to: <a moz-do-not-send="true"
                  href="http://our.domain.com" target="_blank">
                  our.domain.com</a> &amp;<br>
                &gt; this <a moz-do-not-send="true"
                  href="http://domain.com" target="_blank">domain.com</a>
                (and block anything not to that domain)<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; Any thoughts would be greatly appreciated<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; Aaron Sampson<br>
                &gt;<br>
                &gt; IT Department<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; --<br>
                &gt; MailScanner mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
                &gt; <a moz-do-not-send="true"
                  href="http://lists.mailscanner.info/mailman/listinfo/mailscanner"
                  target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
                &gt;<br>
                &gt; Before posting, read <a moz-do-not-send="true"
                  href="http://wiki.mailscanner.info/posting"
                  target="_blank">
                  http://wiki.mailscanner.info/posting</a><br>
                &gt;<br>
                &gt; Support MailScanner development - buy the book off
                the website!<br>
                &gt;<br>
                <br>
                <br>
                <br>
                --<br>
                <br>
                --<br>
                <br>
                Alex Neuman van der Hans<br>
                Reliant Technologies / Vida Digital<br>
                <a moz-do-not-send="true"
                  href="http://vidadigital.com.pa/" target="_blank">http://vidadigital.com.pa/</a><br>
                <br>
                <a moz-do-not-send="true" href="tel:%2B507-6781-9505">+507-6781-9505</a><br>
                <a moz-do-not-send="true" href="tel:%2B507-832-6725">+507-832-6725</a><br>
                <a moz-do-not-send="true" href="tel:%2B1-440-253-9789">+1-440-253-9789</a>&nbsp;(USA)<br>
                <br>
                Follow @AlexNeuman on Twitter<br>
                <a moz-do-not-send="true"
                  href="http://facebook.com/vidadigital" target="_blank">http://facebook.com/vidadigital</a><br>
                <br>
                <br>
                -- So-called "legal disclaimers" are not legally
                binding, so don't bother. A cute graphic saying "save
                the planet, don't print this" can potentially create
                more CO2, not less, so don't bother either.<br>
                --<br>
                MailScanner mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.mailscanner.info/mailman/listinfo/mailscanner"
                  target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
                <br>
                Before posting, read <a moz-do-not-send="true"
                  href="http://wiki.mailscanner.info/posting"
                  target="_blank">
                  http://wiki.mailscanner.info/posting</a><br>
                <br>
                Support MailScanner development - buy the book off the
                website!<br>
                --<br>
                MailScanner mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.mailscanner.info/mailman/listinfo/mailscanner"
                  target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
                <br>
                Before posting, read <a moz-do-not-send="true"
                  href="http://wiki.mailscanner.info/posting"
                  target="_blank">
                  http://wiki.mailscanner.info/posting</a><br>
                <br>
                Support MailScanner development - buy the book off the
                website!<o:p></o:p></p>
            </div>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>