R Robert_K New member Joined Sep 3, 2025 Messages 2 Sep 5, 2025 #1 Hello, It is possible to modify the subject of all incoming messages by adding the prefix [external] to them ?
Hello, It is possible to modify the subject of all incoming messages by adding the prefix [external] to them ?
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,847 Location www.poralix.com Sep 5, 2025 #2 Hello, Yes, it is. You might use this example https://www.root42.de/blog/?p=87 and adjust it for your case: Code: # Exim filter if "$h_to:" matches Nroot@.*.your.domain.deN then headers add "New-Subject: [System] $h_subject:" headers remove subject headers add "Subject: $h_new-subject:" headers remove new-subject endif p.s. This is an example, though it has valid lines for exim configuration, the files and paths specified in the guide are not suitable for servers with DirectAdmin.
Hello, Yes, it is. You might use this example https://www.root42.de/blog/?p=87 and adjust it for your case: Code: # Exim filter if "$h_to:" matches Nroot@.*.your.domain.deN then headers add "New-Subject: [System] $h_subject:" headers remove subject headers add "Subject: $h_new-subject:" headers remove new-subject endif p.s. This is an example, though it has valid lines for exim configuration, the files and paths specified in the guide are not suitable for servers with DirectAdmin.