Re: [Exim] Date header line not added in 4.30

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: David Woodhouse
Data:  
Para: Kevin Reed
CC: exim-users
Assunto: Re: [Exim] Date header line not added in 4.30
On Sun, 2003-12-21 at 22:16 -0700, Kevin Reed wrote:
> From the ChangeLog for Exim 4.30:
>
> 56. Exim used to add From:, Date:, and Message-Id: header lines to
> any incoming messages that did not have them. Now it does so only
> if the message originates locally, that is, if there is no
> associated remote host address.


When I connect from localhost there's no associated remote host address;
only an associated _local_ host address :)

You can add Message-ID: and Date: headers for selected hosts (including
localhost) in an ACL. You could do it for From: too if you wanted, but
make sure you handle bounces properly. The header 'From: <>' isn't
valid.

  warn  hosts = +relay_hosts
    condition = ${if !def:h_Message-ID: {1}}
    message = Message-ID: <E$message_id@$primary_hostname>
  warn  hosts = +relay_hosts
    condition = ${if !def:h_Date: {1}}
    message = Date: $tod_full


--
dwmw2