Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
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.
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.
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
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?
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.
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 ...
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.
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..
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.