Mail Server SMTP 587 Port with SASL and TLS

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ค. 2024
  • In this video i have described how to configure mail server submission port 587 with sasl and tls. for outgoing email we used to configure email clients with 25 port, but most of the isp blocks outgoing 25 port from the client network for spam protection, because spam bots targets mail servers 25 port from the trusted network. so we need to configure mail clients with smtp 587 or submission port, so that clients can send mail securely, submission port ties with SASL authentication and TLS encryption for authentication and encryption from the clients network. I have installed SASL and TLS with Postfix and configure Outlook with 587 port and tested the scenario successfully, after watching the video, you will be able to configure the Postfix Submission Port 587 and with SASL Authentication and TLS encryption.
    Website: www.mailserverguru.com
    LinkedIn: / munnavai
    Facebook: / mailserverguru
    Twitter: / mailserverguru
    #linuxmailserver
    Related Videos :
    🔔 Linux Mail Server Configurations:
    Linux Mail Server Postfix Architecture: 👉 • Postfix Architecture |...
    Linux Mail Server Configuration Step by Step: 👉 • Linux Mail Server Conf...
    How to Configure a Subdomain Mail Server: 👉 • How to Configure a Sub...
    How to Configure Primary and Secondary MX: 👉 • Linux Mail Server Conf...
    Mail Server SMTPS 465 Port with SASL and TLS: 👉 • Mail Server SMTPS 465 ...

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

  • @BlueDolphinBlues
    @BlueDolphinBlues หลายเดือนก่อน +1

    Thanks for the video. Nice to see someone who actually understands the application in it's entirety.

    • @mailserverguru
      @mailserverguru  หลายเดือนก่อน

      you are most welcome!!

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

    very helpful and well explained to learn postfix.

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

    Thanks for the video. Few things I would like to mention:
    1. Please make cyrus to authenticate using mysql database because I don't think in production server we create thousands of users using useradd command in the linux.
    2. It would be nicer if you configure Letsencrypt for SSL instead of self-signed cert.
    3. Please make a multi-domain postfix configuration hosted from a single machine.
    Please make a video mentioning the following topics.
    Thank you

    • @mailserverguru
      @mailserverguru  3 ปีที่แล้ว

      I will try my best, thanks.

    • @duoduoo6732
      @duoduoo6732 2 หลายเดือนก่อน

      @@mailserverguru please help. in debian there are no cyrus-sasl-* packages. only sasl2-bin, etc. when I installed them. there are no /etc/sasl2/ directory. and no smtpd.conf file at all on whole system. so only config file I found is in /etc/default/saslauthd is it the file that replaced old /etc/sasl2/smtpd.conf or I doing something wrong? i am going nuts

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

    A tutorial on sending from postfix to office 365 without a connector would also be interesting

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

    Any solution of this in zimbra server? I would like to use 587 for user in their outlook/thunderbird client to connect with zimbra server.

  • @71GA
    @71GA 3 ปีที่แล้ว

    This is the best tutorial on the topic!

  • @user-ey6ep6yv6o
    @user-ey6ep6yv6o 5 หลายเดือนก่อน +1

    thanks for the video. The cyrus package does not exist on the debian 12 server. which package should I use instead ?

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

    Very nice explanation. I’m trying to configure rhel7.5 as client to a smtp relay server . But no luck yet . Please make a video for linux client also. It will be very helpful .

  • @mohammadosmangoni9357
    @mohammadosmangoni9357 4 ปีที่แล้ว

    If I configure submission service/process in 587 Port in master.cf file can I still use 25 port for email sending using outlook like MUA ?

  • @duoduoo6732
    @duoduoo6732 2 หลายเดือนก่อน

    in debian there are no cyrus-sasl-* packages. only sasl2-bin, etc. when I installed them. there are no /etc/sasl2/ directory. and no smtpd.conf file at all on whole system. so only config file I found is in /etc/default/saslauthd is it the file that replaced old /etc/sasl2/smtpd.conf or I doing something wrong? i am going nuts

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

    Very helpful video.

  • @midjhelins8383
    @midjhelins8383 2 หลายเดือนก่อน

    Excellent!

  • @vincenzosgroi8646
    @vincenzosgroi8646 3 ปีที่แล้ว

    Do you also have a tutorial to sort out SPAM emails along with Centos7/8 + Postfix + Dovecot?

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

    im using ssl, my sever keeps trying to use port 25 which is blocked, i dont get how to block postfix from using port 25. what setting in master.conf will just block port 25?

    • @mailserverguru
      @mailserverguru  4 ปีที่แล้ว

      server must use 25 port for outgoing and incoming connection from another mail server for send/receive mail, it is client network which should be blocked to connect to 25 port, you can manage this from server, by firewall or from network firewall, client will use only 587 or 465 port to connect to server, you need to configure this on clients outlook. you can also maintain clients connection from my_network settings, if you use postfix. thanks..

  • @LryuzakiLN
    @LryuzakiLN 2 หลายเดือนก่อน

    Can you make a video on sending mails using SSL instead of TLS certificate?

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

    3:28 has me slightly confused. The example shows the 'enabling of port 587' but i did not see anywhere where the explicit port 587 was typed or specified? All I saw was the uncommenting of submission inet. How did that enable port 587?

    • @mailserverguru
      @mailserverguru  3 ปีที่แล้ว

      yes you got it right. submission enabling is port 587 enabling, this is submission port. thanks

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

      @@mailserverguru mmmm I'm not so sure that's entirely correct. When issuing the first netstat cmd, ports 143, 110, 587, weren't on. Then after enabling submission inet, and rechecking netstat output, more than just 587 was enabled. Not very clear on what is happening here. Might want to add some notes or something.

    • @mailserverguru
      @mailserverguru  3 ปีที่แล้ว

      @@mcgriddletime915 Bro, this is what i said, Submission is 587, and smtps is 465 port.
      you can check with
      # cat /etc/services | grep 587
      # cat /etc/services | grep 465
      services file is for binding ports with services, from here you can see what port for whom, thanks

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

      @@mailserverguru not quite. It also enabled 110, and 143 which have nothing to do with smtp or smtps. Those are incoming imap and pop ports bro. So while it did enable 587, it enabled others too. That's all I'm saying. It does more than enable 587.

    • @mailserverguru
      @mailserverguru  3 ปีที่แล้ว

      @@mcgriddletime915 Please study More. POP and IMAP has nothing to do with 587, 465 port, those were open because i have enabled and configured dovecot there, dovecot has nothing to do with submission and smtps port. thanks

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

    This is a nice video. I was searching for this kind of video tutorial to configure relay server since a couple of days ago. But I have some confusion:
    what username and password we can use for sasl authentication? How can I provide sasl authentication credentials to smtp clients?
    Is there a way to permit relay mail on the basis of sender domain?
    If possible please post a video tutorial to configure and set up a stand alone relay server using postfix.
    Thank you for this awesome tutorial. I am subscribing your channel.

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

      I am very glad that, my video helped you. first thing is, you don't have to specify extra user/pass for the SASL on the mail client, just tick the advanced option my outgoing server require authentication, i have showed on the video, SASL can be configured to match sender address, this is called sender login match, soon i will make another video with the central Relay based on authentication for the servers. Thanks.

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

      @@mailserverguru I need to give access to mail clients to be relayed through my relay server which is outside my subnet based on sasl authentication... what user/pass should I provide them to authenticate with sasl on smtpd server of relay?
      Note the mail clients can be many. Providing same user/pass for all the clients will be okay? How to create user/pass for different clients?
      I little bit confused on this scenario!
      Please if you have time help me to clarify on this!
      Thanks for your quick response!

    • @alexandrp8386
      @alexandrp8386 3 ปีที่แล้ว

      I need help too. I try configuring Postfix SMTP Relay for smtp.office365.com but can't auth passed. Then try connect to smtp.office365.com, i get error "user not authenticated"

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

    hi @mailserverguru, port 25 is blocked on my cloudserver, I want to send emails from cyberpanel (on ubuntu 20.04 - uses Postfix) from port 465 , possibly from 587 but if send from 587, I want to send from my server, and not from sendgrid or other delay. Is this possible?

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

      Hi, During sending you do not need always to send from 25 port, you can configure your server to send mail from 2525 for example, 25 port is mandatory to receive and that is ok to your server. so you are good to go.. Thanks !!

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

      @@mailserverguru ok how do I do that :) I found a video to change the port for sending of postfix through 587, but obviously I wouldn't be able to receive. How to I receive through port 25, and send via 2525?

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

      Thanks so much!

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

      @@smbrapport In that case you have to Open another SMTPD daemon listening on 25 port. Thanks !!