On 02/12/2019 12:12, Linkcheck wrote: > Thanks, but I already had that. Although I had the "v" before the daemon_addr > when I first tried it... > milter_connect_macros="i j {daemon_name} v {daemon_addr} _" > > I have now tried it with the v where you suggest it but still gives > UNPARSEABLE_RELAY. Also, I understand the quotes are essential because the > line includes spaces?
spamass-milter needs the _ macro to construct a valid ‘Received’ header line for SpamAssassin. Try ‘postconf -d milter_connect_macros’ to see the default setting. $ postconf -d | grep milter_connect_macros milter_connect_macros = j {daemon_name} {daemon_addr} v Then add the _ macro to that setting (no quotes, order doesn’t matter). I gave my setting in my earlier message. You’re using an old version of Postfix, so yours will be different. In any case no hack should be necessary, it is a config issue. Cheers,