Am 13.02.2016 um 22:43 schrieb Vsevolod Stakhov <
vsev...@highsecure.ru>:
> Well, I've backported these changes to 1.1 stable branch as they seems
> to be quite straightforward.
Cool, I have received the updated packages about a week ago.
There seems to be a problem parsing the „real_hostname“ value. Here is the log excerpt when one message is processed:
Mar 2 20:02:04 stanke rspamd[24676]: (normal) <3d7acd>; task; accept_socket: accepted connection from 127.0.0.1 port 56824
Mar 2 20:02:04 stanke rspamd[24676]: (normal) <3d7acd>; task; rspamd_message_parse: loaded message; id: <E1abC28-...@stanke.wien>; queue-id: <undef>
Mar 2 20:02:04 stanke rspamd[24676]: (normal) lua_radix_get_key: rspamd{ip} is not valid
Mar 2 20:02:04 stanke rspamd[24676]: (normal) <3d7acd>; task; lua_metric_symbol_callback: call to (ONCE_RECEIVED) failed: /usr/share/rspamd/lua/once_received.lua:82: bad argument #1 to 'lower' (string expected, got nil); trace: [1]:{[C]:-1 - lower [C]}; [2]:{/usr/share/rspamd/lua/once_received.lua:82 - <unknown> [Lua]};
Mar 2 20:02:04 stanke rspamd[24676]: (normal) <3d7acd>; task; rspamd_task_write_log: id: <E1abC28-...@stanke.wien>, from: <logc...@stanke.wien>, (default: F (no action): [-3.09/15.00] [BAYES_HAM,MIME_GOOD]), len: 895, time: 213.790ms real, 3.174ms virtual, dns req: 5
The full message that has been processed above is this:
_____
Return-path: <logc...@stanke.wien>
Envelope-to: logc...@stanke.wien
Delivery-date: Wed, 02 Mar 2016 20:02:04 +0100
Received: from logcheck by stanke.wien with local (Exim 4.86)
(envelope-from <logc...@stanke.wien>)
id 1abC28-0006NE-1y
for logc...@stanke.wien; Wed, 02 Mar 2016 20:02:04 +0100
To: logc...@stanke.wien
Subject: stanke.wien 2016-03-02 20:02 +0100 System Events
Auto-Submitted: auto-generated
MIME-Version: 1.0 (mime-construct 1.11)
Message-Id: <E1abC28-...@stanke.wien>
From: logcheck system account <logc...@stanke.wien>
Date: Wed, 02 Mar 2016 20:02:04 +0100
X-Spam-Scanner: rspamc 1.1.4
X-Spam-Scan-Time: 0.214
X-Spam-Action: no action
X-Spam-Score: -3.09 / 15.00
X-Spam-Level:
X-Spam-Symbols: BAYES_HAM,MIME_GOOD
This email is sent by logcheck. If you no longer wish to receive
such mail, you can either deinstall the logcheck package or modify
its configuration file (/etc/logcheck/logcheck.conf).
System Events
=-=-=-=-=-=-=
Mar 2 19:02:03 stanke rspamd[24676]: (normal) lua_radix_get_key: rspamd{ip} is not valid
_____
As usual, if there is any additional information that I can contribute to help follow this up, I’ll do my best.
Regards,
Fabian