How'd you recommend I intermix Linux with TCP/IP Concepts while learning?

oslon

New Member
Joined
Oct 15, 2023
Messages
27
Reaction score
3
Credits
293
I prefer red hat distros like centos or RL. (centos is EOL and it's sad).
Say i want to learn about mail servers (to send mails). i.e smtp. Now, I need to know about sendmail, postfix etc.
I want to understand all the TCP IP configuration for SMTP using sendmail, postfix etc. I want to send emails at the command line and trace the packets.
My goal is not to use postfix but configure all the things required in TCP IP protocol suite from scratch. But I'm not friendly with software development/network programming.
I'm wondering if you've any suggestions for me?
 


f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,397
Reaction score
4,850
Credits
47,009
Are you asking how to write your own mta?
 
OP
O

oslon

New Member
Joined
Oct 15, 2023
Messages
27
Reaction score
3
Credits
293
How to configure maybe, I don't know programming only scripting(basic level, nothing to be proud of). I don't want to install and use it. I want to understand the internals.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,397
Reaction score
4,850
Credits
47,009
The only thing you need to know about tcp/ip is how to configure your server with an ip configuration and how to open ports in your firewall. Just use Postfix, it's the most used and best documented.
 
OP
O

oslon

New Member
Joined
Oct 15, 2023
Messages
27
Reaction score
3
Credits
293
That way I won't learn about MTAs and how they work in detail is my assumption.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,397
Reaction score
4,850
Credits
47,009
Yes you will, if your goal is to learn how to setup a mailserver. Figuring out how to setup one and configure one will teach you all you need to know. That's the way I learned it as well.
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
1,106
Reaction score
1,075
Credits
10,515
That way I won't learn about MTAs and how they work in detail is my assumption.
The two MTAs that predominated in the linux universe were sendmail and postfix. The "bibles" for them in my neck of the woods were published by O'Reilly and were these monumental tomes:

"Sendmail", by Bryan Costales, Claus Assmann, George Jansen, Gregory Neil Shapiro. 2007. (4th edition)

A pdf version is here:

and

"Postfix: The definitive Guide", by Kyle D Dent. 2003.

They are both quite old now, and I've moved on from my time with them, but they will doubtless still contain fundamentals that are still relevant.

A colleague mentioned this book:
"The Book Of Postfix Paperback", by Patrick Hidebrandt, Ralf Koetter. 2017.

It's more modern but I can't vouch for it.
 
OP
O

oslon

New Member
Joined
Oct 15, 2023
Messages
27
Reaction score
3
Credits
293
The two MTAs that predominated in the linux universe were sendmail and postfix. The "bibles" for them in my neck of the woods were published by O'Reilly and were these monumental tomes:

"Sendmail", by Bryan Costales, Claus Assmann, George Jansen, Gregory Neil Shapiro. 2007. (4th edition)

A pdf version is here:

and

"Postfix: The definitive Guide", by Kyle D Dent. 2003.

They are both quite old now, and I've moved on from my time with them, but they will doubtless still contain fundamentals that are still relevant.

A colleague mentioned this book:
"The Book Of Postfix Paperback", by Patrick Hidebrandt, Ralf Koetter. 2017.

It's more modern but I can't vouch for it.
Thank you.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,397
Reaction score
4,850
Credits
47,009
The two MTAs that predominated in the linux universe were sendmail and postfix. The "bibles" for them in my neck of the woods were published by O'Reilly and were these monumental tomes:

"Sendmail", by Bryan Costales, Claus Assmann, George Jansen, Gregory Neil Shapiro. 2007. (4th edition)

A pdf version is here:
The Postfix documentation is more than enough now days to learn about mailservers, that's how I learned and setup my own mailserver.
 
OP
O

oslon

New Member
Joined
Oct 15, 2023
Messages
27
Reaction score
3
Credits
293
If I write an application that sends mail, I just need smtp server right?
 

Members online


Latest posts

Top