Opened 13 years ago

Closed 13 years ago

#219 closed enhancement (fixed)

Option to detect valid users when using a default_domain and no email on settings

Reported by: sto@… Owned by: bas
Priority: minor Milestone: release 2.0.0
Component: email2trac Version: 1.6.0
Keywords: Cc:


At our installation we are using email_default_domain (or smtp_default_domain) for all users; that way no one has to set their email_address on their preferences, but when they open a ticket using email2trac the system believes that they are not valid users.

I'm attaching a patch to enable the use of a email_default_domain on the email2trac configuration to avoid that case; with the patch if someone with an address of the form USER@DEFAULT_DOMAIN sends a message and there is an entry for USER on the session table then the ticket is created by USER.

Note that the patch does not apply cleanly to the current trunk because of the changeset:481, but the fix is trivial... ;)

Attachments (1)

email_default_domain.diff (1.1 KB) - added by sto@… 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by sto@…

comment:1 Changed 13 years ago by bas

  • Status changed from new to assigned

thanks for the patch and i will find out how to apply the patch ;-)

comment:2 Changed 13 years ago by bas

(In [484]) Applied a patch to detect valid users if smtp_default_domain is set, see #219

comment:3 Changed 13 years ago by bas

Can you test this version?

comment:4 Changed 13 years ago by bas

  • Milestone set to release 1.7.0
  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Change Properties
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.