CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/09/29 04:03:49
Modified files:
usr.sbin/smtpd : smtpd.h srs.c util.c
Log message:
SRS uses base64 encoding for the checksum, however while this is ok when we
only have MTA in the loop, some implementations like Dovecot's LMTP dislike
finding '/' in an e-mail address. Since checksum is meant to be verified at
the MX that generated the SRS encoding, use alternate rfc354 base64 encode,
swapping '/' with '_' and '+' with '-'.
ok eric@ millert@