Received: from header and RBL/SBL list problem

44 views
Skip to first unread message

eduard.c...@gmail.com

unread,
Mar 27, 2017, 8:26:23 AM3/27/17
to rspamd
Hello

I have been contacted by client, who said that emails that they send to our mail server is always marked as spam. I found out that they use mail.ru mail service which add Received: from headers to the message, if this message is sent via regular mail client like Outlook or mozilla thunderbird. So I have two Received: from headers in this messages. One is formed by my email server, In this header I get IP address of mail.ru SMTP server. In the second header I get clients IP address that they use to connect to mail.ru SMTP server. RSPAMD is checking both these headers in SBL/RBL list, and the message get bad score by IP address that client used to connect to mail.ru (this ip is listed in XBL list)

Is it possible to make RSPAMD to check RBL/SBL only for IP addressed that was used to connect to my email server, and skip any other IP addresses in a headers?


Eduard

Andrew Lewis

unread,
Mar 27, 2017, 8:44:27 AM3/27/17
to rsp...@googlegroups.com
Hi Eduard,

> Is it possible to make RSPAMD to check RBL/SBL only for IP addressed that
> was used to connect to my email server, and skip any other IP addresses in
> a headers?

That is the default behaviour for most RBLs. The exception is
`RECEIVED_SPAMHAUS_XBL` - you could disable this RBL or zero its score
if it causes you trouble, see footnote here:
https://rspamd.com/doc/modules/rbl.html

Best,
-AL.

Reply all
Reply to author
Forward
0 new messages