[Rspamd-Users] One test configuration?

Marc Roos M.Roos at f1-outsourcing.eu
Fri Jun 26 08:46:10 UTC 2020


 
This looks very interesting. Milter with conditional language you 
configure from scratch. Now I am diverting to several milters from 
sendmail. With this I apply some conditional rules. Unfortunately no 
rpms available, but I think if tests are ok, I will make those
http://puszcza.gnu.org.ua/software/mailfromd/manual/html_chapter/index.html



-----Original Message-----
To: users
Subject: [Rspamd-Users] One test configuration?

 
> 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";
        }
    }
}


-- 
Users mailing list
Users at lists.rspamd.com
https://lists.rspamd.com/mailman/listinfo/users




More information about the Users mailing list