Content-filter and unsolicited bulk e-mail
After an Amavis upgraded my e-mail system started to have a strange behavior. A lot of emails sent internally from one user to another stopped with the following message:
——– Original Message ——–
Subject: Considered UNSOLICITED BULK EMAIL, apparently from youis considered local.
Date: Tue, 13 Mar 2010 00:13:39 +0200 (EET)
From: Content-filter at xxx13.randombugs.com
A message from
was considered unsolicited bulk e-mail (UBE).
Our internal reference code for your message is 00311-13/npX-RCahiLdc
The message carried your return address, so it was either a genuine mail
from you, or a sender address was faked and your e-mail address abused
by third party, in which case we apologize for undesired notification.
[… bla bla …]
Delivery of the email was stopped!
Because the error e-mail is coming from my Content-Filter I started to look on Amavis configuration, because something has been changed in that part.
After some digging in Amavis configuration I just added
@local_domains_maps = ( read_hash("/etc/amavis/local_domains") );
I also create local_domains file and add my domains 1 per line, like in the following example:
If you have MX subdomains you can add them in the following way
Now just restart the Amavis.
All virtual domains, what you have on your machine, should be declared as local domains, because Amavis consider this domains recipients as external and not local.