1 (edited by Thierry 2016-08-17 23:48:24)

Topic: (!)loading policy bank "MYUSERS": unknown field ""

==== Required information ====
- iRedMail version (check /etc/iredmail-release): Last
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: /var/log/maillog
====

Hi,

(05078-01) (!)loading policy bank "MYUSERS": unknown field ""
(05078-01) (!)loading policy bank "MYUSERS": unknown field "HASH(0x2235550)"

Checking the config in 50-users file.

# Apply to mails which coming from internal networks or authenticated users.
# mail supposedly originating from our users
$policy_bank{'MYUSERS'} = {
    # declare that mail was submitted by our smtp client
    originating => 1,

    # enables disclaimer insertion if available
    allow_disclaimers => 1,

    # notify administrator of locally originating malware
    virus_admin_maps => ["root\@$mydomain"],
    spam_admin_maps => [],
    bad_header_admin_maps => [],
    banned_admin_maps => ["root\@$mydomain"],

    # notify sender of malware
    warnbadhsender => 0,
    warnbannedsender => 0,

    # forward to a smtpd service providing DKIM signing service
    #forward_method => 'smtp:[127.0.0.1]:10027',

    # force MTA conversion to 7-bit (e.g. before DKIM signing)
    smtpd_discard_ehlo_keywords => ['8BITMIME'],

    # don't remove NOTIFY=SUCCESS option
    terminate_dsn_on_notify_success => 0,

    # don't perform spam/virus/header check.
    @bypass_spam_checks_maps => [1],
    #@bypass_virus_checks_maps => [1],
    #@bypass_header_checks_maps => [1],

    # allow sending any file names and types
    bypass_banned_checks_maps => [1],

    # Quarantine clean messages
    #clean_quarantine_method => 'sql:',
    #final_destiny_by_ccat => {CC_CLEAN, D_DISCARD},
};


I have changed nothing .... I am only "playing" with DKIM and dmarc ....
I have EFA in front of my iredmail.

Thx

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: (!)loading policy bank "MYUSERS": unknown field ""

Thierry wrote:

    # notify sender of malware
    warnbadhsender => 0,
    warnbannedsender => 0,

Try to comment out those two parameters, restart Amavisd service and try again.

Thierry wrote:

- iRedMail version (check /etc/iredmail-release): Last

The latest iRedMail doesn't have 'MYUSERS' policy bank at all, you're still running an old iRedMail release.
We ask for basic iRedMail server info to give you quicker, better, more accurate answer, don't be lazy.

3 (edited by Thierry 2016-08-18 11:44:49)

Re: (!)loading policy bank "MYUSERS": unknown field ""

I am running the last version of iredmail .... Means the version 0.9.5.1 .... Means the "Last" smile

Why do I have the "MYUSERS" ?? I don't know, I always follow your procedure on how to upgrade my email server.
I have commented out but still have the same problem:

Aug 18 05:43:45 zobe amavis[16447]: (16447-01) (!)loading policy bank "MYUSERS": unknown field "HASH(0x3526c70)"
Aug 18 05:43:45 zobe amavis[16447]: (16447-01) (!)loading policy bank "MYUSERS": unknown field ""

thx

4

Re: (!)loading policy bank "MYUSERS": unknown field ""

MYUSERS was removed since iRedMail-0.9.3, and mentioned in our upgrade tutorial:
http://www.iredmail.org/docs/upgrade.ir … ernal-user

Maybe you can comment it out directly to fix this issue?

I cannot figure out the issue by checking pasted snippet, it looks fine to me. Maybe you can try to comment out some parameters (one parameter each time) for testing? until you got the one.

5

Re: (!)loading policy bank "MYUSERS": unknown field ""

Seems to work.
Thx