>> Hi there.
>>
>> Thanks to your hint, i managed to remove the wanted headers.
>>
>> By placing the variables headers_add and headers_remove in 
>> /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp, the headers are 
>> modified as wanted.
>>
>> But, this only works on smtp connections. Unfortunately dis does not apply 
on 
>> local users. If user1 sends a mail to user2 on the same system, the headers 
>> are not modified.
>>
>> How can i tell exim to modify the headers systemwide?
>>
>> Thank you very much in advance!!!

> set the same values on all the other transports.

> using a macro for the value and defining the macro in a central location
> ( eg: /etc/exim4/conf.d/main/00_local_config ) will make administration
> easier.


Thank you very much for your post.

I will try the central configuration also, at the moment i did modify these 
files with removed and added headers. At the moment beeing, i am very happy 
with this configuration!
I hope this helps others, who want to modify their headers.

Kind regards!

 /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp 

/etc/exim4/conf.d/router/900_exim4-config_local_user

/etc/exim4/conf.d/router/mmm_mail4root

/etc/exim4/conf.d/router/200_exim4-config_primary

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

Reply via email to