extended_spam_headers and X-Spam-Report

738 views
Skip to first unread message

Emanuel Gonzalez

unread,
Aug 30, 2018, 2:37:31 PM8/30/18
to rspamd
Hello, I'm already testing my infrastructure balanced with Rspamd and Exim, the truth is that it works great, all the junk mail is filtered on the spot.


I have a question with the header "X-Spam-Report" is it possible to add the name of the server in this field? How does spamassassin do it?

X-Spam-Score: -102.0
X-Spam-Score-Int: -1020
X-Spam-Bar: ---------------------------------------------------
X-Spam-Report: Action: no action
 Symbol: ARC_NA(0.00)
 Symbol: FROM_HAS_DN(0.00)
 Symbol: R_SPF_ALLOW(-0.20)
 Symbol: DONWEB_WL_FROM(-100.00)
 Symbol: MIME_GOOD(-0.10)
 Symbol: FREEMAIL_FROM(0.00)
 Symbol: DMARC_NA(0.00)
 Symbol: RCPT_COUNT_ONE(0.00)
 Symbol: RCVD_COUNT_THREE(0.00)
 Symbol: IP_SCORE(-1.71)
 Symbol: TO_MATCH_ENVRCPT_ALL(0.00)
 Symbol: MX_GOOD(0.00)
 Symbol: RCVD_IN_DNSWL_NONE(0.00)
 Symbol: TO_DN_EQ_ADDR_ALL(0.00)
 Symbol: FROM_EQ_ENVFROM(0.00)
 Symbol: R_DKIM_NA(0.00)
 Symbol: FREEMAIL_ENVFROM(0.00)
 Symbol: ASN(0.00)
 Symbol: RCVD_TLS_LAST(0.00)
 Message: (SPF): spf allow
 Message-ID:

In a SpamAssassin print this:

X-Spam-Report: Spam detection software, running on the system "myserver6",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.

Any ideas?

Emanuel Gonzalez

unread,
Aug 30, 2018, 2:58:51 PM8/30/18
to rspamd
I try create a routine in the milter_headers.conf but not work.

routines {
  add-headers {
    headers {
      X-Rspamd-Server = "foo";
    }
  }
}

Alexander Moisseev

unread,
Aug 31, 2018, 9:58:11 AM8/31/18
to rsp...@googlegroups.com
On 30.08.2018 21:58, Emanuel Gonzalez wrote:
> I try create a routine in the milter_headers.conf but not work.
>
> routines {
> add-headers {
> headers {
> X-Rspamd-Server = "foo";
> }
> }
> }
>
>
> El jue., 30 de ago. de 2018 a la(s) 15:37, Emanuel Gonzalez (ema...@gmail.com <mailto:ema...@gmail.com>) escribió:
>
> Hello, I'm already testing my infrastructure balanced with Rspamd and Exim, the truth is that it works great, all the junk mail is filtered on the spot.
>

I'm afraid Milter headers module is not supposed to work with Exim.

Emanuel Gonzalez

unread,
Aug 31, 2018, 11:26:27 AM8/31/18
to Alexander Moisseev, rspamd
Is it possible to add a header in all emails through rspamd?

--
You received this message because you are subscribed to the Google Groups "rspamd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/rspamd.

Emanuel Gonzalez

unread,
Sep 3, 2018, 1:56:05 PM9/3/18
to rspamd
in my infrastructure I have more than two servers to analyze emails, so it would be very useful to add a header to all the emails analyzed.

I hope you can add it in future updates.

Regards,

Marc Risse

unread,
Sep 4, 2018, 12:18:32 PM9/4/18
to rspamd
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
It is possible to have the Servername in the headers:


X-Rspamd-Queue-Id: F04194739F
X-Spamd-Bar: +++
X-Spamd-Result: default: False [3.27 / 10.00];
	 ARC_NA(0.00)[];
	 RCVD_COUNT_FIVE(0.00)[6];
	 URIBL_BLOCKED(0.00)[xxx.de.multi.uribl.com];
	 FROM_HAS_DN(0.00)[];
	 R_SPF_ALLOW(1.00)[+ip4:185.41.xxx/32];
	 TO_MATCH_ENVRCPT_ALL(0.00)[];
	 MIME_GOOD(-0.10)[text/plain];
	 PREVIOUSLY_DELIVERED(0.00)[marc@marcxxxx];
	 RCPT_COUNT_ONE(0.00)[1];
	 IP_SCORE(0.45)[ip: (0.86), ipnet: 185.41.xx.0/23(0.80), asn: 201xx(0.49), country: DE(0.10)];
	 TO_DN_ALL(0.00)[];
	 MX_GOOD(-0.50)[mx2.xxx.net,mx1.xxx.net];
	 DMARC_POLICY_ALLOW(0.50)[xxx.de,none];
	 NEURAL_SPAM_SHORT(0.92)[0.460,0];
	 FROM_EQ_ENVFROM(0.00)[];
	 R_DKIM_NA(1.00)[];
	 RCVD_TLS_LAST(0.00)[];
	 ASN(0.00)[asn:201xxx, ipnet:185.41.xxx.0/23, country:DE];
	 MID_RHS_MATCH_FROM(0.00)[]
X-Rspamd-Server: relayxxx





Emanuel Gonzalez

unread,
Sep 5, 2018, 9:57:46 AM9/5/18
to ma...@risse.email, rspamd
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
Do you use exim? 

Marc Risse

unread,
Sep 5, 2018, 10:14:49 AM9/5/18
to rspamd
Am Mittwoch, 5. September 2018 15:57:46 UTC+2 schrieb Emanuel Gonzalez:
Do you use exim? 


No, I'm not. But rspamd will add these headers, so it does not depend on your MTA

Vsevolod Stakhov

unread,
Sep 5, 2018, 10:50:00 AM9/5/18
to Marc Risse, rspamd
Rspamd does NOT add any headers to a message. It's the question of MTA
interaction. Exim developers are reluctant to adopting of the modern
protocol when interacting with Rspamd. I'm not going to add any new
features to Exim interaction as well unless there is a positive motion
towards sane Rspamd support from the Exim side.

Emanuel Gonzalez

unread,
Sep 5, 2018, 11:06:09 AM9/5/18
to Vsevolod Stakhov, ma...@risse.email, rspamd
f*** exim 😖

Regards.!!

Reply all
Reply to author
Forward
0 new messages