[Rspamd-Users] One test configuration?

Marc Roos M.Roos at f1-outsourcing.eu
Tue Jun 23 16:14:10 UTC 2020


 
> It would be great if we could go back to the purpose of this mailing 
> list - exchange on technical issues regarding rspamd.

Yes I agree, does anyone a working config that does just one test? The 
one below does nothing.

[1]
#.include "$CONFDIR/common.conf"

options {
    pidfile = "$RUNDIR/rspamd.pid";
    tempdir = "/tmp";
#    .include "$CONFDIR/options.inc"
#    .include(try=true; priority=1,duplicate=merge) 
"$LOCAL_CONFDIR/local.d/options.inc"
#    .include(try=true; priority=10) 
"$LOCAL_CONFDIR/override.d/options.inc"
}

#.include(try=true; duplicate=merge) "$CONFDIR/cgp.inc"
#.include(try=true; priority=1,duplicate=merge) 
"$LOCAL_CONFDIR/local.d/cgp.inc"


logging {
    type = "file";
    filename = "$LOGDIR/rspamd.log";
    level = "debug";
    .include "$CONFDIR/logging.inc"
    .include(try=true; priority=1,duplicate=merge) 
"$LOCAL_CONFDIR/local.d/logging.inc"
    .include(try=true; priority=10) 
"$LOCAL_CONFDIR/override.d/logging.inc"
}

# for command line, sendmail will only use the proxy worker "normal" {
    bind_socket = "localhost:11333";
    .include "$CONFDIR/worker-normal.inc"
    .include(try=true; priority=1,duplicate=merge) 
"$LOCAL_CONFDIR/local.d/worker-normal.inc"
    .include(try=true; priority=10) 
"$LOCAL_CONFDIR/override.d/worker-normal.inc"
}

worker "rspamd_proxy" {
    bind_socket = "localhost:11332";
    .include "$CONFDIR/worker-proxy.inc"
    .include(try=true; priority=1,duplicate=merge) 
"$LOCAL_CONFDIR/local.d/worker-proxy.inc"
    .include(try=true; priority=10) 
"$LOCAL_CONFDIR/override.d/worker-proxy.inc"
}

actions {
    greylist = 4;
    rewrite_subject = 6;
    add_header = 6;
    reject = 15;
}

#lua = "/usr/share/rspamd/rules/rspamd.lua";
#lua = "/usr/share/rspamd/plugins/rbl.lua";
modules {
    path = "/usr/share/rspamd/plugins";
    try_path = "/etc/rspamd/plugins.d/";
    fallback_path = "/usr/share/rspamd/lua"; }

rbl {
    default_exclude_users = true;
    default_received = false;
    default_unknown = true;
    default_from = true;
    rbls {
        virusfree {
            returncodes {
                RBL_VIRUSFREE_BOTNET = "127.0.0.2";
            }
            rbl = "bip.virusfree.cz";
            ipv6 = false;
            symbol = "RBL_VIRUSFREE_UNKNOWN";
        }
    }
}




More information about the Users mailing list