[Mimedefang] add_recipient

Arthur Korneyew pustoi at spils.lv
Sun Aug 24 15:47:00 EDT 2003


Hello,
 
Is it possible to add rcpt for only one selected user, not for all ?
I have wrote something like:
 
sub filter_sender {
           my ($sender, $ip, $hostname, $helo) = @_;       
            if ($sender =~ /^<?wol4ara\@yahoo\.com>?$/i) {      
               add_recipient ("aaa\@bbb.\com");
            }
            return ('CONTINUE', "ok");
}
 
but I got an error:
mimedefang.pl[82900]: add_recipient called outside of message context.
 
Are there some examples ?
Thanks !



More information about the MIMEDefang mailing list