[opendmarc-users] Solved: Problem setting up OpenDMARC on Fedora 23 for sendmail

Janina Sajka janina at rednote.net
Mon Jan 4 17:13:22 PST 2016


OK. Scraping egg off my face and looking at the file in Firefox instead
of Lynx set me on the straight and narrow.

Yes, I still like lynx and it mostly works for tech docs,. I should have
caught this bit of javascript, as I've seen this before, however not
often.

Sorry for the noise, but your question about the brackets was the nudge
I apparently needed, so thanks for that!

Janina

In case anyone cares, the relevant bit of code in the web document:

<pre class="brush:shell">INPUT_MAIL_FILTER(`opendmarc', `S=inet:<a
class="__cf_email__" href="/cdn-cgi/l/email-protection"
data-cfemail="261e1e1f1566171411081608160817">[email+ protected]</a><script
data-cfhash='f9e31' type="text/javascript">
/* <![CDATA[ */!function(){try{var t="currentScript"in
document?document.currentScript:function(){for(var
t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].get+Attribute("data-cfhash"))return
t[e]}();if(t&&t.previousSibling){var
e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),+n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}t.parentNode.removeChild(t);}}catch(u+){}}()/*
]]> */</script>')</pre>

Steven M Jones writes:
> On 01/04/2016 15:18, Janina Sajka wrote:
> > "Sendmail Users:
> >
> >    Edit the .mc configuration file that was used to build your current
> >    sendmail.cf file. Add the following line:
> >    INPUT_MAIL_FILTER(`opendmarc', `S=inet:[85][email protected]')
> 
> At a first hurried glance, that syntax looks off. Are you using square
> brackets ("[]") in your other milter definition(s) successfully? I would
> expect something more like this:
> 
> INPUT_MAIL_FILTER(`opendmarc', `S=inet:85 at localhost')
> 
> if you want/need to use Internet sockets. (I suspect something is
> "protecting" that as an email address. It should be in the form
> `S=inet:85(a)localhost' where "(a)" is the "at sign".
> 
> 
> Check the syntax for milter declarations in MC files here:
> 
> https://www.sendmail.com/sm/open_source/docs/m4/adding_mailfilters.html
> http://www.sendmail.org/~gshapiro/8.10.Training/milterconfig.html
> 
> 
> I use UNIX domain sockets on my systems, for example:
> 
> INPUT_MAIL_FILTER(`milter-opendkim',
> `S=unix:/var/run/milter-opendkim/sock, F=T, T=R:2m')
> INPUT_MAIL_FILTER(`milter-opendmarc',
> `S=unix:/var/run/milter-opendmarc/sock, F=T, T=R:2m')
> INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock,
> F=, T=C:15m;S:4m;R:4m;E:10m')
> 
> Hope this helps,
> --Steve.
> 

-- 

Janina Sajka,	Phone:	+1.443.300.2200
			sip:janina at asterisk.rednote.net
		Email:	janina at rednote.net

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:	http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures	http://www.w3.org/wai/apa



More information about the opendmarc-users mailing list