Score:0

proxy_content_filter and opendmarc milter at proxy smtpd

br flag

I set up the proxy_content_filter to inet:127.0.0.1:10025 and in master.cf: ##(DKIM: 8891, DMARC: 54321)

127.0.0.1:10025 inet n - n - - smtpd
...
smtpd_milters=inet:localhost:8891,inet:localhost:54321
...

and in logs opendmarc running too early:

Jul 23 12:42:07 mail postfix/smtpd[10474]: NOQUEUE: client=test.com[192.168.1.1]
Jul 23 12:42:07 mail postfix/10025/smtpd[10482]: connect from localhost[127.0.0.1]
Jul 23 12:42:07 mail opendmarc[5415]: ignoring connection from localhost
Jul 23 12:42:07 mail postfix/10025/smtpd[10482]: 989FA60982: client=localhost[127.0.0.1], orig_client=test.com[192.168.1.1]

I want to opendmarc was after orig_client to check real client IP. What am I doing wrong ? Maybe proxy_content_filter should connect to real filter and after filtering inject to postfix on another port example 10026 ?

anx avatar
fr flag
anx
Depending on your setup, it may be appropriate to attach the milter to a different smtpd instance, or pass the information you want through the XCLIENT/XFORWARD mechanisms.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.