Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5976 closed defect (duplicate)

Problem with notification to internal domain names

Reported by: Andrew Van Pernis <andrew.vanpernis@…> Owned by: Emmanuel Blot
Priority: low Milestone:
Component: notification Version: 0.10-stable
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (1)

comment:1 by Tim Hatch, 17 years ago

Resolution: duplicate
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.