Ticket #2792 (closed defect: fixed)

Opened 2 years ago

Last modified 8 months ago

Posting does not work due to SMTP error

Reported by: jouvin@lal.in2p3.fr Assigned to: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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

Attachments

Change History

03/24/08 19:12:26 changed by Blackhex

  • status changed from new to assigned.

0.11 branch will have notification as a component so you could disable it.

07/22/09 15:49:09 changed by anonymous

  • status changed from assigned to closed.
  • resolution set to fixed.

Done with r6261.


Add/Change #2792 (Posting does not work due to SMTP error)




Change Properties
Action