emails only reach instance domain email addresses - eviltoast

I’ve been trying to get some friends signed up on my lemmy instance.

The issue is, so far nobody seems to be receiving the signup/verification emails. I am getting the admin user-signup emails, but those are sent to contact@<instance-domain>. I created 2 test users, one with a instance-domain address, and one to a gmail. The instance-domain address was there within a minute, but the gmail one has yet to arrive.

Instance details:

OS: Ubuntu 22.04

Lemmy: Lemmy-Ansible install, on 0.18.0, modified to removed network settings per https://github.com/LemmyNet/lemmy-ansible/pull/102

Any ideas why this might be happening?

  • @johntash
    link
    English
    11 year ago

    What are you using for your smtp server? Is it something with the same domain?

    Also can you access the email you send from and see if it’s maybe bouncing back? If not, you’ll probably need to check the mail server logs and see if it’s being rejected for some reason.

    • @Ripost@ripo.stOP
      link
      fedilink
      English
      21 year ago

      looked through the logs for the postfix container, turns out gmail requires SPF or DKIM to be setup for a domain or it will reject emails. I’ll probably just end up using a free external STMP service

    • @Ripost@ripo.stOP
      link
      fedilink
      English
      11 year ago

      I’m using the default mail setup proivded with Lemmy. As far as I understand, it is outbound only. I’ll look into the mail server log and see if I can find any details