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

Góra strony
Delete this message
Reply to this message
Autor: Ralf G. R. Bergs
Data:  
Dla: exim-users ML
Temat: [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      ^^-^^