<xsl:template match="spf">
<td>
<xsl:call-template name="class_attribute" />
+ <xsl:value-of select="result"/>
+ <br/>
<xsl:value-of select="domain"/>
<br/>
<xsl:value-of select="scope"/>
<xsl:template match="dkim">
<td>
<xsl:call-template name="class_attribute" />
+ <xsl:value-of select="result"/>
+ <br/>
<xsl:value-of select="domain"/>
<br/>
<xsl:value-of select="selector"/>
test=[[ '%s' == *rmz.io* ]]
application/zip; funzip | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - > /tmp/dmarc.html && qutebrowser /tmp/dmarc.html ;\
test=[[ '%s' == *rmz.io* ]]
-application/gzip; zcat | xmllint --format - ; copiousoutput ; test=[[ '%s' == *rmz.io* ]]
-application/zip; funzip | xmllint --format - ; copiousoutput ; test=[[ '%s' == *rmz.io* ]]
+application/gzip; zcat | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - | w3m -dump - -T text/html ; copiousoutput ; test=[[ '%s' == *rmz.io* ]]
+application/zip; funzip | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - | w3m -dump - -T text/html ; copiousoutput ; test=[[ '%s' == *rmz.io* ]]
application/*; $XDG_CONFIG_HOME/mutt/mutt_bgrun rifle -f F %s;
image/*; rifle -f F %s;
set mailcap_path = $my_config_dir/mailcap
auto_view text/html # view html automatically
auto_view text/calendar # view ical automatically
+auto_view application/gzip application/zip # for dmarc reports
alternative_order text/calendar text/plain text/enriched text/html # view ical first, html last
# IMAP: mbsync