can't create email trigger

I have my worker setup, i followed the steps at https://github.com/Le0Developer/cloudflare-discord-mailing, but can't create an email that routes to the worker I created
12 Replies
otakupahp
otakupahp11mo ago
@Leo maybe you could give me some insight
otakupahp
otakupahp11mo ago
I followed your steps, but can't configure an address that goes to the worker
No description
No description
Chaika
Chaika11mo ago
It doesn't see any worker with an email handler, is what it means
otakupahp
otakupahp11mo ago
Yes, but how do I create the worker?
Chaika
Chaika11mo ago
if you followed the instructions in that repo, you should have ran deploy/wrangler publish (which creates the worker), and then the other steps. You should be able to see the worker also in the Cloudflare dashboard
otakupahp
otakupahp11mo ago
I managed to get the emails but now I can't reply them, I keep getting
Reply failed! (400)
{"errors":["bad request - DKIM public key and private key mismatch: fail to parse private key in PKCS #1 or PKCS #8 format"]}
Reply failed! (400)
{"errors":["bad request - DKIM public key and private key mismatch: fail to parse private key in PKCS #1 or PKCS #8 format"]}
recreated the dkim many times, used openssl to create my own private_key but can't set it removed DKIM, used SPF, new error
otakupahp
otakupahp11mo ago
I already configured the _mailchannels TXT as noted in the article
No description
otakupahp
otakupahp11mo ago
after many tries and errors... Dkim never worked, but SPF did, so I use it
Chaika
Chaika11mo ago
that's not dkim, that's not being authorized
1.1.1.1
1.1.1.111mo ago
DNS over Discord: TXT records
_mailchannels.otakupahp.llc TXT @1.1.1.1 +noall +answer
NAME | TTL | DATA
----------------------------+------+--------------------
_mailchannels.otakupahp.llc | 300s | "v=mc1 cfid=cloudfl
| | are-otakupahp.worke
| | rs.dev"
NAME | TTL | DATA
----------------------------+------+--------------------
_mailchannels.otakupahp.llc | 300s | "v=mc1 cfid=cloudfl
| | are-otakupahp.worke
| | rs.dev"
diggy diggy hole
otakupahp
otakupahp11mo ago
yep, never worked the private key... got many errors can't parse, error on... finally, I omit it and it works
Chaika
Chaika11mo ago
hmm yea that records look fine
Want results from more Discord servers?
Add your server
More Posts