Re: [exim] Discard mail to certain recipients if the subject…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: George L. Yermulnik
日付:  
To: exim-users
題目: Re: [exim] Discard mail to certain recipients if the subject matches a string
Hello!

On Thu, 06 Apr 2017 at 13:57:36 (+0300), Александр Кириллов via Exim-users wrote:

> condition = ${if match {$h_subject:}{Commit.by}}


> I probably spent more time trying to figure out how to match a single space
> in "Commit by" and didn't succeed yet. This is a minor thing but I would
> like to know the answer and go to bed a happy man. )


Literally "Commit by" should work (RHS is treated as a regex):
    condition = ${if match {$h_subject:}{Commit by}}


--
George L. Yermulnik
[YZ-RIPE]