You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
don't allow creating accounts via the website for similar emailaddresses
where the "simplified localpart" is identical to an existing account:
lowercased, keeping only the part before a "+" or "-", dots removed.
during signups via the website, we simply don't create an account, and provide
a hint to users.
for issue #27
// todo: if we didn't find dmarc=none, we could try looking up the dmarc record and applying it. perhaps good to again evaluate the dmarc record with the spf/dkim details we found: the dmarc policy may have a setting where it applies to fewer than 100% of the messages. we can probably be more strict.
360
360
authres:=msg.Header.Get("Authentication-Results")
361
361
ifauthres=="" {
362
-
returnfmt.Sprintf("missing authentication-results in message, cannot validate from address"), nil
362
+
return"missing authentication-results in message, cannot validate from address", nil
dom._kids(document.body,dom.div(dom._class('page'),dom.h1('Account created'),dom.p("We've sent an email to ",dom.b(email)," with a confirmation link."),dom.p("If the email is not coming in, don't forget to check your spam mailbox. Also, some mail servers employ 'grey listing', holding off first-time deliveries for up to half an hour."),dom.p("Go back ",dom.a(attr.href('#'),'home',functionclick(){route();}),'.')));
1116
+
dom._kids(document.body,dom.div(dom._class('page'),dom.h1('Account created'),dom.p(dom.span("If all is well",attr.title('If you already have an account with essentially the same email address (wildcards removed, etc), you can not create another account via the website, only by sending us a signup email.')),", we've sent an email to ",dom.b(email)," with a confirmation link."),dom.p("If the email is not coming in, don't forget to check your spam mailbox. Also, some mail servers employ 'grey listing', holding off first-time deliveries for up to half an hour."),dom.p("Go back ",dom.a(attr.href('#'),'home',functionclick(){route();}),'.')));
1117
1117
};
1118
1118
constsignup=(home)=>{
1119
1119
letfieldset;
@@ -1128,7 +1128,7 @@ const signup = (home) => {
1128
1128
dom.p('Send us an email with "signup for ',home.ServiceName,'" as the subject:'),
1129
1129
dom.p(style({marginLeft: '3em'}),dom.a(attr.href('mailto:'+encodeURIComponent(home.SignupAddress)+'?subject='+encodeURIComponent('signup for '+home.ServiceName)+'&body='+encodeURIComponent('sign me up for gopherwatch!')),home.SignupAddress)),
1130
1130
dom.p(`Any message body will do, it's ignored. You'll get a reply with a link to confirm and set a password, after which we'll automatically log you in. Easy.`),
1131
-
home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity!`))),
1131
+
home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity! On top of that, it will also prevent us from being misused into sending messages to unsuspecting people, because we only reply to messages from legitimate senders (spf/dkim/dmarc-verified). For similar reasons, you can only sign up with wildcard email addresses (like user+$anything@domain) via email and not via the website.`))),
1132
1132
dom.br(),
1133
1133
],home.SignupWebsiteDisabled ? [] : [
1134
1134
home.SignupEmailDisabled ? [] : dom.h2('Option 2: Signup through website'),
dom.p("We've sent an email to ",dom.b(email)," with a confirmation link."),
549
+
dom.p(dom.span("If all is well",attr.title('If you already have an account with essentially the same email address (wildcards removed, etc), you can not create another account via the website and we actually did not send you an email. You can only sign up with those similar addresses through a signup email.')),", we've sent an email to ",dom.b(email)," with a confirmation link."),
550
550
dom.p("If the email is not coming in, don't forget to check your spam mailbox. Also, some mail servers employ 'grey listing', holding off first-time deliveries for up to half an hour."),
551
551
dom.p("Go back ",dom.a(attr.href('#'),'home',functionclick(){route()}),'.'),
dom.p('Send us an email with "signup for ',home.ServiceName,'" as the subject:'),
575
575
dom.p(style({marginLeft: '3em'}),dom.a(attr.href('mailto:'+encodeURIComponent(home.SignupAddress)+'?subject='+encodeURIComponent('signup for '+home.ServiceName)+'&body='+encodeURIComponent('sign me up for gopherwatch!')),home.SignupAddress)),
576
576
dom.p(`Any message body will do, it's ignored. You'll get a reply with a link to confirm and set a password, after which we'll automatically log you in. Easy.`),
577
-
home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity!`))),
577
+
home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity! On top of that, it will also prevent us from being misused into sending messages to unsuspecting people, because we only reply to messages from legitimate senders (spf/dkim/dmarc-verified). For similar reasons, you can only sign up with wildcard email addresses (like user+$anything@domain) via email and not via the website.`))),
0 commit comments