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 Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #1

    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

    R D L M Richard Andrew x64R 13 Replies 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

      R Offline
      R Offline
      RickZeeland
      wrote on last edited by
      #2

      I always get scared when seeing instruction videos on how to install software on Linux, about 90% of the video usually show a terminal screen with reams of scrolling text :-\

      M 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
        Dave Kreskowiak
        wrote on last edited by
        #3

        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 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
          #4

          Marc Clifton wrote:

          It's insane, it's inane, I don't understand why it has to be so complicated.

          Some distro's come set up as different machines. I argued a week with my PC to get a decent webserver going; there's distro's with Apache/Mono/ASP.NET preinstalled. Was up and running minutes after install :) Search more, but dive less deep.

          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.

          M 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

            M Offline
            M Offline
            Mark H2
            wrote on last edited by
            #5

            Why? It's Linux, that's why. :)

            If your neighbours don't listen to The Ramones, turn it up real loud so they can. “We didn't have a positive song until we wrote 'Now I Wanna Sniff Some Glue!'” ― Dee Dee Ramone "The Democrats want my guns and the Republicans want my porno mags and I ain't giving up either" - Joey Ramone

            L 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

              Richard Andrew x64R Offline
              Richard Andrew x64R Offline
              Richard Andrew x64
              wrote on last edited by
              #6

              It's because most Linux software is created by a loose association of many different people in their spare time. Ever hear the old joke, a camel is just a horse that was designed by a committee.

              The difficult we do right away... ...the impossible takes slightly longer.

              L 1 Reply Last reply
              0
              • M Mark H2

                Why? It's Linux, that's why. :)

                If your neighbours don't listen to The Ramones, turn it up real loud so they can. “We didn't have a positive song until we wrote 'Now I Wanna Sniff Some Glue!'” ― Dee Dee Ramone "The Democrats want my guns and the Republicans want my porno mags and I ain't giving up either" - Joey Ramone

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

                Hahaha :D Nice :D Did you notice how many machines run on it? You prolly have those at home :D It sounds like the "F*ck M$" from the '90's.

                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.

                T 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
                  DrWalter PE
                  wrote on last edited by
                  #8

                  It's that way, so you can claim to be a guru once you get it working. BTW, I got one sert up on linux 0.98 wat back when. You should have tried it without the interwebs to search for documentation. It was painful.

                  L M 2 Replies Last reply
                  0
                  • Richard Andrew x64R Richard Andrew x64

                    It's because most Linux software is created by a loose association of many different people in their spare time. Ever hear the old joke, a camel is just a horse that was designed by a committee.

                    The difficult we do right away... ...the impossible takes slightly longer.

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

                    Quite the joke, since a camel is a horse with more endurance. The lump is also great on BBQ. Camels > horses. It wasn't designed by politics, and it still competes with the top 1 commercial package called Windows, without similar funding. All I need runs under Linux, including all my games. Even C# there, with some differences your R&D may pay for itself. The only thing that makes sure it won't work is Visual Studio.

                    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.

                    T 1 Reply Last reply
                    0
                    • D DrWalter PE

                      It's that way, so you can claim to be a guru once you get it working. BTW, I got one sert up on linux 0.98 wat back when. You should have tried it without the interwebs to search for documentation. It was painful.

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

                      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 1 Reply Last reply
                      0
                      • L Lost User

                        Quite the joke, since a camel is a horse with more endurance. The lump is also great on BBQ. Camels > horses. It wasn't designed by politics, and it still competes with the top 1 commercial package called Windows, without similar funding. All I need runs under Linux, including all my games. Even C# there, with some differences your R&D may pay for itself. The only thing that makes sure it won't work is Visual Studio.

                        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.

                        T Offline
                        T Offline
                        trønderen
                        wrote on last edited by
                        #11

                        Eddy Vluggen wrote:

                        it still competes with the top 1 commercial package called Windows, without similar funding

                        When the 'idealistic' aspects of Linux need to be stressed, it is 'without similar funding'. If the professional quality of Linux components need to be stressed, there are thousands of highly qualified developers working in companies with extremely high quality standards that contributes to the common good. There is a lot of truth to the second point (except that lots of Linux software made during working hours may be a few notches below 'extremely high quality standards). Funding rarely is any problem for the great majority of Linux software. Thousands of companies let their employees spend part (or all) of their working time doing the development. I have myself worked on a handful of projects where the bosses knew the marketing value of "our software is free and open, and we welcome external contributions": If "open software" had not been included in the project description, we would have had a lot more difficulty raising our project on the internal funding scale - even when we couldn't possibly imagine who would care for the code we developed.

                        L 1 Reply Last reply
                        0
                        • L Lost User

                          Hahaha :D Nice :D Did you notice how many machines run on it? You prolly have those at home :D It sounds like the "F*ck M$" from the '90's.

                          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.

                          T Offline
                          T Offline
                          trønderen
                          wrote on last edited by
                          #12

                          Eddy Vluggen wrote:

                          Did you notice how many machines run on it? You prolly have those at home

                          The thing is: I don't see the Linux. At the developer level, the fight between Windows and Linux has been on several battlegrounds, such as Command Line Interface vs. GUI. I see no CLI in Android. It has been 42 different file systems vs. NTFS. None of the "anonymous" Linux devices I encounter let me choose the file system I consider the best; actually, I do not see the file system at all. The 'elegance' of the fork() concept, and great value of a process having its own isolated address space. That you can edit the configuration file of any application using a 7-bit ASCII editor. The 'elegance' of creating a file to act as a semaphore. The 'obvious' thing that "MyFile" and "Myfile" are two distinct files, and "My File" of course can't be used as a name because it would break the great majority of tools ... I do not see any of the promoted 'qualities' of Linux (or *nix in general) in any of those anonymous Linux devices. If another OS had been playing in the background, I wouldn't know. Someone might give me a new smartphone (I need it; the glass is broken on my six year old one) with the same apps, same icons etc. as my old one, and if done properly, I wouldn't have been able to detect that the underlaying OS was Windows. Not until I checked the System information, or was told that I would have to download apps from MS Store. Noting in the ordinary user interface would have told. So Linux is there, but you won't notice it. You have to read it somewhere else, or be told by an evangelist.

                          L 1 Reply Last reply
                          0
                          • T trønderen

                            Eddy Vluggen wrote:

                            Did you notice how many machines run on it? You prolly have those at home

                            The thing is: I don't see the Linux. At the developer level, the fight between Windows and Linux has been on several battlegrounds, such as Command Line Interface vs. GUI. I see no CLI in Android. It has been 42 different file systems vs. NTFS. None of the "anonymous" Linux devices I encounter let me choose the file system I consider the best; actually, I do not see the file system at all. The 'elegance' of the fork() concept, and great value of a process having its own isolated address space. That you can edit the configuration file of any application using a 7-bit ASCII editor. The 'elegance' of creating a file to act as a semaphore. The 'obvious' thing that "MyFile" and "Myfile" are two distinct files, and "My File" of course can't be used as a name because it would break the great majority of tools ... I do not see any of the promoted 'qualities' of Linux (or *nix in general) in any of those anonymous Linux devices. If another OS had been playing in the background, I wouldn't know. Someone might give me a new smartphone (I need it; the glass is broken on my six year old one) with the same apps, same icons etc. as my old one, and if done properly, I wouldn't have been able to detect that the underlaying OS was Windows. Not until I checked the System information, or was told that I would have to download apps from MS Store. Noting in the ordinary user interface would have told. So Linux is there, but you won't notice it. You have to read it somewhere else, or be told by an evangelist.

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

                            You did not see. We just using it, and not just Linux. I been here since QNX. You go ahead and throw with discussions. Open source is democracy.

                            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
                            • T trønderen

                              Eddy Vluggen wrote:

                              it still competes with the top 1 commercial package called Windows, without similar funding

                              When the 'idealistic' aspects of Linux need to be stressed, it is 'without similar funding'. If the professional quality of Linux components need to be stressed, there are thousands of highly qualified developers working in companies with extremely high quality standards that contributes to the common good. There is a lot of truth to the second point (except that lots of Linux software made during working hours may be a few notches below 'extremely high quality standards). Funding rarely is any problem for the great majority of Linux software. Thousands of companies let their employees spend part (or all) of their working time doing the development. I have myself worked on a handful of projects where the bosses knew the marketing value of "our software is free and open, and we welcome external contributions": If "open software" had not been included in the project description, we would have had a lot more difficulty raising our project on the internal funding scale - even when we couldn't possibly imagine who would care for the code we developed.

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

                              trønderen wrote:

                              When the 'idealistic' aspects of Linux need to be stressed, it is 'without similar funding'.

                              It is, isn't it?

                              trønderen wrote:

                              If the professional quality of Linux components need to be stressed, there are thousands of highly qualified developers working in companies with extremely high quality standards that contributes to the common good.

                              Whoa, I was nearly impressed :D

                              trønderen wrote:

                              There is a lot of truth to the second point

                              Yeah, whatever.

                              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
                              • L Lost User

                                Marc Clifton wrote:

                                It's insane, it's inane, I don't understand why it has to be so complicated.

                                Some distro's come set up as different machines. I argued a week with my PC to get a decent webserver going; there's distro's with Apache/Mono/ASP.NET preinstalled. Was up and running minutes after install :) Search more, but dive less deep.

                                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.

                                M Offline
                                M Offline
                                Marc Clifton
                                wrote on last edited by
                                #15

                                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 R 2 Replies Last reply
                                0
                                • R RickZeeland

                                  I always get scared when seeing instruction videos on how to install software on Linux, about 90% of the video usually show a terminal screen with reams of scrolling text :-\

                                  M Offline
                                  M Offline
                                  Marc Clifton
                                  wrote on last edited by
                                  #16

                                  RickZeeland wrote:

                                  about 90% of the video usually show a terminal screen with reams of scrolling text

                                  Yup. And someone with an Indian accent mumbling through the process. :sigh:

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

                                  1 Reply Last reply
                                  0
                                  • D DrWalter PE

                                    It's that way, so you can claim to be a guru once you get it working. BTW, I got one sert up on linux 0.98 wat back when. You should have tried it without the interwebs to search for documentation. It was painful.

                                    M Offline
                                    M Offline
                                    Marc Clifton
                                    wrote on last edited by
                                    #17

                                    DrWalter PE wrote:

                                    You should have tried it without the interwebs to search for documentation. It was painful.

                                    OMG. I can only imagine. Then again, the stuff on the interwebs is contradictory and often wrong.

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

                                    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

                                      G Offline
                                      G Offline
                                      Gary R Wheeler
                                      wrote on last edited by
                                      #18

                                      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 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

                                        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
                                          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