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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Bruce Richardson
日付:  
To: exim-users
題目: 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 ]
--