[Mimedefang] Perl Expression Question

Jeff Grossman jeff at stikman.com
Mon Dec 9 10:07:02 EST 2002


on 12/8/02 9:48 PM, listuser at neo.pittstate.edu at listuser at neo.pittstate.edu
wrote:

> I would imagine you would put the actual foreign charset check in the
> false and a return statement for the true condition.  ie
> 
> 
> if ($Sender =~ /-admin\@proftpd\.org>?$/i or
>   $Sender =~ /\@lists\.sourgeforge\.net>?$/i) {
> # Allow
> return 0;
> } else {
> # Reject foreign charsets
> Fancy charset checking code or the call for it goes here.
> }
> 
> That would be my take on it

Thanks.  I will give it a go and see what happens.

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




More information about the MIMEDefang mailing list