Class DKIMVerify

  • All Implemented Interfaces:
    org.apache.mailet.Mailet, org.apache.mailet.MailetConfig

    public class DKIMVerify
    extends org.apache.mailet.base.GenericMailet
    This mailet verify a message using the DKIM protocol Sample configuration:
    
     <mailet match="All" class="DKIMVerify">
     </mailet>
     
    By default the mailet assume that Javamail will use LF instead of CRLF so it will verify the hash using converted newlines. If you don't want this behaviout then set forceCRLF attribute to false.
    • Constructor Detail

      • DKIMVerify

        public DKIMVerify()
    • Method Detail

      • init

        public void init()
                  throws javax.mail.MessagingException
        Overrides:
        init in class org.apache.mailet.base.GenericMailet
        Throws:
        javax.mail.MessagingException
      • service

        public void service​(org.apache.mailet.Mail mail)
                     throws javax.mail.MessagingException
        Specified by:
        service in interface org.apache.mailet.Mailet
        Specified by:
        service in class org.apache.mailet.base.GenericMailet
        Throws:
        javax.mail.MessagingException