R Robert_K New member Joined Sep 3, 2025 Messages 2 Friday at 3:07 AM #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 Friday at 9:49 AM #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.
R Robert_K New member Joined Sep 3, 2025 Messages 2 Saturday at 12:06 AM #3 Hello, Thank you, it works