Page 1 of 1

Leave RFC822 comments in mail address untouched

Posted: Mon Apr 29, 2013 11:12 pm
by hzujmccescsl
RFC822 e-mail address formats allow for two versions which can include either a "full name" or "comments" to be included with an RFC822 e-mail address. These two forms are:

1) "full name" e-mail_address

2) <e-mail_address> (comments)

It IS possible to add "comments" to an OpenEMM recipient e-mail address, though it gets included in larger "< ... >" block, but its contents get converted to all lower case. It would be preferrable that any "(...)" contents of the e-mail address be left "as is". This would provide a convenient way to provide a "normal appearing", mixed case, comment which might be a brief description of the mailing or a brief description of a mailing list (or mailing list name).

Re: Leave RFC822 comments in mail address untouched

Posted: Mon Sep 02, 2013 9:37 pm
by hzujmccescsl
One way to be able to change the RFC822 e-mail address in the recipient ("To:") field is to use the Sendmail Perl 'milter' process to dynamically modify the text in this field as the e-mail is being processed by the SMTP function in the process of being sent out. Using a builtin array or an external "mapping" file, one can easily redefine the "To:" field value to whatever is desired (and acceptable) which may not be possible with the simple OpenEMM recipient e-mail address field.