Christian Ista, wrote
Hello,

On my server I have Qmail 1.03, Spamassassin, Clamav, I host some domains.

The tag are tagged with "[*SPAM*]" in the subject.

I'd like for some domains delete directly the mail tagged and for some others keep the mail tagged.

Do you have an idea how to do that ?

Thanks,

Christian,


You will have to hack my version of qs. Just add after this code:


  #Add envelope details to headers array so that they can be matched within
  #perlscanner.
  #Note how they're uppercase cf the message headers which are all forced
  #lowercased. This is to ensure no-one can override them...

  $headers{'MAILFROM'}=$returnpath;
  $headers{'RCPTTO'}=$recips;
  $headers{'TCPREMOTEIP'}=$remote_smtp_ip;


Somethig like this:



if ( $recips =~ /[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]/i ) { $sa_quarantine='0'; $sa_delete='0'; $sa_reject='0'; }

Where domain1, domain2... are the domains that have the mail only tagged.

Cheers

Salvatore


------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to