[Mimedefang] Perl Expression Question

Jeff Grossman jeff at stikman.com
Sun Dec 8 11:45:00 EST 2002


I have a filter which rejects foreign charsets.  But, there are some
mailing lists which I do not wish to reject.  Would the following be
correct for allowing anything from the *-admin at proftpd.org and
*@lists.sourceforge.net lists?

if ($Sender =~ /^<*\-admin\@proftpd.org>?$/ or
        $Sender =~ /^<*\@lists.sourgeforge.net>?$/) {
        } else {


Thanks,
Jeff
-- 
Jeff Grossman (jeff at stikman.com)





More information about the MIMEDefang mailing list