This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dec 23 10:56:24 kvm kernel: [ 30.623533] BUG: unable to handle kernel NULL pointer dereference at (nil) | |
| Dec 23 10:56:24 kvm kernel: [ 30.623922] IP: [<ffffffffa08ad77a>] kvm_irqfd_release+0x2a/0xa0 [kvm] | |
| Dec 23 10:56:24 kvm kernel: [ 30.624158] PGD 0 | |
| Dec 23 10:56:24 kvm kernel: [ 30.624363] Oops: 0000 [#1] SMP | |
| Dec 23 10:56:24 kvm kernel: [ 30.624536] Modules linked in: vhost_net vhost macvtap macvlan tun ipt_MASQUERADE nf_nat_masquerade_ipv4 ebtable_filter ebtables iptable_nat xt_addrtype xt_conntrack br_netfilter ip6table_filter iptable_filter ip_tables loop nfsd auth_rpcgss nfs_acl bridge coretemp intel_powerclamp kvm_intel kvm iTCO_wdt iTCO_vendor_support psmouse lpc_ich hpilo serio_raw input_leds irqbypass led_class mfd_core acpi_power_meter pcspkr hpwdt ata_generic crc32_pclmul pata_acpi ghash_clmulni_intel pcc_cpufreq ipmi_ssif acpi_cpufreq openvswitch nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_nat nf_conntrack nfsv4 dns_resolver 802 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2017-01-20 15:56:19 #26110(configtest) <3ir1b9>; lua; rmilter_headers.lua:347: routine "authentication-results" does not exist | |
| 2017-01-20 15:56:19 #26110(configtest) <3ir1b9>; lua; rmilter_headers.lua:347: routine "x-spamd-bar" does not exist | |
| 2017-01-20 15:56:19 #26110(configtest) <3ir1b9>; lua; rmilter_headers.lua:347: routine "x-spam-level" does not exist | |
| 2017-01-20 15:56:19 #26110(configtest) <3ir1b9>; lua; rmilter_headers.lua:347: routine "x-spam-status" does not exist | |
| 2017-01-20 15:56:19 #26110(configtest) <3ir1b9>; lua; rmilter_headers.lua:351: no active routines |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rmilter_headers { | |
| use = ["authentication-results", "x-spamd-bar", "x-spam-level", "x-spam-status"]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| metadata_exporter { | |
| # The 'select' function selects messages of interest | |
| # If unset all messages are selected | |
| select = <<EOD | |
| function(task) | |
| -- Select all messages | |
| return true | |
| -- Returns true/false: if message is of interest | |
| end | |
| <<EOD; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| metadata_exporter { | |
| # The 'select' function selects messages of interest | |
| # If unset all messages are selected | |
| # select = <<EOD | |
| # function(task) | |
| # -- Select all messages | |
| # return true | |
| # -- Returns true/false: if message is of interest | |
| # end | |
| #EOD; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| metadata_exporter { | |
| pusher_enabled = ["http", "send_mail"]; | |
| pusher_format { | |
| http = "default"; | |
| send_mail = "email_alert"; | |
| } | |
| pusher_select { | |
| http = "is_reject"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| email_template = <<EOD | |
| From: "Rspamd" <{{ mail_from }}> | |
| To: <{{ mail_to }}> | |
| Subject: Quarantine report | |
| Date: {{ date }} | |
| MIME-Version: 1.0 | |
| Message-ID: {{ mid }} | |
| X-QueueID: {{ qid }} | |
| Content-type: text/plain; charset=iso-8859-15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| metadata_exporter { | |
| custom_format { | |
| mine = <<EOD | |
| function(task) | |
| local rspamd_logger = require "rspamd_logger" | |
| rspamd_logger.debugm('metadata_exporter', task, 'CUSTOM_FORMAT_MINE', data) | |
| local qid = task:get_queue_id() | |
| local content = task:get_content() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| custom_select { | |
| viruses = <<EOD | |
| return function(task) | |
| local symtab = task:get_symbols() | |
| for key,value in ipairs(symtab) do | |
| if key == "CLAMAV_VIRUS" then | |
| return true | |
| elseif key == "AVIRA_VIRUS" then | |
| return true | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group "anivirus" { | |
| symbol "CLAMAV_VIRUS" { | |
| description = "ClamAV virus or spam"; | |
| one_shot = true; | |
| } | |
| symbol "AVIRA_VIRUS" { | |
| description = "Avirs virus or spam"; | |
| one_shot = true; | |
| } | |
| } |