I log to Trac using a certificate and my userid appears as :
logged in as /C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@lal.in2p3.fr
I am used to ticket notification not working because of this. But with DiscussionPlugin, it leads to a failure to post to a forum with the following error :
Trac detected an internal error:
SMTPRecipientsRefused: {u'emailAddress=jouvin@lal.in2p3.fr': (550, '5.1.1 <emailAddress=jouvin@lal.in2p3.fr>... User unknown')}
It would be nice if the plugin could check the userid looks as a valid email. In particular something like a certificate DN is easy to identify as it contains / and = that are invalid characters in an email adress. It'd be better to be able to parse such a userid and look for emailAddress if present (not necessarily the case) but this should probably be handled by Trac notification system itself.
Michel