Good point, though from the fact that he needs to scan outgoing mail suggests his users are not trustworthy - ergo, probably from dynamic IP&#39;s. This could be solved by having separate MTA instances running on different IP addresses for local, trusted users vs. nonlocal, non-trustable users.<br>
<br><div class="gmail_quote">On Fri, May 27, 2011 at 3:00 PM, Martin Hepworth <span dir="ltr">&lt;<a href="mailto:maxsec@gmail.com">maxsec@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Also not a great idea to use domains for the outbound checks as many<br>
spam use the same from domain as the to domain. Better to use ip<br>
address in the from here<br>
<br>
<br>
Martin<br>
<div><div></div><div class="h5">On Friday, 27 May 2011, Alex Neuman &lt;<a href="mailto:alex@vidadigital.com.pa">alex@vidadigital.com.pa</a>&gt; wrote:<br>
&gt; About question #1, it&#39;s definitely possible - although it&#39;s not often you find outbound spam unless your users are spammers themselves!<br>
&gt;<br>
&gt; spam = %rules-dir%/spam.rules<br>
&gt; high scoring spam = %rules-dir%/high.scoring.spam.rules<br>
&gt;<br>
&gt; spam.rules:<br>
&gt;<br>
&gt; # inbound<br>
&gt; to: *@<a href="http://mydomain.com" target="_blank">mydomain.com</a> 4<br>
&gt; # outbound<br>
&gt; fromorto: default 7<br>
&gt;<br>
&gt; high.scoring.spam.rules:<br>
&gt; # inbound<br>
&gt; to: *@<a href="http://mydomain.com" target="_blank">mydomain.com</a> 7<br>
&gt; # outbound<br>
&gt; fromorto: default 12<br>
&gt;<br>
&gt; Reload MailScanner and it should pick up.<br>
&gt;<br>
&gt; PS: Please don&#39;t email back saying it didn&#39;t work because you copied it verbatim. This is just an example, read the docs and make sure you know what every parameter does.<br>
&gt; On Fri, May 27, 2011 at 10:49 AM, Harondel J. Sibble &lt;<a href="mailto:mailscanner@pdscc.com">mailscanner@pdscc.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Question #1<br>
&gt;<br>
&gt; Is there a way to assign different spam score requirements to inbound vs<br>
&gt; outbound mail?  I see in the list archives instructions for disabling<br>
&gt; outbound SA scoring, but not for different directional scores.<br>
&gt;<br>
&gt; Basically want<br>
&gt;<br>
&gt; Inbound<br>
&gt; spam = 4<br>
&gt; high scoring spam = 7<br>
&gt;<br>
&gt; outbound<br>
&gt; spam = 7<br>
&gt; high scoring spam = 12<br>
&gt;<br>
&gt; Can someone point me to instructions on how to make this work or let me know<br>
&gt; if it&#39;s not even possible?<br>
&gt;<br>
&gt; Question #2<br>
&gt;<br>
&gt; what&#39;s the current recommended best AD/LDAP connector for using with Postfix<br>
&gt; and Exchange 2010/Windows 2008 R2 AD.<br>
&gt;<br>
&gt; I&#39;ve been reviewing the list archives and googling and see there are still a<br>
&gt; lot of options in general, but most I&#39;ve come across so far seem to be<br>
&gt; specific to EX2003/2007/Win2k3.<br>
&gt;<br>
&gt; Customer is happy to pay for a commercial solution.  Just looking for the<br>
&gt; simplest to deploy/maintain.<br>
&gt;<br>
&gt; --<br>
&gt; Harondel J. Sibble<br>
&gt; Sibble Computer Consulting<br>
&gt; Creating Solutions for the small and medium business computer user.<br>
&gt; <a href="mailto:help@pdscc.com">help@pdscc.com</a> (use pgp keyid 0x3AD5C11D) <a href="http://www.pdscc.com" target="_blank">http://www.pdscc.com</a><br>
&gt; Blog: <a href="http://www.pdscc.com/blog" target="_blank">http://www.pdscc.com/blog</a><br>
&gt; (604) 739-3709 (voice)<br>
&gt;<br>
&gt; --<br>
&gt; MailScanner mailing list<br>
&gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; <a 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 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>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Alex Neuman van der Hans<br>
&gt; Reliant Technologies / Vida Digital<br>
&gt; <a href="http://vidadigital.com.pa/" target="_blank">http://vidadigital.com.pa/</a><br>
&gt;<br>
&gt; +507-6781-9505<br>
&gt; +507-832-6725<br>
&gt; +1-440-253-9789 (USA)<br>
&gt;<br>
&gt; Follow @AlexNeuman on Twitter<br>
&gt; <a href="http://facebook.com/vidadigital" target="_blank">http://facebook.com/vidadigital</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div>--<br>
--<br>
Martin Hepworth<br>
Oxford, UK<br>
<font color="#888888">--<br>
</font><div><div></div><div class="h5">MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a 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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>--<br><br>Alex Neuman van der Hans<br>Reliant Technologies / Vida Digital<br><a href="http://vidadigital.com.pa/" target="_blank">http://vidadigital.com.pa/</a><br>
<br>+507-6781-9505<br>+507-832-6725<br>+1-440-253-9789 (USA)<br><br>Follow @AlexNeuman on Twitter<br><a href="http://facebook.com/vidadigital" target="_blank">http://facebook.com/vidadigital</a><br><br><br>