# Not getting an email code to register on pkgs.racket-lang.org

**URL:** <https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660>\
**Category:** General\
**Tags:** package\
**Created:** [January 25, 2023, 4:54pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660 "2023-01-25T16:54:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grafcube](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/grafcube/32/623_2.png) [@Grafcube](https://racket.discourse.group/u/Grafcube)\
**Post date:** [January 25, 2023, 4:54pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/1 "2023-01-25T16:54:24Z")

</div>

I'm trying to create an account on [pkgs.racket-lang.org](http://pkgs.racket-lang.org) to submit a package but I'm not getting the email code at all. I enter my email and evaluate the anti-spam code and then it says that the code has been emailed. I tried 2 different emails on different services and checked my spam but there's nothing even after 2-3 hours. Not sure if this is the right place to make this kind of post. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [January 25, 2023, 8:01pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/2 "2023-01-25T20:01:32Z")

</div>

Yep, this is definitely the right place to ask.

I just tried registering an account with a fresh email, and the code came to me right away. That suggests to me that the problem isn't with the mail generation, but instead the delivery. Is there any chance that the mail is being flagged as spam?

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [January 25, 2023, 8:01pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/3 "2023-01-25T20:01:59Z")

</div>

Yeah, okay, you said you checked for spam already, mea culpa.

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [January 25, 2023, 8:03pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/4 "2023-01-25T20:03:07Z")

</div>

Now I'm wondering ... if maybe it didn't work before, but it's working now? Ugh.

---

<div class="post-metadata">

**Author:** ![Grafcube](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/grafcube/32/623_2.png) [@Grafcube](https://racket.discourse.group/u/Grafcube)\
**Post date:** [January 26, 2023, 2:44am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/5 "2023-01-26T02:44:34Z")

</div>

I just tried again and I'm still not getting any email. Not sure what I have to do, if there's even anything I can do.

---

<div class="post-metadata">

**Author:** ![jryans](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jryans/32/31_2.png) [@jryans](https://racket.discourse.group/u/jryans)\
**Post date:** [January 26, 2023, 10:41am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/6 "2023-01-26T10:41:40Z")

</div>

Similar to @jbclements, I also just tried a test email, and the code arrived right away.

@Grafcube, perhaps there's some kind of deliverability issue with the address you tried...? If you have an alternate email address, it's worth trying that to see if it comes through there.

---

<div class="post-metadata">

**Author:** ![Grafcube](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/grafcube/32/623_2.png) [@Grafcube](https://racket.discourse.group/u/Grafcube)\
**Post date:** [January 26, 2023, 10:56am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/7 "2023-01-26T10:56:25Z")

</div>

If it makes a difference, I tried it with my [disroot.org](http://disroot.org), [tutanota.com](http://tutanota.com) and later gmail. The code arrived for my gmail about 6 hours later but I got nothing for the other two. I can't actually use my gmail though since it's for other purposes and I'd much rather use my disroot email for this.

---

<div class="post-metadata">

**Author:** ![jryans](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jryans/32/31_2.png) [@jryans](https://racket.discourse.group/u/jryans)\
**Post date:** [January 26, 2023, 11:14am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/8 "2023-01-26T11:14:39Z")

</div>

I initially tried a Gmail account, which worked fine. Just now I've also tried Yahoo and a smaller third-party server, which have all worked as well.

I wonder if Disroot and Tutanota are blocking these messages, or conversely if they are being blocked by the email delivery layer... 🤔

---

<div class="post-metadata">

**Author:** ![Grafcube](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/grafcube/32/623_2.png) [@Grafcube](https://racket.discourse.group/u/Grafcube)\
**Post date:** [January 26, 2023, 11:31am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/9 "2023-01-26T11:31:14Z")

</div>

I have no idea how to proceed 🤷

I have been using both disroot and tutanota for a long time and I've never really had any issues. I don't know if this is related but I just checked and it actually took over 8 hours for the code to arrive on gmail.

---

<div class="post-metadata">

**Author:** ![gus-massa](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/gus-massa/32/507_2.png) [@gus-massa](https://racket.discourse.group/u/gus-massa)\
**Post date:** [January 26, 2023, 1:26pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/10 "2023-01-26T13:26:16Z")

</div>

We had a similar problem in the university. Some email providers have a very strong spam filtering and send the messages to void instead of the spam folder, without a bouncing email. (I think hotmail/live/outlook was the most problematic.)

Sometimes it gets solved if you send an email in the opposite direction. If the server wants to send a message from [server@example.com](mailto:server@example.com) to a person [someone@example.com](mailto:someone@example.com), sometimes the problem is fixed if the person sends a message from [someone@example.com](mailto:someone@example.com) to [server@exampe.com](mailto:server@exampe.com)

(The content of the message is not important. It just add the other address to the well known list of the person.) YYMV.

---

<div class="post-metadata">

**Author:** ![Grafcube](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/grafcube/32/623_2.png) [@Grafcube](https://racket.discourse.group/u/Grafcube)\
**Post date:** [January 26, 2023, 1:47pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/11 "2023-01-26T13:47:56Z")

</div>

I sent an email to [pkgs@racket-lang.org](mailto:pkgs@racket-lang.org) and tried to register again about 15 minutes ago. I haven't got anything yet and idk if it will arrive later if at all.

---

<div class="post-metadata">

**Author:** ![tonyg](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/tonyg/32/562_2.png) [@tonyg](https://racket.discourse.group/u/tonyg)\
**Post date:** [January 26, 2023, 2:27pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/12 "2023-01-26T14:27:41Z")

</div>

I see it in the logs. We deliver via a gmail SMTP relay, and it accepted it (SMTP 250). I don't think I have credentials to look into the internals of the gmail configuration to see what happened then - but I would expect some kind of bounce message if it wasn't deliverable. Let me try sending you a message directly from my personal gmail account.

---

<div class="post-metadata">

**Author:** ![tonyg](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/tonyg/32/562_2.png) [@tonyg](https://racket.discourse.group/u/tonyg)\
**Post date:** [January 26, 2023, 2:36pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/13 "2023-01-26T14:36:39Z")

</div>

I emailed you directly. Do let me know if you get it! Also, I tried mailing the package server itself, to test the reply path - nothing has come through, so perhaps we're not seeing bounces etc anymore.

---

<div class="post-metadata">

**Author:** ![Grafcube](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/grafcube/32/623_2.png) [@Grafcube](https://racket.discourse.group/u/Grafcube)\
**Post date:** [January 26, 2023, 2:41pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/14 "2023-01-26T14:41:04Z")

</div>

I received your email without any issues.

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [January 26, 2023, 8:50pm UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/15 "2023-01-26T20:50:46Z")

</div>

Email is like democracy. It's the _worst possible system_ except for all of the others that are even worse.

Speaking from experience, SMTP forwarders can sometimes impose their own hidden blacklists. @tonyg , can you not send an email using the same SMTP pathway that the registration emails send?

Or in this case, maybe it would just be simpler to generate the darn code and email it to @Grafcube manually?

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [January 30, 2023, 4:14am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/16 "2023-01-30T04:14:55Z")

</div>

Bump? @tonyg ?

Ooh, post must be at least 20 characters.

---

<div class="post-metadata">

**Author:** ![Grafcube](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/grafcube/32/623_2.png) [@Grafcube](https://racket.discourse.group/u/Grafcube)\
**Post date:** [February 5, 2023, 8:54am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/17 "2023-02-05T08:54:49Z")

</div>

It still doesn't work and I have no idea what to do. Any advice?

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [February 6, 2023, 12:00am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/18 "2023-02-06T00:00:31Z")

</div>

Hello hello @tonyg @jeapostrophe @samth does the [pkgs.racket-lang.org](http://pkgs.racket-lang.org) code live in some repo? I'm not sure who has the keys to this particular car.

---

<div class="post-metadata">

**Author:** ![samth](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/samth/32/3_2.png) [@samth](https://racket.discourse.group/u/samth)\
**Post date:** [February 6, 2023, 4:09am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/19 "2023-02-06T04:09:19Z")

</div>

See [GitHub - racket/racket-pkg-website: A frontend for the Racket Package Catalog.](https://github.com/racket/racket-pkg-website/)

---

<div class="post-metadata">

**Author:** ![LiberalArtist](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/liberalartist/32/151_2.png) [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Post date:** [February 6, 2023, 5:05am UTC](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660/20 "2023-02-06T05:05:41Z")

</div>

> [@tonyg](#):
>
> I see it in the logs. We deliver via a gmail SMTP relay, and it accepted it (SMTP 250). I don't think I have credentials to look into the internals of the gmail configuration to see what happened then - but I would expect some kind of bounce message if it wasn't deliverable.

I took a look at the SPF record for [racket-lang.org](http://racket-lang.org):

```scheme
$ dig racket-lang.org txt

; <<>> DiG 9.18.4-2ubuntu2-Ubuntu <<>> racket-lang.org txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22406
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;racket-lang.org. IN TXT

;; ANSWER SECTION:
racket-lang.org. 300 IN TXT "v=spf1 ?all"

;; Query time: 288 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Sun Feb 05 23:49:00 EST 2023
;; MSG SIZE rcvd: 68

```

The `?all` at the end of the record means that SPF verification will give a "neutral" result: and, indeed, I looked up the registration message I got way back when, and the SPF status was "neutral".

Since messages are being sent through a Gmail relay, I think it would be better to set the SPF record to:

```scheme
"v=spf1 include:_spf.google.com ?all"

```

where `include:_spf.google.com` means that mail from the IP address ranges used by Google ([reference](https://support.google.com/a/answer/10683907?hl=en)) will instead "pass" authentication, while mail from other addresses will continue to be "neutral".

That should help deliverability of mail sent through the Gmail relay without changing anything for mail sent by other means.

[Next page](https://racket.discourse.group/t/not-getting-an-email-code-to-register-on-pkgs-racket-lang-org/1660.md?page=2)
