Server IP : 172.67.216.182 / Your IP : 172.70.143.85 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/libmail-dkim-perl/ |
Upload File : |
Following are some notes about gray areas in the RFC 4871 DKIM specification. Section 3.4.4 "relaxed" Body Canonicalization Empty bodies. Unlike the "simple" body canonicalization, which explicitly says to add a CRLF, the "relaxed" body canonicalization does not say this. The consensus at DKIM-Interop was NOT to add a CRLF for "relaxed" body canonicalization when the body is empty. Section 3.5 "i= Identity of the user or agent" In the section describing "identity", it says dkim-quoted-printable encoding is to be used, but quoted printable is not mentioned in the ABNF. The ABNF includes the "Local-part" token, which allows a quoted string with backslashes to escape certain characters. My interpretation (combining the text and my own reasoning), is that the i= tag value should be the dkim-quoted-printable encoding of: [ Local-part ] "@" domain-name So, e.g. local part domain ---------- ----------- i="meet=20joe"@example.com => "meet joe" example.com i="fine=3Bmess"@example.com => "fine;mess" example.com i="[email protected] => "j s" example.com i=j smith @ example . com => jsmith example.com Section 3.6.1 "granularity of the key" Does "an empty g= value never matches any addresses" mean that any signature, no matter the i= value, using this key cannot be matched? The consensus at DKIM-Interop was that YES, that's what it means. It should be noted that this is an incompatible change from RFC4870-DomainKeys, where an empty g= tag in the public key is equivalent to g=*, which would match anything.