[Mimedefang] Why it is'n working

Easy easy at xxx.lt
Fri Oct 18 10:49:01 EDT 2002


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.





More information about the MIMEDefang mailing list