At 19:43 +0200 14-01-2007, [EMAIL PROTECTED] wrote: >Hello, >I have two questions: >(I am using qmr situation) > >1) How to drop mails which are OUTGOING or INCOMING from certain >@domain.com or [EMAIL PROTECTED] >Ex1: I wish my users not to SEND mails to anyone to @domain.com, or to >[EMAIL PROTECTED] >Ex2: I wish my users not to RECEIVE mails from @domain.com, or from >[EMAIL PROTECTED] > >2) How to make an EXCEPTION LIST (whitelist) for some of my users which >can bypass those restrictions(from question 1). >
Hi Angel qmail-scanner doesn't have a feature to do what you are asking for directly but you can use the rules in quarantine-attachments.txt for your first question. I believe you are using 1.25-st-qms, so enable virus_to_delete if you don't have it enabled and add a description for your rule, for example: my $virus_to_delete="mydoom| .... |address not allowed"; Example of rules for quarantine-attachments.txt: @domain.com Virus-MAILFROM: From address not allowed [EMAIL PROTECTED] Virus-RCPTTO: Recipent address not allowed Remember to use tabs between the fields and to generate the db after the changes. For the second question you need to modify the qmail-scanner code... Regards ST ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general