[Mimedefang] Why it is'n working
    Barry Byrne 
    barry.byrne at wbtsystems.com
       
    Fri Oct 18 11:08:00 EDT 2002
    
    
  
@ symbol must be quoted in perl:
Try replacing mail at domain  with  mail\@domain
also, are you sure you want those ? marks in you're pattern?
 - Barry
--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland
Phone:  +353 1 417 0150
Fax:    +353 1 478 5544
Email:  barry.byrne at wbtsystems.com
Web:    www.wbtsystems.com
> -----Original Message-----
> From: mimedefang-admin at lists.roaringpenguin.com
> [mailto:mimedefang-admin at lists.roaringpenguin.com]On Behalf Of Easy
> Sent: 18 October 2002 15:49
> To: mimedefang at lists.roaringpenguin.com
> Subject: [Mimedefang] Why it is'n working
> 
> 
> What's wrong with this filter:
> 
> sub filter ($$$$) {
>     my ($sender, $ip, $hostname, $helo) = @_;
>         if ($sender =~ /^<?mail at domain>?$/i) or ($sender =~
> /^<?mail2 at domain>?$/i)  {
>         action_add_header("Bcc", "backup at domain");
>     }
>     return action_accept();
> }
> 
> I receive the error:
> stderr: Possible unintended interpolation of @domain in string at
> /usr/local/defang/etc/mail/mimedefang-filter line 13.
> 
> Algirdas
> P.S. I'm new to mimedefang. Could you please give me some hints on how to
> build the filter file.
> 
> 
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> 
    
    
More information about the MIMEDefang
mailing list