ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

How to Setup Ghost Blog Mail for FREE with Sendinblue and Mailgun | Ghost newsletter tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • In this tutorial, I want to share the main options on how to set up mail on your Ghost blog.
    I'll cover both Mailgun setup (recommended by Ghost) and free alternatives as well.
    For this tutorial, I assume, that you've installed Ghost using the method I shared in my previous video ▶️ • Ghost CMS + Google Clo...
    List of the commands will be down below and available in text version of the tutorial 🔗 nickborodenko.com/ghost-blog-...
    CHAPTERS:
    00:00 - Intro
    00:24 - How Ghost mail system works
    01:12 - How to set up mail on Ghost blog
    02:00 - Why you should not send emails from your server
    02:34 - Option 1. 3rd party newsletter, disabled Ghost mail
    02:56 - How to disable Ghost mail functionality
    04:11 - Option 2. 3rd party newsletter, free 3rd party SMTP
    08:56 - Option 3. Mailgun for everything
    10:10 - How to test mail on your blog
    10:45 - Be careful if you decide to use Mailgun
    ℹ️ Commands, mentioned in video:
    ⚠️⚠️⚠️ TH-cam does not allow angle brackets and they are changed to !ANGLEBRACKET!
    ➡️ SENDINBLUE EMAIL CONFIG COMMANDS
    sudo su -
    nano /etc/postfix/main.cf
    Scroll to the bottom and paste this:
    relayhost = [smtp-relay.sendinblue.com]:587
    smtp_use_tls = yes
    smtp_sasl_auth_enable = yes
    smtp_sasl_security_options = noanonymous
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
    🔵🔵🔵
    nano /etc/postfix/sasl_passwd
    Put your OWN credentials into the file (your email : Sendinblue-SMTP-key)
    [smtp-relay.sendinblue.com]:587 email@gmail.com:sendinblueSMTPkey
    🔵🔵🔵
    postmap /etc/postfix/sasl_passwd
    chown root:postfix /etc/postfix/sasl_passwd*
    chmod 640 /etc/postfix/sasl_passwd*
    systemctl restart postfix && systemctl enable postfix
    ➡️ SENDINBLUE GHOST DOCKER CONFIG
    mail__transport "SMTP"
    mail__from "SenderNAME !ANGLEBRACKET!email@yourdomain.com!ANGLEBRACKET!"
    mail__options__service "SMTP"
    mail__options__auth__user "sendinblueaccountemail@gmail.com"
    mail__options__auth__pass "sendinblueSMTPkey"
    mail__options__port "587"
    mail__options__host "smtp-relay.sendinblue.com"
    ⚠️⚠️⚠️ Sendinblue might not allow you to send mail before you activate your account. You can complete activation by verifying your domain and creating a support ticket.
    ➡️ MAILGUN GHOST DOCKER CONFIG
    mail__transport SMTP
    mail__options__service "Mailgun"
    mail__options__port 587
    mail__options__auth__user "mailgun-username"
    mail__options__auth__pass "mailgun-password"
    mail__options__host "smtp.mailgun.org"

ความคิดเห็น • 24

  • @siddheshshinde4850
    @siddheshshinde4850 ปีที่แล้ว +1

    The only video which explained in detail about Ghost mail configuration.

  • @nickcattoncreates
    @nickcattoncreates ปีที่แล้ว +1

    amazing video - thumbs up for the next video on other options!!

  • @junglestar
    @junglestar ปีที่แล้ว

    Thanks Nick

  • @Dimas-ok6wu
    @Dimas-ok6wu 11 หลายเดือนก่อน

    Spasibo! a to golova zakipela razbiratsya s etim servisom!!!

  • @shinebayar
    @shinebayar ปีที่แล้ว

    Quality content.

  • @ecostica
    @ecostica ปีที่แล้ว

    signed in to google just to thank you and thumbs up. Oh, and to subscribe. great stuff

  • @nelubelei9330
    @nelubelei9330 ปีที่แล้ว

    Thanks

  • @vinayp-20
    @vinayp-20 11 หลายเดือนก่อน

    Does option 2 enable both transactional and bulk email sending via Brevo(former SendinBlue)?

  • @aloysiusthomas6536
    @aloysiusthomas6536 ปีที่แล้ว

    Thanks ❤, it's working perfectly on docker, however can you provide the config for normal ghost installation if possible?

    • @NickBorodenko
      @NickBorodenko  ปีที่แล้ว +1

      Thank you for watching! To perform a standard server installation without using a control panel or docker, you can follow the official guide at: ghost.org/docs/install/ubuntu/

  • @harelzzz
    @harelzzz ปีที่แล้ว

    If I want to switch from sendinblue to mailgun, do I need to undo anything from the instructions on Option 2#?
    Or can I just do the instructions like I never changed anything?

    • @NickBorodenko
      @NickBorodenko  ปีที่แล้ว

      Deleting the lines added at 06:50 and restarting mail service before proceeding with Mailgun config should be sufficient.
      P.S. Apologies for the delayed response.

  • @shitbi
    @shitbi ปีที่แล้ว

    @nickborodenko I cannot access my docker container settings via cpanel. Everytime I click on the container, it takes me back to the cpanel homepage. How do I edit the env variables?

    • @NickBorodenko
      @NickBorodenko  ปีที่แล้ว

      Haven't used docker on cpanel - I don't know, what may have caused the issue, sorry

    • @shitbi
      @shitbi ปีที่แล้ว

      @@NickBorodenko do you just use it from the command line?

    • @NickBorodenko
      @NickBorodenko  ปีที่แล้ว

      No, I prefer graphic interface whenever that is available. I mean, I used docker on different control panels - but never on the cpanel (actually I haven't used cpanel itself for quite some time now).

  • @user-kp1sj8gp1h
    @user-kp1sj8gp1h ปีที่แล้ว

    Hello, pleace help, how integrate Sendniblue in Digital Ocean, not in a docker! Thanks...

    • @NickBorodenko
      @NickBorodenko  ปีที่แล้ว +1

      Hi! If your Ghost is not installed using docker, instead of docker variables you should be making changes to config.production.json file in your Ghost root directory.

    • @ColearningLounge
      @ColearningLounge ปีที่แล้ว +1

      For DO + Ghost users: For everyone's knowledge, config.production.json is in the/var/www/ghost directory.

    • @user-kp1sj8gp1h
      @user-kp1sj8gp1h ปีที่แล้ว

      @@ColearningLounge Its work just a few code to jason file. You can connect any mail server...

    • @ColearningLounge
      @ColearningLounge ปีที่แล้ว

      @@user-kp1sj8gp1h : We are aware of that 🙂

  • @JunaidArshad_Pakistan
    @JunaidArshad_Pakistan ปีที่แล้ว

    I followed your instructions and was successfully able to establish relay between my machine and SendinBlue server.
    I tested the configurations using mailx
    But when I link my SendinBlue account to my ghost blog, it gives error on subscription/Membership.
    Investigation reveals that SSL version is the culprit as the error states
    "Failed to send email. Reason: 140030700509056:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:"
    How to resolve this error ?