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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Bruce Richardson
Date:  
À: exim-users
Sujet: 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 ]
--