Edgewall Software

Ticket #5976 (closed defect: duplicate)

Opened 16 months ago

Last modified 16 months ago

Problem with notification to internal domain names

Reported by: Andrew Van Pernis <andrew.vanpernis@…> Owned by: eblot
Priority: low Milestone:
Component: notification Version: 0.10-stable
Severity: minor Keywords:
Cc:

Description

I am using Trac for an internal project on a Windows network. Most users have only an internal e-mail address of the format <username>@mail.local, and users login via LDAP through the AD server. In the notification section of trac.ini, I have set smtp_default_domain = mail.local, but notifications are sent to <username>@mail.loca.

This appears to be the offending line in notification.py in NotifyEmail.

    addrfmt = r"[\w\d_\.\-\+=]+\@(([\w\d\-])+\.)+([\w\d]{2,4})+"

If I change the range from 2-4 to 2-5 of the final section in the expression, then notification works correctly for me, but I'm sure there should be a more general solution for formation internal domain names.

Attachments

Change History

Changed 16 months ago by thatch

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #4372, wihch is fixed in 0.11-dev. Thanks for the report.

Add/Change #5976 (Problem with notification to internal domain names)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from eblot. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.