• Relaying through Gmail -- suggestions?

    From Sam Alexander@VERT/BAUDOT to All on Sat Mar 26 05:36:53 2022
    So I've racked my brain on this for a few hours now, so until I go further here I am. Trying to relay SMTP through my gmail account. Created an app specific password and here's what I have in sbbs.ini for email specific to smtp:
    TLSSubmissionPort = 465
    SMTPPort = 25
    RelayServer = smtp.gmail.com
    RelayPort 587
    RelayUsername = ****@gmail.com
    RelayPassword = **********
    Options = ALLOW_POP3 | USE_SUBMISSION_PORT | TLS_SUBMISSION | TLS_POP3 | RELAY_TX

    In the logs it's giving a 530 "5.7.0" error which per Google is "Must issue a STARTTLS command first". I've read that Sync does support STARTTLS, but what am I missing? Thanks --

    ---
    Synchronet Camping on the Internet at Camp Baudot BBS - campbaudot.com
  • From Digital Man@VERT to Sam Alexander on Sat Mar 26 12:16:52 2022
    Re: Relaying through Gmail -- suggestions?
    By: Sam Alexander to All on Sat Mar 26 2022 05:36 am

    So I've racked my brain on this for a few hours now, so until I go further here I am. Trying to relay SMTP through my gmail account. Created an app specific password and here's what I have in sbbs.ini for email specific to smtp: TLSSubmissionPort = 465
    SMTPPort = 25
    RelayServer = smtp.gmail.com
    RelayPort 587
    RelayUsername = ****@gmail.com
    RelayPassword = **********
    Options = ALLOW_POP3 | USE_SUBMISSION_PORT | TLS_SUBMISSION | TLS_POP3 | RELAY_TX

    In the logs it's giving a 530 "5.7.0" error which per Google is "Must issue a STARTTLS command first". I've read that Sync does support STARTTLS, but what am I missing? Thanks --


    Yes, Synchronet will issue a STARTTLS command when sending via SMTP.

    You do appear to be lacking any of the RELAY_AUTH options, so that your mail won't be authenticating you with the server and that seems like a likely problem.
    --
    digital man (rob)

    Sling Blade quote #21:
    Karl: Coffee makes me nervous when I drink it. Mmm.
    Norco, CA WX: 74.0F, 41.0% humidity, 5 mph S wind, 0.00 inches rain/24hrs
    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Sam Alexander@VERT/BAUDOT to Digital Man on Tue Mar 29 17:50:01 2022
    Re: Relaying through Gmail -- suggestions?
    By: Digital Man to Sam Alexander on Sat Mar 26 2022 12:16 pm

    You do appear to be lacking any of the RELAY_AUTH options, so that your mail won't be authenticating you with the server and that seems like a likely problem.

    Yeah I was missing that, thanks .. Added and mail is relaying through my Gmail account now, but every message has my GMail as From instead of the BBS EMail Address. I'm not sure if this is on the Sync side or Gmail side, so that's my next thing to figure out... but at least it's going out now.

    Thanks.

    ---
    Synchronet Camping on the Internet at Camp Baudot BBS - campbaudot.com
  • From Sam Alexander@VERT/BAUDOT to Digital Man on Tue Mar 29 17:55:53 2022
    Re: Relaying through Gmail -- suggestions?
    By: Sam Alexander to Digital Man on Tue Mar 29 2022 05:50 pm

    You do appear to be lacking any of the RELAY_AUTH options, so that your mail won't be authenticating you with the server and that seems like a likely problem.

    Yeah I was missing that, thanks .. Added and mail is relaying through my Gmail account now, but every message has my GMail as From instead of the BBS EMail Address. I'm
    not sure if this is on the Sync side or Gmail side, so that's my next thing to figure out... but at least it's going out now.

    I think I found my answer, found an article saying Google uses the main email account unless it's using Google Workspace. I do have a legacy Workspace account which I'm dropping soon since they're dropping the free version in a few months... so guess I'll try the Spectrum SMTP server next.

    ---
    Synchronet Camping on the Internet at Camp Baudot BBS - campbaudot.com
  • From Tracker1@VERT/TRN to Sam Alexander on Fri Apr 1 22:24:55 2022
    On 3/29/22 16:55, Sam Alexander wrote:
    Yeah I was missing that, thanks .. Added and mail is relaying through
    my Gmail account now, but every message has my GMail as From instead
    of the BBS EMail Address. I'm not sure if this is on the Sync side
    or Gmail side, so that's my next thing to figure out... but at least
    it's going out now.

    I think I found my answer, found an article saying Google uses the
    main email account unless it's using Google Workspace. I do have a
    legacy Workspace account which I'm dropping soon since they're
    dropping the free version in a few months... so guess I'll try the
    Spectrum SMTP server next.

    You might also give Sendgrid a try, I've been pretty happy with them,
    the free tier is probably good enough for most small BBS use. I'm using
    the paid tier though, since I'm also relaying my regular mail server's outbound mail through them too.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    Synchronet Roughneck BBS - roughneckbbs.com