[Rspamd-Users] Multimap received filter by hostname

Emanuel Gonzalez emanuel_gonzalez at live.com.ar
Tue Mar 3 22:35:05 UTC 2020


I read the documentation for received maps, i have a doubt for min_pos and max_pos

Return-path: <emanuel at emadns.tk>
Envelope-to: emanuel at emadns.tk
Delivery-date: Mon, 02 Mar 2020 12:31:55 -0300
Received: from [] (helo=mail-il1-f180.google.com)
by server.dattaweb.com with esmtpsa  (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.93)

I need add in whitelist the hostname dattaweb.com, I can't find the right position.

        type = "received";
        filter = "by_hostname";
        map = "${LOCAL_CONFDIR}/local.d/rcvd_is_dattaweb.map.inc";
        regexp = true;
        min_pos = 1;

# rcvd_is_dattaweb.map.inc


Thans for the reply.

More information about the Users mailing list