LinuxQuestions.org
Help answer threads with 0 replies.
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 02-12-2004, 12:28 PM   #1
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
what do i need to do to set up mail server


What do i need to do in order to set up the mail server on my redhat box?
All I want to do is to be able to do:

mail <email_adreess>
<body_test>
.
done

and the other person will receive my email.

Does it require me to have a registered domain name in order to send out email like that?

Need solutions, Thanks!
 
Old 02-12-2004, 02:15 PM   #2
deloptes
Member
 
Registered: Feb 2004
Location: AT
Distribution: debian etch and SUSE 10.2
Posts: 123

Rep: Reputation: 15
What do you need this for? are writing a spam script.

I guess you should have your mail server configured rigth, or choose external mail server

You don't need anything except a good configuration.

I am not aware of what kind of system RedHad is using as default. I use exim. the only problem is the documentation is too big, but all is in one configuration file and yuo need time to experiment with it.

It's a very tricky system. I wish I had time to post you some advisory portions of the configuration that I use.

I have it configured as client and server but I think reading a manual and testing your own way first is the best teacher, any way if you dont make it write to me (post a reply)

R3gard5
 
Old 02-12-2004, 03:14 PM   #3
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
first of all, i am not using to send out spam.
I just want to play with it for now, i will eventually set up as a webserver and I have written the cgi script so that people can submit form via my personal website, the form will be emailed (via mail command in my perl script) to my email address. So that's why I need to be able to do

mail <someone>

in the command line and make it to work before i start any of the rest.

Can you give me a start point? Like, which demon i need to run and such ...?
 
Old 02-12-2004, 08:28 PM   #4
deloptes
Member
 
Registered: Feb 2004
Location: AT
Distribution: debian etch and SUSE 10.2
Posts: 123

Rep: Reputation: 15
uhh, you don't give too much informatioin on the OS you are running - which linux?
then the mail program has nothing to do with sending mail from i.e. perl script you'll have to check for exim (that's mostly used nowdays) or sendmail
# which sendmail
exim provides sendmail so
# man exim
will tell you a lot the rest you can find with google's help

there are pretty a lot of examples how to set it all up even formamil.pl scripts. I know and used at lest 3 of them

you'll have to confiugre exim properly - read my former posting

r3gard5
 
Old 02-15-2004, 07:54 PM   #5
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
[root@ximian root]# which sendmail
/usr/sbin/sendmail

[root@ximian root]# which exim
/usr/bin/which: no exim in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin)

[root@ximian root]# man exim
No manual entry for exim

[root@ximian root]# find / -name exim -print
/etc/log.d/scripts/services/exim

what should i do?
 
Old 02-15-2004, 09:42 PM   #6
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
(reason: 553 5.1.8 <user@ximian.localdomain>... Domain of sender address user@ximian.localdomain does not exist)

when I try to use sendmail command, this is what it gives back to me via the internal mda. I comment out the line in the sendmail.cf where it stopped anything from outside to come in. After restart sendmail, it still won't work.
 
Old 02-16-2004, 01:08 PM   #7
deloptes
Member
 
Registered: Feb 2004
Location: AT
Distribution: debian etch and SUSE 10.2
Posts: 123

Rep: Reputation: 15
I am not familiar with sendmail, sorry. It is out of date as far as I know. If you install exim instead (and I am sure it's in the RedHat distro), than I could help you more.
The other thing to do is to read more about your mail program - sendmail in your case.
# man sendmail
I am sure it's a matter of configuration, so find more info and give it a try.

R3gard5
 
  


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
What do i need to set up a mail server tomed Linux - Networking 3 11-05-2004 11:06 AM
mail server set up gslater Linux - Networking 28 06-12-2004 07:48 AM
How do I set up a Mail Server jamie_barrow Linux - Newbie 8 07-21-2003 11:56 AM
Set up Mail server kelper Linux - General 1 05-12-2003 12:17 AM
How do I set up a mail server? ChaosX2 Linux - Networking 10 05-30-2002 03:48 PM


All times are GMT -5. The time now is 08:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration