--- /dev/null
+arc {
+ sign_networks = [127.2.4.7];
+}
+
+dkim_signing {
+ sign_networks = [127.2.4.7];
+}
+
+options {
+ local_addrs = [127.2.4.7];
+}
rrd = "${DBDIR}/rspamd.rrd";
# Local networks
-local_addrs = "192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, fd00::/8, 169.254.0.0/16, fe80::/10";
+local_addrs = [192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, fd00::/8, 169.254.0.0/16, fe80::/10];
hs_cache_dir = "${DBDIR}/";
.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";
$ip = $2;
}
}
+ elsif ( $elt =~ /^S (?:<([^>]+)> )?(?:DSN|GROUP|LIST|PBX|PIPE|RULE) \[0\.0\.0\.0\]/ ) {
+ if ($1) {
+ $user = $1;
+ }
+ $ip = '127.2.4.7';
+ }
}
my $headers = {};