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