Hi everyone.<br>really thx for your replays, <br><br>I think i found the solution to block or redirect the mails with particular words in the subject line.<br><br><span style="color: rgb(51, 51, 255);">STICK TO THE BASICS GUYS.............!
</span><br><br>YES ......It is possible on sendmail.<br>i used scripts on MDA( message deliver agent) which is procmail on my sendmail. <br><br>I will explain how, May some one can benefit out this.<br><br>I made a simple script inside ~/.procmailrc on each user.
<br><br><span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">:0</span><br style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);"><span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">
* ^Subject:.*\fuck</span><br style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);"><span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">$MAILDIR/mail/SPAM</span><br style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">
<br style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);"><span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">:0</span><br style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">
<span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">* ^Subject:.*\sex</span><br style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);"><span style="background-color: rgb(204, 0, 0);">
<span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 255);">$MAILDIR/mail/SPAM</span><br style="color: rgb(51, 51, 255);"><br><br style="background-color: rgb(204, 0, 0);"></span>This will move mails with fuck &amp; sex on the subject line from inbox to SPAM folder for each user in the 
sendmail.There are many thing possible on procmail you can even send these mails to any other user as if mailscanner is sending a warning to a superuser.<br><br>for that u have to give <br><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">:0</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;* ^Subject:.*fuck</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
&nbsp;{</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :0 c</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !trackspam@<a href="http://pun.softspins.com">
pun.softspins.com</a></span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;}</span><br>&nbsp;<br>where fuck is the bad word &amp; trackspam is the user to monitor the mails.
<br><br>by carefully inspecting procmail many things are possible , u can even manipulate mails with words in the message body or perticular attachment and so on.<br><br>so try your own scripts which suites your company &amp; infrastructure.
<br><br><br>But still i am facing some problem, what happened is i got nearly 80 users &amp; if i want to implement this i have to copy these files to all home directory on each &amp; every user. <br>The same scripts didn't worked when i put inside 
<span style="color: rgb(51, 51, 255);">/etc/procmailrc.</span><br><br>I am trying to find a solution, if any one got please help me out.  <br><br><br><br>On 6/21/06, Raj &lt;<a href="mailto:rajlinux@gmail.com">rajlinux@gmail.com
</a>&gt; wrote:<br>&gt; Can we block any particular subject line in MailScanner<br>&gt; i mean if subject have words like Viagra, sex, fuck etc.. can we block them ?<br>&gt; MailScanner is working very well blocking with extension like *.exe.
<br>&gt; <br>&gt; I am facing too many problem with spams these days. Some time<br>&gt; spamassassin fails to recognise the spams. So can we block them with<br>&gt; its subject line.<br>&gt; <br>&gt; it is possible on qmail by QTRAP. it blockes mails with customised words.
<br>&gt; <br>&gt; i gone through docs of MS, But fails to find such function out of it.<br>&gt; If this is possible on MS that will be great.<br>&gt; <br>&gt; <br>&gt; <br>&gt; --<br>&gt; Regards<br>&gt; Rajeev Sekhar<br>
&gt; ph 9822751120<br>&gt; <br><br><br>-- <br>Regards<br>Rajeev Sekhar<br>ph 9822751120<br>