| Author |
Message |
|
|
Post subject: mail server howto?
Posted: Dec 02, 2006 - 08:00 PM
|
|

Joined: Dec 02, 2006
Posts: 58
Location: Veendam, Netherlands
Status: Offline
|
|
I know there are many documents on the internet about installing a mail server on debian.
but to make life easier for users, perhaps there can be an script which gets the needed packages and asks the users for input on specific config questions which will create the configfiles for them. and even ask them if the mail applications should be up after a (re)boot!
Just to make life a bit easier for most of us.
At home I run a imap server, but perhaps ppl like to have access to thier mail through a webclient, so that they can access it from anywhere. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: mail server howto?
Posted: Dec 02, 2006 - 08:09 PM
|
|

Joined: Nov 29, 2006
Posts: 122
Location: Dresden
Status: Offline
|
|
| This is a very good idea. The debian installer has such scripts which install a mail server automaticallty. |
_________________ Scanmetender[Soft] - Tender security solutions for your computer.
Scanmetender Standard - It is free! For GNU/Linux and Windows(R).
http://www.scanmetender.com
|
| |
|
|
|
 |
|
|
Post subject: RE: mail server howto?
Posted: Dec 02, 2006 - 08:47 PM
|
|

Joined: Dec 01, 2006
Posts: 54
Location: Wetzlar
Status: Offline
|
|
| i am interested in such a script too! a realy good idea! i have a server running with debian stable, but a server based on sidux sounds pretty good. |
_________________ Laptop Intel Core2 Duo, 2GB Ram, nVidia Quadro NVS 140M, sidux 2008-03 Ουρέα - kde - up-to-date
sidux kernel-"up-to-date"
|
| |
|
|
|
 |
|
|
Post subject: RE: mail server howto?
Posted: Dec 03, 2006 - 04:10 AM
|
|
Joined: Nov 28, 2006
Posts: 4303
Status: Offline
|
|
When I started my script, I thought to myself, hey, maybe it would be a good idea to have a script that helped smooth out the bumps and fixes of dus. Then I thought to myself, hey, maybe it would be a good idea to script my prefered rediff-backup methods so other users could use it too.
Soooo... at the risk of being obvious, if some of you feel that it would be a nice idea to script something quite unusual, but of obvious value, that would be helpful to you and other users, why not do it? Feel free to use the methods of du-fixes as a model, it's designed to be reasonably easy to read and duplicate in terms of adding features, so there's no reason not to use it to do what you want to do, and to figure out the hacks you do, and figure out how to script them.
It doesn't take that long to do it, so hop hop...
I only script stuff I find myself wanting as features, plus of course fixes etc, and setting up mailservers isn't something I'm particularly interested in at the moment, though I may be in the distant future, and having a nice script to help me out would certainly be nice... |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: mail server howto?
Posted: Dec 03, 2006 - 11:57 PM
|
|
Joined: Dec 03, 2006
Posts: 9
Location: Buckenhof
Status: Offline
|
|
|
h2 wrote:
When I started my script, I thought to myself, hey, maybe it would be a good idea to have a script that helped smooth out the bumps and fixes of dus. Then I thought to myself, hey, maybe it would be a good idea to script my prefered rediff-backup methods so other users could use it too.
Soooo... at the risk of being obvious, if some of you feel that it would be a nice idea to script something quite unusual, but of obvious value, that would be helpful to you and other users, why not do it? Feel free to use the methods of du-fixes as a model, it's designed to be reasonably easy to read and duplicate in terms of adding features, so there's no reason not to use it to do what you want to do, and to figure out the hacks you do, and figure out how to script them.
It doesn't take that long to do it, so hop hop...
I only script stuff I find myself wanting as features, plus of course fixes etc, and setting up mailservers isn't something I'm particularly interested in at the moment, though I may be in the distant future, and having a nice script to help me out would certainly be nice...
Well... it's quite unpolite to tell someone "if you need it, do it yourself" especially when a request is posted in the REQUEST forum. What's the point of a request forum if the requests are being turned down by saying do it yourself? Some (only about 90% roughly guessed ) people just don't know how to write scripts. If they knew how to do it, they'd just... do it.  |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: mail server howto?
Posted: Dec 04, 2006 - 02:31 AM
|
|
Joined: Nov 28, 2006
Posts: 4303
Status: Offline
|
|
It's not impolite at all, it's a good idea, several people who clearly are able to do this complex setup posted, it's not unreasonable at all to suggest that they consider doing it.
Anyone who can configure a mail server should probably have at least basic scripting or editing skills, which is really all it takes to script this.
Or they can provide a step by step, code sample filled how to, which can then be used as a template for someone else to script that.
That's how stuff gets done after all.
Something as specific and technically complex as setting up a mail server can hardly be considered to come under the areas that a desktop os should consider supporting, but it is a good thing to do for someone out there who needs it.
So, I'll repeat, great idea, of use to very few people, a perfect thing for someone to script for the project, but hardly reasonable to expect others who have no need of it to spend their time on. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: mail server howto?
Posted: Dec 04, 2006 - 01:24 PM
|
|

