Hi,<br><br>Thanks a lot it is working fine.<br>I have one small doubt on white listing when my MX receives mail from same user to same user then <br>it is white listing . Any reason for this because of this some spoof and spam mails are passing through, I checked in database (mailwatch) but there is no such entry for the user.Also observed this is randomly happening for some random users.<br>
<br>Thanks,<br>shyam<br><br><div class="gmail_quote">On Wed, May 27, 2009 at 11:06 PM, Julian Field <span dir="ltr">&lt;<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
<br>
<br>
On 27/05/2009 16:35, Stef Morrell wrote:<br>
&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a><br>
&gt;&gt; [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf<br>
&gt;&gt; Of Julian Field<br>
&gt;&gt;<br>
&gt;&gt; On 27/05/2009 10:48, Stef Morrell wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; So, what I hope to be able to do is add a spam whitelisting<br>
&gt;&gt;&gt;<br>
&gt;&gt; rule along<br>
&gt;&gt;<br>
&gt;&gt;&gt; the lines of<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; From: *@mydomain and From:&lt;IP ADDRESS&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Does this makes sense and is it achieveable?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; Yes, and you have even got the syntax right. Just add a &quot;yes&quot;<br>
&gt;&gt; on the end of the line and put it in<br>
&gt;&gt; /etc/MailScanner/rules/spam.whitelist.rules.<br>
&gt;&gt;<br>
&gt; Ah fantastic thanks. For some reason I was under the mistaken impression<br>
&gt; one could only do a<br>
&gt;<br>
&gt; From:Foo and To:Bar Yes<br>
&gt;<br>
&gt; Rather than multiple &#39;from&#39; conditions.<br>
&gt;<br>
&gt; Is there a maximum number of conditions (not that I can think of an<br>
&gt; application for more than maybe 3-4)?<br>
&gt;<br>
</div>Yes. 2.<br>
<div class="im">&gt; Could you say<br>
&gt;<br>
&gt; From:Foo or From:Bar<br>
&gt;<br>
&gt; Or is it more appropriate to write two rules?<br>
&gt;<br>
</div>No, write 2 rules.<br>
<div class="im"><br>
Jules<br>
<br>
- --<br>
Julian Field MEng CITP CEng<br>
<a href="http://www.MailScanner.info" target="_blank">www.MailScanner.info</a><br>
Buy the MailScanner book at <a href="http://www.MailScanner.info/store" target="_blank">www.MailScanner.info/store</a><br>
</div><div class="im">Follow me at <a href="http://twitter.com/JulesFM" target="_blank">twitter.com/JulesFM</a><br>
<br>
</div>MailScanner customisation, or any advanced system administration help?<br>
Contact me at Jules@Jules.FM<br>
<div class="im"><br>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br>
</div>PGP public key: <a href="http://www.jules.fm/julesfm.asc" target="_blank">http://www.jules.fm/julesfm.asc</a><br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: PGP Desktop 9.10.0 (Build 500)<br>
Comment: Use PGP or Thunderbird Enigmail to verify this message<br>
Charset: ISO-8859-1<br>
<br>
wj8DBQFKHXoREfZZRxQVtlQRAnyEAJ4iMWdjECe5XGj3Tljij7our22hVQCeObqr<br>
VvRJ54lv/60EXK7x8BlhrP0=<br>
=V6mD<br>
-----END PGP SIGNATURE-----<br>
<div class="im"><br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
--<br>
</div><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>