LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2017, 01:48 PM   #16
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,258
Blog Entries: 3

Rep: Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713
e


Quote:
Originally Posted by dedec0 View Post
Can I install postfix without root access?
I'm not sure. You could build using the source package and tweak that so it installs somewhere you have write access to. However, the mail for the users needs to get written under their permissions and that requires root. Also, binding to port 25 requires root, even if only temporarily. I'm not sure what kind of hoops you have to hop through to get the external mail servers to send to you on a non-standard port.

Then there is probably the need for IMAPS which means setting up Dovecot.
 
Old 01-31-2017, 02:09 PM   #17
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Turbocapitalist View Post
I'm not sure. You could build using the source package and tweak that so it installs somewhere you have write access to. However, the mail for the users needs to get written under their permissions and that requires root. Also, binding to port 25 requires root, even if only temporarily. I'm not sure what kind of hoops you have to hop through to get the external mail servers to send to you on a non-standard port.

Then there is probably the need for IMAPS which means setting up Dovecot.
You mean that every mail account will also need an user on the server itself? How can I overcome this limitation? Lets imagine one probable reality, as I am seeing things now: 5 kids -> 2 Yahoo accounts; 1 Yandex account; 1 Hotmail account; 1 Gmail account. Each will have an account on DSafeMail. Wouldn't all of these accounts be stored on the service that makes the DSafeMail site?

Temporarily binding to port 25? Temporarily? I do not understand why.

((just imagining)) I would probably not bind it to port 25, but to one free port after the predefined ports.

I may ask root to install packages, this is not hard to happen. But I would like to run the needed programs somehow separated from other users and from the server, as a whole. It should be binded with my user only, as the websites I have in my subdomain.
 
Old 01-31-2017, 02:38 PM   #18
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,258
Blog Entries: 3

Rep: Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713
Temporarily as root. The usual way is for the SMTP server to listen on the official port, that's port 25. Newer programs start as root to bind to a low port but then drop to an unprivileged user to manage the rest of the activities. I gather there are ways around using port 25 and using a higher one, but as mentioned my mail service knowledge is quite rusty.
 
1 members found this post helpful.
Old 01-31-2017, 03:21 PM   #19
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Turbocapitalist View Post
Temporarily as root. The usual way is for the SMTP server to listen on the official port, that's port 25. Newer programs start as root to bind to a low port but then drop to an unprivileged user to manage the rest of the activities. I gather there are ways around using port 25 and using a higher one, but as mentioned my mail service knowledge is quite rusty.
No problem. (: Now I am mostly needing pointers and simpler steps to find what will be needed. Once I reach that list of a clearer situation, is when I will start trying to build it.
 
Old 02-01-2017, 09:09 AM   #20
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Question Are we diverging in our ideas?

Continuing my readings in some pages pointed here, I thought something new. Most of what have been pointed here, is about spam and measures a mail server can do to avoid receiving spam or to reject messages (possibly being spam).

This might be because our ideas are diverging in a basic point. When I talked about receiving messages only for pre-aproved addresses, I was thinking in the point view of the end user. In other words, the work to prevent spam messages coming to my users is in a previous level of the service. Thus, the white and black lists (as I meant initially) should not make the server reject messages as if they were spam. This would not be fair, from the point of view of the mail servers network.

The messages I want to reject (or to keep in a separate folder for, at least, sometime) are not good examples of messages the server should reject (as spam messages are). They are bad from a different point of view: the kids using the service with the protection of not receiving messages from random people around the web.

Please confirm to me. Do you think that I still should learn about mail server configurations related do spam, white, grey and black lists, and other related matters?

If the answer is yes, will it be possible that this knowledge is applied in a new level of the server (the "DSafeMail" service's), capable of procesing the good and bad messages, as I idealize?
 
Old 02-01-2017, 09:21 AM   #21
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,258
Blog Entries: 3

Rep: Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713
The whitelisting should work in that regard, but rather than rejecting the unknown addresses they need to go into a queue of sorts. Blacklisted addresses can be dropped, as they are known bad. Perhaps the greylisting method can be adapted so that the unknown messages are not rejected but simply queued and that the acceptance is based on manual action. Most of the whiteslisting advice has to do with hostnames and ip addresses, but should be modifiable to evaluate e-mail addresses. Both are just speculation as I haven't tried it.

About the spam, though the one article above comes in part from a marketing arm of M$, one that they like to try to position as "research", even they have to admit the level of economic damage. Though they may lowball the estimate, it's still in the same general level. What they fail to go into is the cause: botnets of M$ machines connected to the net. So the reality is that in order to eradicate spam, M$ products have to be eradicated at least from the open Internet.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Koha Integrated Library System Brings FOSS to Libraries LXer Syndicated Linux News 0 07-19-2016 07:48 PM
LXer: Teach your kids Linux from an early age with Qimo linux for kids LXer Syndicated Linux News 0 05-31-2010 07:40 PM
LXer: legal, management, economics issues of FOSS private email servers LXer Syndicated Linux News 0 05-29-2010 07:21 PM
LXer: The Problem with FOSS Software on an FOSS Operating System LXer Syndicated Linux News 0 02-23-2010 09:10 AM
LXer: Most FOSS users don't contribute to FOSS? No problem! LXer Syndicated Linux News 0 12-12-2009 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration