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"><<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>></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>
><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a><br>
>> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf<br>
>> Of Julian Field<br>
>><br>
>> On 27/05/2009 10:48, Stef Morrell wrote:<br>
>><br>
>>> So, what I hope to be able to do is add a spam whitelisting<br>
>>><br>
>> rule along<br>
>><br>
>>> the lines of<br>
>>><br>
>>> From: *@mydomain and From:<IP ADDRESS><br>
>>><br>
>>> Does this makes sense and is it achieveable?<br>
>>><br>
>>><br>
>> Yes, and you have even got the syntax right. Just add a "yes"<br>
>> on the end of the line and put it in<br>
>> /etc/MailScanner/rules/spam.whitelist.rules.<br>
>><br>
> Ah fantastic thanks. For some reason I was under the mistaken impression<br>
> one could only do a<br>
><br>
> From:Foo and To:Bar Yes<br>
><br>
> Rather than multiple 'from' conditions.<br>
><br>
> Is there a maximum number of conditions (not that I can think of an<br>
> application for more than maybe 3-4)?<br>
><br>
</div>Yes. 2.<br>
<div class="im">> Could you say<br>
><br>
> From:Foo or From:Bar<br>
><br>
> Or is it more appropriate to write two rules?<br>
><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>