Click to See Complete Forum and Search --> : Help I dont get it! Setting up mail server. Need input
Landruu
02-16-2001, 12:14 PM
Ok, maybee I'm in over my head again. But I'm learning.
Using RH6.2
I have a new domain. Mail for the domain is set to go to(from my isp)to mail.mynewdomain.org.
I am planning on following the directions from here http://www.linuxdoc.org/HOWTO/ISP-Setup-RedHat-HOWTO-4.html#ss4.9
I am ONLY setting up the mail server.
Now for the question... If I follow the directions in that doc for setting up sendmail and pop3, will any user with an account on that box be able to go to any other computer to retrieve there mail? (assuming that the set up there mail checker with there username and pass and the mail serv as mail.mynewdomain.org.
In other words, I'm setting up a mail server for anyone anywhere to use (if the have a username and pass on my linux box). Kind of a mini hotmail.
Thanks
Landruu
[ 16 February 2001: Message edited by: Landruu ]
[ 16 February 2001: Message edited by: Landruu ]
Craig McPherson
02-16-2001, 12:51 PM
Any user with an account will be able to access the server from anywhere via POP3. You might want to consider offering IMAP, also.
If you want to allow users to check their e-mail through a web interface, like Hotmail, look into Neomail -- neomail.sourceforge.net
Landruu
02-16-2001, 01:01 PM
Thanks for the input Craig!
Landruu
Infested Flar
02-16-2001, 02:05 PM
try also SquirrelMail (http://www.squirrelmail.org). it rocks! it runs on IMAP and page is on PHP. GoodLuck!
-flar-
Smith
02-16-2001, 02:38 PM
Hey Craig. Do you know if Neomail will allow users to get a new email account. Or will the still have to have the sys admin creat it manually?
Landruu
02-16-2001, 09:43 PM
I dont understand some of this stuff. Ya I'm a newbie to Linux. But I dont want to do this on my M$ box. Here some of the stuff I don't get.
look for the lines that starts from Dj$w.foo.com and change it to point to your main ("real", not virtual) server name (you.com, so it will looks like this Dj$w.you.com).
There is a lin that is #Dj$w.foo.com. Should I remove the #?
By editing your (root's) crontab (to edit do crontab -e) add a line like this
*/20 * * * * /usr/sbin/sendmail -q
So do I do this from a cl?
The lines in /etc/hosts.allow that let all machines from .com and .org domains send you email are as follows
sendmail: .com .org
I want to be able to accept email from all domains. Coulnd't I just put in
sendmail: ALL
?
Any one want to do an ICQ session to help me with this would get a really big thanks
Landruu
icq 7972339
[ 16 February 2001: Message edited by: Landruu ]
Craig McPherson
02-16-2001, 10:18 PM
Originally posted by Smith:
Hey Craig. Do you know if Neomail will allow users to get a new email account. Or will the still have to have the sys admin creat it manually?
No, it won't.
If you know shell scipting and CGI stuff, you should be able to rig something up for that pretty easily.
Like, make an HTML page with a form where a potential user can enter their username and password, then the form passes those as arguments to a CGI shell script that passes those arguments to the useradd command and runs any other commands you need to get the user's account set up.
Just an idea.
Craig McPherson
02-16-2001, 10:19 PM
Originally posted by Landruu:
I dont understand some of this stuff. Ya I'm a newbie to Linux. But I dont want to do this on my M$ box. Here some of the stuff I don't get.
You might not want to use Sendmail then. Exim is much, much simpler, but even more powerful, useful, and full-featured than Sendmail. Exim rocks.
I want to be able to accept email from all domains. Coulnd't I just put in
sendmail: ALL
You should never use hosts.deny or hosts.allow for anything. So don't worry about that stuff. Put ALL:ALL in your /etc/hosts.allow, then use your firewall if you need to fine-tune your access control.
Landruu
02-16-2001, 11:02 PM
Ok... am I looking at the correct program? http://www.exim.org/exim-html-3.20/doc/html/spec.html
It looks pretty steep. Is there anything that is easy for a nivice to setup?
Landruu
HuggyBear
02-16-2001, 11:35 PM
I use Postfix and like it very much!