LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-10-2004, 07:43 PM   #1
rhandl2
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
beginner to mail servers


First of all, hello! I want to set up a mail server on a spare computer I have at home. I registered a free dyndns.org domain name - let's call it name.place.com - and I want to use this server as an ISP replacement. That is, I want to set up a webserver too, and have it deliver mail, send mail, receive mail, etc. Not just deliver local mail. Is this possible with Debian?

Also, what is the best way to make a user that's just used as a mail account? I don't want to give all my users shell, just the ability to download messages (I want to use IMAP), with their mail client. Is MySQL the way to do this? I am clueless about SQL.

Also, is there some sort of howto or guide? I want to learn, but I don't want to have to trial-and-error this. I am sick of using free webmail like yahoo and hotmail, and I hate the limitations of ISP mail. Any help, tips, suggestions, questions, etc. are welcome! Thanks!
 
Old 10-11-2004, 02:17 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
www.qmailrocks.org
qmail is the MTA that u want. just install it. u dont have to add system users. it stores users in a vpopmail db or msql.

or u must configure the default MTA of debian (i dont know about debian). and u must add users to system then edit "/etc/passwd" and change their shells to /sbin/nologin:

user:x:502:501::/home/user:/sbin/nologin

so user cannot login, if u have ftp service that user can login via ftp. if u dont want ftp access either, u must choose another sheel which is not listed in /etc/shells, for that user

good luck.
 
Old 10-11-2004, 02:37 AM   #3
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
qmailrocks.org = cha ching, you'll be up in notime
 
Old 10-12-2004, 03:46 AM   #4
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Download sme server 6.0 beta unsupported, this is a full featured mail server. Put the bootable cd in and follow the instruction on screen, within 30 minutes you'll have a full email server running and configured. This program will format the drive for you, then you configure via your web browser, and it also has a webserver with php support you can download it here and see if this is what your after. I've used it and it works great.

http://www.e-smith.org/content/downloads/
 
Old 10-12-2004, 06:58 AM   #5
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
Quote:
This program will format the drive for you,
Did u mean this,This mail server will remove all the content of our drive.
or something else. plz clarify.

And how to configure SME server for mailing....



-jack
 
Old 10-12-2004, 11:32 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I am busy with a project at the moment and found this excellent howto that will probably suit you.
 
Old 10-12-2004, 06:25 PM   #7
rhandl2
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by TigerOC
I am busy with a project at the moment and found this excellent howto that will probably suit you.
I have tried that and I got lost at the MySQL database part.

Anyway, I think I found my problem. I got impatient and just went for postfix and tried to get it working. I'm pretty sure it was working, but I got mad and quit. It turns out my ISP blocks port 25. I was able to get local delivery working, but when I tried to send mail to my domain (dyndns), it didn't get through. So the port 25 deal is my problem. Is there any workaround for this? I am pretty sure postfix was working otherwise. And if I can, I'd like to set it up all manually, for the learning experience. Thanks for the suggestions so far.
 
Old 10-13-2004, 09:52 AM   #8
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
The dynamic ip service I go through no-ip.com they redirect port 25 for you. Other than that, there is not a whole lot you can do except beg your isp to let port 25 for yout ip (but since its dynamic, they would have to let it through for everybody). Look into getting a static iP, it isn't too much more, depending on your ISP.

Jon
 
Old 10-13-2004, 02:11 PM   #9
rhandl2
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
The dynamic ip service I go through no-ip.com they redirect port 25 for you. Other than that, there is not a whole lot you can do except beg your isp to let port 25 for yout ip (but since its dynamic, they would have to let it through for everybody). Look into getting a static iP, it isn't too much more, depending on your ISP.
I noticed this reflector service, but you still can't send outbound mail from the mail server; you must use your ISPs smtp server. I want a full-blown mail server. I will look into getting a static IP and begging Cox to open port 25 for me.
 
Old 10-13-2004, 03:29 PM   #10
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Originally posted by rhandl2
I noticed this reflector service, but you still can't send outbound mail from the mail server; you must use your ISPs smtp server. I want a full-blown mail server. I will look into getting a static IP and begging Cox to open port 25 for me.
I guess I don't see a problem here. You can still have a full-blown mail server (as you state), just outbound e-mail is sent via your ISP's MTA. Trust me, there are days when I wish my MTA was configured to send through my ISP's MTA.
 
  


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
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Mail Servers mattbeekler Linux - Software 2 01-11-2004 03:20 PM
Mail Servers... mattbeekler Linux - Software 3 11-18-2003 12:21 PM
Mail Servers (again) VorteX Linux - General 1 07-23-2001 07:57 PM
E-mail servers Andi Linux - Networking 3 06-24-2001 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:34 AM.

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