it dosent matter to me ,the job is of Mailscanner or procmail. I want my requirement to work.<br><br>I thought MS can do it, because you know MS can parse all attachment & if it is suspisious it will replace with a warning message. So if mailscanner can process subject line also, that will be cool . is'nt??
<br><br><div><span class="gmail_quote">On 6/23/06, <b class="gmail_sendername">Scott Silva</b> <<a href="mailto:ssilva@sgvwater.com">ssilva@sgvwater.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Raj spake the following on 6/23/2006 12:00 AM:<br>> Hi everyone.<br>> really thx for your replays,<br>><br>> I think i found the solution to block or redirect the mails with<br>> particular words in the subject line.
<br>><br>> STICK TO THE BASICS GUYS.............!<br>><br>> YES ......It is possible on sendmail.<br>> i used scripts on MDA( message deliver agent) which is procmail on my<br>> 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>> :0<br>> * ^Subject:.*\fuck<br>> $MAILDIR/mail/SPAM<br>><br>> :0<br>> * ^Subject:.*\sex<br>> $MAILDIR/mail/SPAM<br>
><br>><br>> This will move mails with fuck & sex on the subject line from inbox to<br>> SPAM folder for each user in the sendmail.There are many thing possible<br>> on procmail you can even send these mails to any other user as if
<br>> mailscanner is sending a warning to a superuser.<br>><br>> for that u have to give<br>><br>> :0<br>> * ^Subject:.*fuck<br>> {<br>> :0 c<br>> !trackspam@
<a href="http://pun.softspins.com">pun.softspins.com</a> <<a href="http://pun.softspins.com">http://pun.softspins.com</a>><br>><br>> }<br>><br>> where fuck is the bad word & trackspam is the user to monitor the mails.
<br>><br>> by carefully inspecting procmail many things are possible , u can even<br>> manipulate mails with words in the message body or perticular attachment<br>> and so on.<br>><br>> so try your own scripts which suites your company & infrastructure.
<br>><br>><br>> But still i am facing some problem, what happened is i got nearly 80<br>> users & if i want to implement this i have to copy these files to all<br>> home directory on each & every user.
<br>> The same scripts didn't worked when i put inside /etc/procmailrc.<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 <<a href="mailto:rajlinux@gmail.com">
rajlinux@gmail.com</a> <mailto:<a href="mailto:rajlinux@gmail.com">rajlinux@gmail.com</a>>> wrote:<br>>> Can we block any particular subject line in MailScanner<br>>> i mean if subject have words like Viagra, sex, fuck etc.. can we block
<br>> them ?<br>>> MailScanner is working very well blocking with extension like *.exe.<br>>><br>>> I am facing too many problem with spams these days. Some time<br>>> spamassassin fails to recognise the spams. So can we block them with
<br>>> its subject line.<br>>><br>>> it is possible on qmail by QTRAP. it blockes mails with customised words.<br>>><br>>> i gone through docs of MS, But fails to find such function out of it.
<br>>> If this is possible on MS that will be great.<br>This doesn't block them in sendmail, it moves them after they are received. It<br>isn't any different than having MailScanner take care of it.<br><br>--<br><br>
MailScanner is like deodorant...<br>You hope everybody uses it, and<br>you notice quickly if they don't!!!!<br><br>--<br>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">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting
</a><br><br>Support MailScanner development - buy the book off the website!<br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Rajeev Sekhar<br>ph 9822751120