Il 2021-11-05 11:37 Dominic Raferd ha scritto:
I think you need to ensure that the rule runs only for Subject:
headers, escape square brackets in the if clause, and cover the
possibility of no space after 'Subject:' (note: all untested):

if /^Subject:/i
if !/^Subject: \[EXTERNAL\]/i
/^Subject: ?(.+)/i REPLACE Subject: [EXTERNAL] $1
endif
endif

Good points!
Thanks for sharing.

--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.da...@assyoma.it - i...@assyoma.it
GPG public key ID: FF5F32A8

Reply via email to