Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why is setting up an SMTP server on a Linux distro so...in(s)ane?

Why is setting up an SMTP server on a Linux distro so...in(s)ane?

Scheduled Pinned Locked Moved The Lounge
asp-netquestioncsharpdotnetcom
29 Posts 17 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Marc Clifton

    Getting .NET 6 installed wasn't too hard, except I discovered that flavors of Ubuntu > 18.04 don't work. Debian worked fine. Got a bunch of cool stuff working (article on Tuesday) but this mail server setup is nutso. I guess I will have to try following the DigitalOcean instructions to the letter.

    Latest Articles:
    ASP.NET Core Web API: Plugin Controllers and Services

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #19

    People keep telling me to use some form of Ubuntu. I'm happy with Suse.

    Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

    1 Reply Last reply
    0
    • G Gary R Wheeler

      Marc Clifton wrote:

      I don't understand why it has to be so complicated

      Because, if you don't know how to do it from the innate elegance of all things that are Linux, none of the other Linux afficionado's want you to find out. They're worried that your voice might drown theirs out in their worship at Linus' feet.

      Software Zen: delete this;

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #20

      I did some WarCraft on some brand of Linux. Some Rimorld too. The only thing I miss, is VS.

      Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

      1 Reply Last reply
      0
      • M Marc Clifton

        I've perused about 6 different packages (I don't want a UI package) and the web pages describing the setup process is like reading a magical scroll on burnt parchment and hoping the incantation doesn't summon a demon. I mean seriously. It should be: sudo apt install smtp-server 1. Answer a question about the hostname (or figure it out from the /etc/hostname file) 2. Answer a question about the default inbound and "from" email or default to "admin" 3. Firewall should be automatically configured. Get back: 1. the server name (should be the same as the hostname!) 2. the ports (should be standard!) 3. the folder where inbound emails are put into 4. a list of useful CL options to change some basic config stuff. But noooooo. Edit this, mangle that, sudo this and this and that and thar, pray here, prick finger for blood there, curse over yonder... It's insane, it's inane, I don't understand why it has to be so complicated.

        Latest Articles:
        ASP.NET Core Web API: Plugin Controllers and Services

        T Offline
        T Offline
        theoldfool
        wrote on last edited by
        #21

        Ain't no picnic regardless of OS. I have done a couple of Exchange servers and managed a couple of domain email servers on O365. IIRC, powershell took a bunch of typing. Microsoft makes you jump through hoops to use your own domain name. Best done for security reasons. Exchange can be fussy about ports, requiring receive connectors in our case. Like anything else, once you know how to do it, it is intuitive. Here is how to do it on a Pi: How to Install an Email Server on your Raspberry Pi? – RaspberryTips[^] Interesting how folks here like to belittle Linux, I think the majority of Internet servers run Linux. I think Googles stuff, like Android is based from Linux. Desktop? Never close until Chromebooks showed up. I imagine most of you haters prefer running Windows on your smartphones. :cool:

        >64 Some days the dragon wins. Suck it up.

        1 Reply Last reply
        0
        • M Marc Clifton

          I've perused about 6 different packages (I don't want a UI package) and the web pages describing the setup process is like reading a magical scroll on burnt parchment and hoping the incantation doesn't summon a demon. I mean seriously. It should be: sudo apt install smtp-server 1. Answer a question about the hostname (or figure it out from the /etc/hostname file) 2. Answer a question about the default inbound and "from" email or default to "admin" 3. Firewall should be automatically configured. Get back: 1. the server name (should be the same as the hostname!) 2. the ports (should be standard!) 3. the folder where inbound emails are put into 4. a list of useful CL options to change some basic config stuff. But noooooo. Edit this, mangle that, sudo this and this and that and thar, pray here, prick finger for blood there, curse over yonder... It's insane, it's inane, I don't understand why it has to be so complicated.

          Latest Articles:
          ASP.NET Core Web API: Plugin Controllers and Services

          abmvA Offline
          abmvA Offline
          abmv
          wrote on last edited by
          #22

          if its just for testing try hmailserver on a windows 10 or 11 desktop

          Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

          We are in the beginning of a mass extinction. - Greta Thunberg

          1 Reply Last reply
          0
          • M Marc Clifton

            I've perused about 6 different packages (I don't want a UI package) and the web pages describing the setup process is like reading a magical scroll on burnt parchment and hoping the incantation doesn't summon a demon. I mean seriously. It should be: sudo apt install smtp-server 1. Answer a question about the hostname (or figure it out from the /etc/hostname file) 2. Answer a question about the default inbound and "from" email or default to "admin" 3. Firewall should be automatically configured. Get back: 1. the server name (should be the same as the hostname!) 2. the ports (should be standard!) 3. the folder where inbound emails are put into 4. a list of useful CL options to change some basic config stuff. But noooooo. Edit this, mangle that, sudo this and this and that and thar, pray here, prick finger for blood there, curse over yonder... It's insane, it's inane, I don't understand why it has to be so complicated.

            Latest Articles:
            ASP.NET Core Web API: Plugin Controllers and Services

            L Offline
            L Offline
            lmoelleb
            wrote on last edited by
            #23

            apt-get... ehh... sounds.... old and complicated. X| Isn't there a Docker image you can use?

            1 Reply Last reply
            0
            • D Dave Kreskowiak

              And this is precisely why Linux will never take over the desktop.

              Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
              Dave Kreskowiak

              D Offline
              D Offline
              den2k88
              wrote on last edited by
              #24

              This is one of the reasons. The second one, shared by Mr Torvalds himeslf, is that software packaging in Linux distributions is "a major *fing pain in the a*" [quote]. IMHO Third one is that most software is unbelievably forked up: instead of a limited choice of workable software you have a vast selection of... half complete solutions in search of problems.

              GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

              1 Reply Last reply
              0
              • M Marc Clifton

                Getting .NET 6 installed wasn't too hard, except I discovered that flavors of Ubuntu > 18.04 don't work. Debian worked fine. Got a bunch of cool stuff working (article on Tuesday) but this mail server setup is nutso. I guess I will have to try following the DigitalOcean instructions to the letter.

                Latest Articles:
                ASP.NET Core Web API: Plugin Controllers and Services

                R Offline
                R Offline
                realJSOP
                wrote on last edited by
                #25

                Marc Clifton wrote:

                Getting .NET 6 installed wasn't too hard, except I discovered that flavors of Ubuntu > 18.04 don't work. Debian worked fine.

                Which is weird (and annoying), because Ubuntu is based on Debian...

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                1 Reply Last reply
                0
                • M Marc Clifton

                  I've perused about 6 different packages (I don't want a UI package) and the web pages describing the setup process is like reading a magical scroll on burnt parchment and hoping the incantation doesn't summon a demon. I mean seriously. It should be: sudo apt install smtp-server 1. Answer a question about the hostname (or figure it out from the /etc/hostname file) 2. Answer a question about the default inbound and "from" email or default to "admin" 3. Firewall should be automatically configured. Get back: 1. the server name (should be the same as the hostname!) 2. the ports (should be standard!) 3. the folder where inbound emails are put into 4. a list of useful CL options to change some basic config stuff. But noooooo. Edit this, mangle that, sudo this and this and that and thar, pray here, prick finger for blood there, curse over yonder... It's insane, it's inane, I don't understand why it has to be so complicated.

                  Latest Articles:
                  ASP.NET Core Web API: Plugin Controllers and Services

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #26

                  Because 99.99% of people who can install Linux and putz around on the command line should not be allowed to run a mail server. Making the learning curve to setting one up a thousand mile high completely smooth cliff face protected by a 100 mile deep minefield and top mounted flame throwers sheathing the entire cliff face in fire is a feature intended to limit the supply of misconfigured mail servers available for spammers to use and to limit the accumulation of IPv4s on never delete spammer blacklists.

                  Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                  1 Reply Last reply
                  0
                  • M Marc Clifton

                    I've perused about 6 different packages (I don't want a UI package) and the web pages describing the setup process is like reading a magical scroll on burnt parchment and hoping the incantation doesn't summon a demon. I mean seriously. It should be: sudo apt install smtp-server 1. Answer a question about the hostname (or figure it out from the /etc/hostname file) 2. Answer a question about the default inbound and "from" email or default to "admin" 3. Firewall should be automatically configured. Get back: 1. the server name (should be the same as the hostname!) 2. the ports (should be standard!) 3. the folder where inbound emails are put into 4. a list of useful CL options to change some basic config stuff. But noooooo. Edit this, mangle that, sudo this and this and that and thar, pray here, prick finger for blood there, curse over yonder... It's insane, it's inane, I don't understand why it has to be so complicated.

                    Latest Articles:
                    ASP.NET Core Web API: Plugin Controllers and Services

                    O Offline
                    O Offline
                    obermd
                    wrote on last edited by
                    #27

                    Interesting - this is almost exactly what it takes to set up an SMTP server on Windows. The only steps I take on Windows that's not on this list is to configure the anti-relay features.

                    1 Reply Last reply
                    0
                    • M Marc Clifton

                      I've perused about 6 different packages (I don't want a UI package) and the web pages describing the setup process is like reading a magical scroll on burnt parchment and hoping the incantation doesn't summon a demon. I mean seriously. It should be: sudo apt install smtp-server 1. Answer a question about the hostname (or figure it out from the /etc/hostname file) 2. Answer a question about the default inbound and "from" email or default to "admin" 3. Firewall should be automatically configured. Get back: 1. the server name (should be the same as the hostname!) 2. the ports (should be standard!) 3. the folder where inbound emails are put into 4. a list of useful CL options to change some basic config stuff. But noooooo. Edit this, mangle that, sudo this and this and that and thar, pray here, prick finger for blood there, curse over yonder... It's insane, it's inane, I don't understand why it has to be so complicated.

                      Latest Articles:
                      ASP.NET Core Web API: Plugin Controllers and Services

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #28

                      Because it's "free"?

                      "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                      1 Reply Last reply
                      0
                      • L Lost User

                        DrWalter PE wrote:

                        It's that way, so you can claim to be a guru once you get it working.

                        I don't see the problem? Raspberri Pi's don't work on VB6.

                        Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                        W Offline
                        W Offline
                        wohyoun5
                        wrote on last edited by
                        #29

                        When the shipowner said something, the interpreter said that and was in the corner of the cabin.
                        I brought the gwak and opened it and kicked it out. And in it, there are many things made of glass.

                        우리카지노 전통의 온라인 탑 브랜드카지노[^]

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups