[Exim] Force new (valid) Exim-style message id from system f…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Ralf G. R. Bergs
Fecha:  
A: exim-users ML
Asunto: [Exim] Force new (valid) Exim-style message id from system filter?
Hi there,

can you please comment on the following approach to "overwrite" locally (i.e. by
machines in my LAN) generated (and possibly faulty) message ids by Exim-
generated (valid) ones?

  if ${mask:$sender_host_address/24} is "192.168.2.0/24" then
    headers remove Message-ID
    headers add "Message-ID: $message_id@$primary_hostname"
  endif


Is this a clever approach? Or am I overseeing something?

Thanks,

Ralf


--
   L I N U X       .~.
  The  Choice      /V\
   of a  GNU      /( )\
  Generation      ^^-^^