On Sun, 6 Aug 2006 16:26:40 -0400 My BSD wrote:
> Verizon Wireless' notifications to its subscriber of the availability of
> its monthly bill do not contain a date header.  As a result, the
> messages get buried by the MUA when sorted by ascending date.
> 
> After reading "Filters.txt" and referring to the Spec, I wrote the
> following very simple System Filter:
> 
> ---------------------------------------------
> # Exim Filter
> #
> if      $message_headers contains  "^Date:"
> then
> else    headers add "Date: $tod_full"
> endif
> #
> ---------------------------------------------
> 
> This filter seems to work O.K.
> 
> Just wandering if there is a more elegant way to go about it?

I do it this way in the acl_smtp_data ACL:

  warn    condition = ${if !def:h_Message-Id: {1}}
          add_header = Message-Id: <[EMAIL PROTECTED]> (auto-added)
          log_message = Added Message-Id <[EMAIL PROTECTED]>


--Frank Elsner


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to