I'd like to be able to reject mail that contains encrypted content. This is
to satisfy US FCC rules against encrypted content on amateur radio
frequencies. Some of our clients may connect via amateur radio.
I'd like to be able to restrict it only for certain clients. But, as I
understand it, header checks can only be applied globally, to all mail.
Sorry if this is a dumb question. But, unfortunately, I don't have any
experience with encrypted mail. From what I've read, I'm thinking I need:
main.cf:
mime_header_checks = pcre:${config_directory}/mime_header_checks.pcre
mime_header_checks.pcre:
# Block encrypted mail
/^Content-Type\:.*multipart\/encrypted/ REJECT Encrypted
content not allowed
Is that sufficient?
Any better ideas or other issues to consider?
Thanks,
Michael