Tim Boyer wrote:
I tried putting in one of the subroutines that David presented at the
Lisa '03 session.  It's got the line

   $recipient = canonicalize_email($recipient);


in filter_recipient.

But when I run it, I get this in the logs:
...snip...

Have I typed it wrong?  Spelled it wrong?




Tim,

You need to actually define a subroutine called "canonicalize_email" in the filter as well.

mine looks like:

sub canonicalize_email ($) {
        my ($email) = @_;

        $email =~ s/^<//;
        $email =~ s/>$//;

        return lc($email);
}

basically all it does is remove any < or > from the email and return it in lowercase.

hope this helps.

alan
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to