# rspamd stuff#smtpd_milters = unix:/var/lib/rspamd/milter.socksmtpd_milters = inet:localhost:11332milter_protocol = 6milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}# skip mail without checks if something goes wrongmilter_default_action = accept
# local.d/worker-proxy.incmilter = yes; # Enable milter modetimeout = 120s; # Needed for Milter usuallystrict_auth = yes; strict scan for mails from authenticated users, needed for outgoing dkim signingupstream "local" { default = yes; # Self-scan upstreams are always default self_scan = yes; # Enable self-scan}
# Included from top-level .conf file
filters = "chartable,dkim,spf,surbl,regexp,fuzzy_check";raw_mode = false;one_shot = false;cache_file = "$DBDIR/symbols.cache";# How often maps are checked (map_watch_interval = 5min;dynamic_conf = "$DBDIR/rspamd_dynamic";history_file = "$DBDIR/rspamd.history";check_all_filters = false;dns { timeout = 1s; sockets = 16; retransmits = 5;}tempdir = "/tmp";url_tld = "${PLUGINSDIR}/effective_tld_names.dat";classify_headers = [ "User-Agent", "X-Mailer", "Content-Type", "X-MimeOLE",];
control_socket = "$DBDIR/rspamd.sock mode=0600";history_rows = 200;explicit_modules = ["settings"];
# Scan messages even if they are not MIMEallow_raw_input = true;
# Start ignore words when reaching the following limit, so the total# amount of words processed will not be *LIKELY more than the twice of that limitwords_decay = 200;
# Write statistics about rspamd usage to the round-robin databaserrd = "${DBDIR}/rspamd.rrd";
# Local networkshs_cache_dir = "${DBDIR}/";
# local.d/dkim_signing.conf
# If false, messages with empty envelope from are not signedallow_envfrom_empty = true;# If true, envelope/header domain mismatch is ignoredallow_hdrfrom_mismatch = false;# If true, multiple from headers are allowed (but only first is used)allow_hdrfrom_multiple = false;# If true, username does not need to contain matching domainallow_username_mismatch = false;# If false, messages from authenticated users are not selected for signingauth_only = true;# Default path to key, can include '$domain' and '$selector' variablespath = "/var/lib/rspamd/dkim/$domain.$selector.key";# Default selector to useselector = "default";# If false, messages from local networks are not selected for signingsign_local = true;# Symbol to add when message is signedsymbol = "DKIM_SIGNED";# Whether to fallback to global configtry_fallback = true;# Domain to use for DKIM signing: can be "header" or "envelope"use_domain = "header";# Whether to normalise domains to eSLDuse_esld = true;# Whether to get keys from Redisuse_redis = false;# Hash for DKIM keys in Rediskey_prefix = "DKIM_KEYS";# map of domains -> names of selectors (since rspamd 1.5.3)#selector_map = "/etc/rspamd/dkim_selectors.map";# map of domains -> paths to keys (since rspamd 1.5.3)#path_map = "/etc/rspamd/dkim_paths.map";
# Domain specific settingsdomain { # Private key path path = "/etc/opendkim/keys/$domain.$selector.key"; # Selector selector = "default"; }}
2017-09-27 13:37:59 #20956(rspamd_proxy) <c5fca5>; milter; rspamd_milter_process_command: got connection from 209.85.214.44:565842017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; rspamd_message_parse: loaded message; id: <CAFcEvYH0WAmEBQLtc_j+rYgV...@mail.gmail.com>; queue-id: <DB5F3170004F>; size: 1393; checksum: <cca042cd53654e5d199c9d74b3ed72fa>2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; spf_symbol_callback: skip SPF checks for local networks and authorized users2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; dkim_symbol_callback: skip DKIM checks for local networks and authorized users2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; fuzzy_generate_commands: <CAFcEvYH0WAmEBQLtc_j+rYgV...@mail.gmail.com>, part is shorter than 1000 bytes: 152 (76 * 2.00 bytes), skip fuzzy check2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; fuzzy_generate_commands: <CAFcEvYH0WAmEBQLtc_j+rYgV...@mail.gmail.com>, part is shorter than 1000 bytes: 144 (72 * 2.00 bytes), skip fuzzy check2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; lua; once_received.lua:82: Skipping once_received for authenticated user or local network2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; surbl; surbl_test_url: disable surbl multi.uribl.com as it is reported to be offline2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; lua; dmarc.lua:241: skip DMARC checks for local networks and authorized users2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; rspamd_task_write_log: id: <CAFcEvYH0WAmEBQLtc_j+rYgV...@mail.gmail.com>, qid: <DB5F3170004F>, ip: 209.85.214.44, user: simonszu@myhostname, from: <ma...@simonszu.de>, (default: F (no action): [-0.10/15.00] [MIME_GOOD(-0.10){multipart/alternative;text/plain;},ARC_NA(0.00){},ASN(0.00){asn:15169, ipnet:209.85.128.0/17, country:US;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},PREVIOUSLY_DELIVERED(0.00){test-a...@appmaildev.com;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_TWO(0.00){2;},RCVD_NO_TLS_LAST(0.00){},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 1393, time: 64.000ms real, 21.522ms virtual, dns req: 0, digest: <cca042cd53654e5d199c9d74b3ed72fa>, rcpts: <test-a...@appmaildev.com>, mime_rcpt: <test-a...@appmaildev.com>2017-09-27 13:38:00 #20956(rspamd_proxy) <c5fca5>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 2 regexps matched, 163 regexps total, 78 regexps cached, 0B bytes scanned using pcre, 1.22k bytes scanned total2017-09-27 13:38:00 #20956(rspamd_proxy) <75377f>; proxy; proxy_milter_finish_handler: finished milter connection