[Mimedefang] redirect spam for a single domain to another recipient
    Marcus Schopen 
    lists at localguru.de
       
    Wed Apr  2 12:53:49 EDT 2014
    
    
  
Hi,
I use stream_by_domain and like to redirect/move spam for a single
domain to a special recipient/mailbox and collect it there. Any better
code possible?
sub filter_end {
[...]
            if ($Domain eq 'mydomain.de' && $hits >= 5) {
                 foreach $recip (@Recipients) { 
                     delete_recipient($recip); 
                 }
                 add_recipient('spambox');
            }
[...]
Ciao
Marcus
    
    
More information about the MIMEDefang
mailing list