LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2003, 11:36 PM   #1
Pranesh
Member
 
Registered: Jun 2003
Posts: 46

Rep: Reputation: 15
email server setup help


Hi

I have registered a domain , for example :- abc.com (61.**.**.**)or mail.abc.com by paying some money to an ISP which will get activated within 48 hrs. now in my LAN i have redhat 8.0 (192.168.*.*), i want to setup mailserver on this redhat 8.0 , how do i do that can anybody give me step by step help and also i need to create email users and if i send any mails to user@abc.com automatically it shd come to my redhat and then from windows outllok i shd be able to download email from this redhat i mean in the outlook if i give this redhat ip as pop i shd be able to download mails to outlook from redhat.... any help.. thanks in advance...
 
Old 09-03-2003, 11:45 PM   #2
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
1. get the MTA (sendmail, postfix,qmail,exim), but i suggest you to use postfix, it is easy to configure and secure.
2. install the MTA.
3. configure the MTA.
4. try to telnet localhost 25, and see whether it get response or not.

but you try this web www.tldp.org, and search for postfix documentation.
 
Old 09-03-2003, 11:50 PM   #3
Pranesh
Member
 
Registered: Jun 2003
Posts: 46

Original Poster
Rep: Reputation: 15
Hi

What is MTA?, by default sendmail has come with redhat 8.0, what next, when i did telnet localhost 25 and also 110 i got messg saying unable to connect, connection refused.
 
Old 09-04-2003, 01:11 AM   #4
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
MTA is mail transfer agent, such as sendmail, postfix, qmail.
if you do telnet localhost 25 and get msg unable to connect, its mean that your sendmail haven't running, just do the following "service sendmail start" in your redhat command prompt, then try to telnet again and see whether get a good response or not!

after that get your redhat's cd and put it in your cdrom and install the rpm for imap.
then do telnet localhost 110, and see whether you get good or bad response.

After that tell me what happen and i will try to help you to setup a basic mail server.
 
Old 09-04-2003, 03:20 AM   #5
Pranesh
Member
 
Registered: Jun 2003
Posts: 46

Original Poster
Rep: Reputation: 15
HI Joseph,

after starting sendmail service i tried telnet localhost 25 and i got this response

220 localhost.localdomain ESMTP Sendmail 8.12.5/8.12.5; Thu, 4 Sep 2003 13:47:33
+0530

earlier i was getting connection refused.... messsg now i will add imap from redhat cd and let you know the status. Is the above messg okay with localhost 25??
thanks
 
Old 09-04-2003, 03:28 AM   #6
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
yes very good, it is good response.
i think it is better for you to upgrade your sendmail to 8.12.9 because you are using sendmail 8.12.5
 
Old 09-04-2003, 04:00 AM   #7
Pranesh
Member
 
Registered: Jun 2003
Posts: 46

Original Poster
Rep: Reputation: 15
joseph tommorow shall i install imap and update u?, tomm will u chk and getback to me? thanks
 
Old 09-04-2003, 04:34 AM   #8
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
yes, i will online every working day (mon-fri) except saturday and sunday.
i will follow your thread.
 
Old 09-04-2003, 10:38 PM   #9
Pranesh
Member
 
Registered: Jun 2003
Posts: 46

Original Poster
Rep: Reputation: 15
Hi Joseph, when i did rpm -qa imap it is showing imap-2001a-15
and it is located in imap: /usr/include/imap, what next ??, can we do with pop instead of pop?
 
Old 09-04-2003, 11:25 PM   #10
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
ok try, do telnet localhost 110
and see what the response,
if the response say unable to connect you must do it manually in /etc/xinetd.d/ipop3 and change disable= yes to "no" and restart xinetd using /etc/rc.d/init.d/xinetd restart.
 
Old 09-05-2003, 12:10 AM   #11
Pranesh
Member
 
Registered: Jun 2003
Posts: 46

Original Poster
Rep: Reputation: 15
Hi joseph, i did disable=no and restarted xinetd and then when i tried telnet localhost 110 iam getting good responsr here is the o/p :- +OK POP3 gbs v2001.78rh server ready, what next... thanks for all ur help ...
 
Old 09-05-2003, 01:26 AM   #12
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
ok, let go on

next go to /etc/mail and edit file sendmail.mc, find 127.0.0.1 and change it to 0.0.0.0 save it and do the following command m4 sendmail.mc > /etc/sendmail.cf and then restart ur sendmail using service sendmail restart.

Then go to /etc and edit sendmail.cf find the word Cwlocalhost to Cwabc.com or whatever your domain. (remember there is no space between Cw and your domain), Restart your sendmail.

Try to add some user into it using useradd xxx then passwd xxx

Now you can try your mail server in your client computer such using outlook express or whatever.

I think your mail server is ready to send and receive an email.
 
Old 09-05-2003, 01:35 AM   #13
Pranesh
Member
 
Registered: Jun 2003
Posts: 46

Original Poster
Rep: Reputation: 15
Hi Joseph thanks i will try this right now and post u, before this, when i tried from windows machine telnet ip-address ( of my redhat where i have enabled pop) 110 i got a good response saying pop is ready OK and when i tried same with telnet ipaddress 25 , it is giving connection refued.... messg..
 
Old 09-05-2003, 01:38 AM   #14
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
yep just do what i write just now, and everything will going smoothly
 
Old 09-05-2003, 01:41 AM   #15
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
i think you can configure your ail server remotely, you can use ssh to configure it so you don't need to back to your server and back to your windows machine. you can use putty
 
  


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
Email Server Setup gmalleus Linux - General 1 08-11-2005 02:33 PM
Email Server Setup RHrulz Linux - Networking 2 11-19-2004 02:06 PM
want to setup an email server Finlay Linux - Networking 2 03-16-2003 02:59 AM
Help with email server setup..?? dalk Linux - Newbie 0 09-20-2001 10:45 AM
Email server setup hideo Linux - Networking 2 11-29-2000 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 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