[Mimedefang] How can I get just the domain from $sender

James Ebright jebright at esisnet.com
Wed Feb 23 09:34:36 EST 2005

On Wed, 23 Feb 2005 10:21:25 +0200, Jonathan Maliepaard wrote
> I
> now realise that I have a second domain that I need to add the same
> disclaimer to. With my limited knowledge I realise I can repeat the
> statement above with a different domain, but I would prefer to have a
> more elegent solution (in the interests of keeping the mimedefang-filter
> file as concise as possible) using some kind of "or" statement as in:

 if (($Sender =~ /\@abc\.com>?$/i) || ($Sender =~ /\@xyz\.com>?$/i)) { 

EsisNet.com Webmail Client

More information about the MIMEDefang mailing list