Topic: Disclaimer Amavis
==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.4
- Linux/BSD distribution name and version: Centos 7.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Good morning,
I configured disclaimer amavis and works well when the emails originate from the internal LAN (192.168.x.x), but it does not work when the emails come from outside LAN with smartphone or tablet from internet.
From LAN in the header i can find :
X-Amavis-Modified: Mail body modified (using disclaimer) -
iredmail-server.xxxxxxxx.it
X-Virus-Scanned: amavisd-new at iredmail-server.xxxxxxxx.it
From INTERNET in the header i can find :
X-Virus-Scanned: amavisd-new at iredmail-server.xxxxxxxx.it
In amavisd.conf i have :
@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
10.x.x.x/8 172.16.x.x/12 192.168.x.x/16 );
$policy_bank{'MYNETS'} = {
allow_disclaimers => 1
};
$policy_bank{'ORIGINATING'} = {
allow_disclaimers => 1
};
Thank you
Mark
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.