[Rspamd-Users] headers inside DATA part

Igor Smitran viruslaki at gmail.com
Mon Jul 20 10:33:37 UTC 2020

Hi list,

I am new with rspamd so please forgive me if it's stupid what i am about 
to ask :)

I am installling new server, postfix+dovecot-lda+rspamd+...

It is debian based server with rspamd installed from repo:

rspamd - 2.5-156~buster amd64 [installed]

and on postfix server:

postfix - 3.4.10-0+deb10u1 amd64

It looks like RSPAMD adds headers inside DATA part, which is not very 
nice, here is mail in raw format:


Return-Path: <hidden>
X-Original-To: hidden
Delivered-To: hidden
Received: from [*.*.*] (hidden [*.*.*])
     (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
      key-exchange X25519 server-signature RSA-PSS (2048 bits))
     (No client certificate requested)
     (Authenticated sender: hidden)
     by hidden (Postfix) with ESMTPSA id 65B2720060A7
     for <hidden>; Mon, 20 Jul 2020 10:35:09 +0200 (CEST)
From: hidden
Subject: test rspamd headers
To: hidden
Date: Mon, 20 Jul 2020 10:35:09 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Spam-Status: No, score=-0.10

test content


As you can see, X-Spam-Status is inside DATA part. Am i doing something 
wrong or...?

Postfix and rspamd are on two different machines and postfix is using 
milter to talk to rspamd:

# milter RSPAMD
milter_protocol = 6
milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
milter_default_action = accept
smtpd_milters = inet:rspamd_ip:11332
non_smtpd_milters = inet:rspamd_ip:11332

rspamd milter config is default except:

skip_local = false;
extended_spam_headers = false;
skip_authenticated = false;
#use = ["x-spamd-bar", "x-spam-level", "authentication-results"];
use = ["x-spam-level","x-spam-status","spam-header"];

Thank you

More information about the Users mailing list