Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I turn off "UNCHECKED contents in mail FROM" mails send by amavis to the postmaster of the domain every time a user sends an encrypted mail. The setup is a Debian 7 with postfix and amavisd.

share|improve this question
up vote 5 down vote accepted

You can use the parameter %admin_maps_by_ccat to define whom amavisd-new sends Mails for each of its categories. With undef you can disable the mails.

So you have to define a setting like the following if you don't want to get mails for all "unchecked" mails:

$admin_maps_by_ccat{+CC_UNCHECKED} =  undef;

To only do this for UNCHECKED-ENCRYPTED use this (for amavis 2.9.0, found via release notes):

$admin_maps_by_ccat{+CC_UNCHECKED.',1'} = undef;
share|improve this answer
While this works it appears it disables notifications for any unchecked messages, which also includes messages that exceed size limits or contain corrupt archives in attachments. From a brief look at the code I couldn't see an obvoius way to distinguish UncheckedEncrypted from simply Unchecked. Any ideas? – JinnKo Jan 30 at 0:54
@JinnKo I think I found a way, see my (pending) edit above. – blueyed Mar 23 at 14:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.