One of the things I don’t really want to self host is a mail server, especially for outbound mail. Currently I’m using a Gmail account, but I want to change that.

What do you all use for things like notifications sent through smtp?

I’m leaning towards AWS SES since it’s cheap, but I know there are some other options like mailgun and sendgrid.

    • GreyBeard@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I use SMTP2Go for a verity of things. It’s simple and pretty configurable. If you are using it, I recommend setting up a subdomain specifically for sending mail, that way you can isolate SPF/DKIM records from your primary domain.

  • Illiterate Domine@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    There’s a proton bridge docker container out there that I’m planning to standup this weekend for SMTP use inside my home lab.

  • gregwA
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I set up a smtp relay with gsuite for outgoing mail but don’t think it is ideal; it is tied to my user. It was just expedient rather than preferred.

    Totally looking forward to the answers here.

    • johntash@eviltoast.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      That’s pretty much my concern as well. Most of my notifications (lemmy/etc) get sent from a gsuite account or a fastmail account. I don’t really want any automated e-mails being tied to my personal accounts like that.

      • gregwA
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        With my one user gsuite I setup a secondary domain in it so lemmy sends from no-reply@lemmy.gregw.us, not my main address, but lemmy still authenticates using my main address.

  • Rick@thesimplecorner.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    This is a weird one. I have my instance in a database that blocks smtp and all it’s alternative and secure ports. Is there anyway for me to get smtp out of here? Id have to fiddle with Lemmy’s functions. I imagine an API or something. Anyone have experience with this?

    • johntash@eviltoast.orgOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Does your vps provider block outbound smtp to port 465/587? Usually providers only block port 25 outbound so that the vps can’t send mail directly to a server (and can’t host incoming mail). I haven’t seen many providers block smtp altogether.

      If that’s the case though, services like sendgrid do offer http apis. I’m not sure if there’s any sort of smtp-to-http relay bridge, but I wouldn’t be surprised if there is one. Otherwise Lemmy would have to support the specific api to send e-mails through.

  • Matt@netmonkey.tech
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Sendgrid has a free plan, I know, but I believe you’re limited on the number of emails you can send per day.

  • TheOneCurly@lemmy.theonecurly.page
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    SendGrid hasn’t failed me yet. I can’t speak on pricing though, I basically only use it for password resets on some self hosted services so the free tier is all I need.

    • johntash@eviltoast.orgOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I don’t think I’ve looked at mailjet yet, thanks! The free plan looks better than sendgrid’s free plan so far

  • blah@lemmy.1204.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    MXroute. First, because Jar is stupid (hope someone will get the reference). Second, because they are awesome and cheap at the same time. You can go from full-fledged hosting with them to using them as relay, and for pizza money for a year.

    • johntash@eviltoast.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Are you using mxroute only for outbound (notifications/etc) mail, or are you using it for all of your incoming e-mail too?

      • blah@lemmy.1204.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        In some cases outbound only, in other cases inbound, too, with redirect somewhere else.

  • rodti@kayb.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Had issues at scale with Mailgun, moved to Sendinblue (now Brevo) and all sorted. Mailgun’s support might as well be non-existent, took them nearly two weeks to address my issue, at which point I’d already jumped ship.

  • Philip@endlesstalk.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I also thought about using AWE SES, but I decided not to use it, since I was “sandboxed”(See more here).

    I decided to use MXRoute, which have worked great for me so far. It is more expensive(50$ per year), than purelymail and Migadu, but for me reliabillity is very important, so I don’t mind paying a bit extra for it.

    • johntash@eviltoast.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      $50/yr isn’t too terrible if it’s good. Do you use it only for outgoing notification type e-mails or do you use it as your main email too?

  • dap@lemmy.onlylans.io
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I actually setup SES for my Lemmy instance. I was evaluating SendGrid but less than 24 hours after signing up they closed my account with zero explanation so…yeah lol.

    I was sandboxed in SES initially but I created a support ticket asking for production access and I was good to go. No issues with SES thus far.