Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: Laurent Dinclaux on May 26, 2017, 02:35:08 am

Title: Mailfilter module not configuring amavis at all
Post by: Laurent Dinclaux on May 26, 2017, 02:35:08 am
After enabling the mail filter the default /etc/amavis/conf.d is moved to /etc/amavis/conf.d.old and a single file is created by zentyal in conf.d : 01-zentyal

The issue is that this file is mostly  empty:

Code: [Select]
# Turn on SpamAssassin debugging (output to STDERR, use with 'amavisd debug')
$sa_debug = 0;

#-------------
1;  # insure a defined return



#Sections:
# Section I    - Essential daemon and MTA settings
# Section II   - MTA specific
# Section III  - Logging
# Section IV   - Notifications/DSN, BOUNCE/REJECT/DROP/PASS destiny, quarantine
# Section V    - Per-recipient and per-sender handling, whitelisting, etc.
# Section VI   - Resource limits
# Section VII  - External programs, virus scanners, SpamAssassin
# Section VIII - Debugging










#
















I tried on a fresh install on a VM and the same issue occurs.
Title: Re: Mailfilter module not configuring amavis at all
Post by: Laurent Dinclaux on May 26, 2017, 03:21:31 am
As an alternative you can disable the module or remove it  and enable a custom filter as explained here (https://forum.zentyal.org/index.php/topic,30522.msg105323.html#msg105323).