Any postfix/altermime experts out there? I've got altermime installed on my postfix server and have it setting a disclaimer on all emails. Its working great except I cant figure out a way to only apply it to externally sent emails. Basically I want the disclaimer to be applied to all emails except the ones that go to example.com domain. Is there a way to do that? Appreciate any insight...
You can handle that with Postfix header checks — just skip altermime when the recipient matches @example.com. Something like: /@example\.com$/ FILTER skip_disclaimer That way, internal emails stay clean while external ones get the disclaimer.