Opened 10 years ago
Closed 7 years ago
#12186 closed defect (wontfix)
Registering new user sending to wrong mail address
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | configuration |
Cc: | Ryan J Ollos | Trac Release: | 1.0 |
Description
Using AccountManagerPlugin and AnnouncerPlugin I have an issue when registering new users.
After "Register" and "Login" with...
Username: FBar Password: *** Email: foo.bar@localdomain
Trac reports that an email has been sent to foo.bar@localdomain, but in the logs I see that:
02-10 10:47:31,664 Trac[notification] INFO: Sending notification through SMTP at smtp03:25 to [u'FBar@localdomain']
..which of course is the wrong address.
This is the configuration:
[account-manager] account_changes_notify_addresses = admin@localdomain allow_delete_account = false authentication_url = db_htdigest_realm = force_passwd_change = true hash_method = HtDigestHashMethod htdigest_file = htdigest_realm = htpasswd_file = /mnt/data/trac/projects/trac-test/trac.htpasswd htpasswd_hash_type = crypt login_attempt_max_count = 2 notify_actions = new,change,delete password_file = password_store = HtPasswdStore persistent_sessions = true refresh_passwd = False user_lock_max_time = 86400 user_lock_time = 15 user_lock_time_progression = 2 verify_email = true [announcer] ctxtnav_names = default_email_format = text/plain email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, DefaultDomainEmailResolver email_enabled = true email_from = project@localdomain email_from_name = Trac (project) email_sender = SmtpEmailSender email_subject_prefix = __default__ email_to = undisclosed-recipients: joinable_groups = developers,management mime_encoding = base64 use_public_cc = false use_threaded_delivery = false
Attachments (1)
Change History (8)
comment:1 Changed 10 years ago by
Cc: | Ryan J Ollos added |
---|---|
Component: | AccountManagerPlugin → AnnouncerPlugin |
Keywords: | configuration added |
comment:2 Changed 10 years ago by
Sorry for the incomplete information:
- trac-1.0.3
- TracAccountManager-0.5dev_r14363-py2.7.egg
- TracAnnouncer-1.0dev_r13984-py2.7.egg
Attached you find the complete trac.ini.
comment:3 Changed 10 years ago by
Right, after disabling TracAnnouncer completely, the correct email address is used.
comment:4 Changed 9 years ago by
I have to correct. TracAnnouncer is disabled now and the verification mail is still sent to <username>@<default_domain> eventhough an explicit fully qualified email address was given.
So this bug is rather about AccountManager or my configuration.
comment:5 Changed 9 years ago by
Getting closer, this issue seems to be related to #12228, as deleting those lines from the config results in using the correct email-adress for verification:
account_changes_notify_addresses = mo@localdomain notify_actions = new,change,delete
comment:6 Changed 8 years ago by
Owner: | Steffen Hoffmann deleted |
---|
comment:7 Changed 7 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Please upgrade to Trac 1.2, which has integrated the core of AnnouncerPlugin. Please raise the issue on the trac:MailingList if you encounter the issue with Trac 1.2.
AccountManager will be modified to use the new notification API in #13124.
Thanks for taking care to report your issue.
Still your report
[smtp]
(see your TracIni page for hints)I'm willing to help, even if the mailing-list would be appropriate for sharing info to other users coming after you too, but you would need to provide aforementioned details in a timely manner. And be prepared to get this finally closed as invalid defect claim anyway.