Re: [Exim] reject based on regex at SMTP time?

Top Page
Delete this message
Reply to this message
Author: Bruce Richardson
Date:  
To: exim-users
Subject: Re: [Exim] reject based on regex at SMTP time?
--
On Mon, Mar 22, 2004 at 03:12:23PM -0700, Elliot Finley wrote:
> is it possible to reject an email at SMTP time based on a regex matching the
> subject?


Yes. Add something like this to the smtp_data acl:

  reject    message = We don't like that kind of language around here
            condition = ${if match{$h_subject:} \
            {^Unpleasant subject} {yes} {no}}



--
Bruce

I object to intellect without discipline. I object to power without
constructive purpose. -- Spock
--
Content-Description: Digital signature

[ signature.asc of type application/pgp-signature deleted ]
--