Re: [exim] Blank Message-ID:

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Fred Viles
日付:  
To: exim-users
題目: Re: [exim] Blank Message-ID:
On 11 Oct 2005 at 22:44, Luke Diamand wrote about
    "[exim] Blank Message-ID:":


|
| Is there any way to strip out the Message-ID: header from incoming
| emails if it is empty?


untested:

   headers_remove = ${if def:h_message-id:\
        {${if eq{$h_message-id:}{}{message-id}fail}}fail}


The expansion is forced to fail, meaning the option has no effect, if
the header doesn't exist or is not empty.

- Fred