Joined: Dec 02, 2006
Posts: 58
Location: Veendam, Netherlands
Status: Offline
|
|
I will at least write a piece of documentation of how I installed an imap-server system on sidux (previous k***tix).
If I have time to get to scripting, I don't know, I'm more into documentation, but I will certainly look at your script h2! |
_________________ ---
eislon - a sidux manual/meta package translator.
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: mail server howto?
Posted: Dec 04, 2006 - 08:10 PM
|
|
Joined: Nov 28, 2006
Posts: 4303
Status: Offline
|
|
I recommend using one of the script modules as a model, try for example du-fixes-clean-up.sh, which gives a good smaller template, with comments etc to show where each part goes.
All the modules are fairly similar, but this is probably one of the easier ones to decipher. If the steps are written out clearly it's usually a fairly straightforward job to script them, and if they are very clear, and no steps are missed, I can usually create a module fairly quickly.
However, since I am probably not going to install a mailserver any time soon, I couldn't do the most crticital part of making a script: TESTING IT, over and over again to make sure it is robust and does not fail on unanticipated exceptions. That's really the hardest part of creating these kinds of scripts, writing them is usually the easiest thing to do, what is harder, and often more time consuming, is running test after test to make sure it works on more than one specific install. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: RE: mail server howto?
Posted: Dec 04, 2006 - 10:04 PM
|
|
Joined: Dec 03, 2006
Posts: 9
Location: Buckenhof
Status: Offline
|
|
|
h2 wrote:
It's not impolite at all, it's a good idea, several people who clearly are able to do this complex setup posted, it's not unreasonable at all to suggest that they consider doing it.
Anyone who can configure a mail server should probably have at least basic scripting or editing skills, which is really all it takes to script this.
Or they can provide a step by step, code sample filled how to, which can then be used as a template for someone else to script that.
That's how stuff gets done after all.
Something as specific and technically complex as setting up a mail server can hardly be considered to come under the areas that a desktop os should consider supporting, but it is a good thing to do for someone out there who needs it.
So, I'll repeat, great idea, of use to very few people, a perfect thing for someone to script for the project, but hardly reasonable to expect others who have no need of it to spend their time on.
I completely agree with you, only a few people would need such a script. And there are more important things to concentrate on. I just found the original reply to the request a bit off. But that's probably a "coder" thing. What some people find impolite is just normal to other people. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: mail server howto?
Posted: Dec 14, 2006 - 07:48 AM
|
|

Joined: Dec 04, 2006
Posts: 65
Status: Offline
|
|
|
Franc wrote:
Well... it's quite unpolite to tell someone "if you need it, do it yourself"
I wouldn't mind being told to do it myself provided a guide has been given on how to do it. I think it's a question of whether the requestor is the "casual user" who just wants things to work or the "admin guy" being told " . . . hey, you can also do it"  |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: mail server howto?
Posted: Dec 14, 2006 - 10:11 PM
|
|
Joined: Dec 01, 2006
Posts: 481
Location: NYC/NJ Shore area
Status: Offline
|
|
Thats the thing today with Linux being more desktop/user friendly,folks who just want things to work so they can add surfing,email,some music and what-not to there day,do not want to learn how things work or how to learn how to do things....they just want to be able to.
With all the windows users that come to linux daily as Linux progresses into a ...."it just works" out of the box with a livecd,less and less linux users will know the hows,whys,or whats,or I should say.....more and more wont care.Yes some will take the time to teach themselves,but the "I want it nows" wont sit through months of reading or put in the daily hours to better themselves.
It will only get worse as Linux moves ahead. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: mail server howto?
Posted: Dec 22, 2006 - 06:35 AM
|
|

Joined: Dec 02, 2006
Posts: 58
Location: Veendam, Netherlands
Status: Offline
|
|
| I don't agree with Ironwalker about not wanting to learn, ok ppl like to do things nice and quickly, so why figure it out again if it is already done. When I get the time I will write a little how to install a mail server (imap) so that ppl can look at it and try it. |
_________________ ---
eislon - a sidux manual/meta package translator.
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Dec 22, 2006 - 02:53 PM
|
|
Joined: Dec 02, 2006
Posts: 108
Status: Offline
|
|
I have to agree with Ironwalker on this.
Some things should be a bit more difficult and it should take you a bit more time to set up.
A lot of issues we have on the internet are because of the fact that there are a lot of apps out there that are really easy to set up and run. Unfortunatly they are not safe that way. (A "standard" Windows install is a good example.)
Already there are huge spam issues. Telling people how to easily set up an e-mail server without the proper knowledge to make sure their setup is not open to use from spammers is a real issue.
This means that you need to know at least a little bit about the workings of an e-mail system. So I think that "simple" howto won't suffice here.
I think the same goes for all other internet/public services. So also web servers, ftp servers, telnet servers etc... |
|
|
| |
|
|
|
 |
|
|
|