LinuxQuestions.org
Register a domain and help support LQ
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-15-2004, 11:22 PM   #1
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
how to set up sendmail?


I have posted this one before (don't get mad), i am just trying to make it more clear so that i might be able to get more help, here is my case:
my box is running rh9, k 242. I just installed sendmail-8.12.8-9.90 and sendmail-cf-8.12.8-9.90.

All I wanted to do is that I will be able to use "sendmail <email>" and be able to send mails out. Ideally, i don't want people to be able to respond to my email. Note: I am NOT sending out spam.

1. What do I need to do???? <-- really need help on that one
2. Read some about sendmail, it's using (by default) procmail as it out going mail app, so if i only want to send out emails, do i only need to set up procmail??
3. Do i need to have a registered domain name?

thanks for any help!!!
 
Old 02-15-2004, 11:36 PM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
assuming you have sendmail installed properly

go into "system settings" --> "server settings" --> "services"

make sure the tick box next to sendmail is ticked as this will cuase sendmail to load on startup. Then click start button (you will not have to do this again if check the tickbox)

now you can send mail. Start evolution or something set up an account and have the outgoing server set to sendmail.

and NO you do not need a domain name!
 
Old 02-16-2004, 12:02 AM   #3
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
I did all that in services.

I don't want to use evaluation to send mail, i want to be able to do it via command line.

Haven't tried to connect with evaluation, good thought though. My evaluation is connected to my smtp server.
 
Old 02-16-2004, 12:26 AM   #4
joseph_1970
Member
 
Registered: Jan 2003
Posts: 62

Rep: Reputation: 15
#man sendmail
first off

I haven't used RH with sendmail for a long time, but is that the cli command? It's not mail <mailaddy>?
#man mail

Also, I don't think that sendmail needs anything to send mail out, if you already have network connection. SMTP can send mail out and recieve mail. It's using remotely to recieve that will require more.


No, you shouldn't have to have a domain name, but unless you setup domain litterals, which I don't know how to do with sendmail, you won't be able to recieve mail. Meaning something like johnsmith@[you.ipd.num.ber].

I hope this helps, even if I haven't really used sendmail.

-j
 
Old 02-16-2004, 02:30 AM   #5
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Quote:
make sure the tick box next to sendmail is ticked as this will cuase sendmail to load on startup. Then click start button (you will not have to do this again if check the tickbox)
He said he want to send mails and not to receive!
Why should he load sendmail on startup then? He does not need that! His system will automatically start sendmail when he sends a letter.
Having sendmail running continuously is an unnecessary security risk.
Quote:
and NO you do not need a domain name!
I would debate that. Most of the mail servers on the internet require that the sender has a real domain name! If he does not have a domain name, he will not be able to send mails to these servers, or he has to use an ISP's mail relay. But: if he uses an ISP's mail relay, he could setup his mail client to use that; so why should he bother himself with sendmail then?
 
Old 02-16-2004, 03:56 AM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
Quote:
Originally posted by J_Szucs
He said he want to send mails and not to receive!
Why should he load sendmail on startup then? He does not need that! His system will automatically start sendmail when he sends a letter.
Having sendmail running continuously is an unnecessary security risk.
ok did not know that it started automatically when sending mail
 
Old 02-16-2004, 11:15 AM   #7
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
i am getting the error log saying the domain name doesn't exist ... it's not a resolvable domain name, that's the main problem. How can i get a resolvable name .... I edit the hosts file and put my real ip and a made-up domain name on there, doesn't seem to help.
 
  


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
how to set sendmail to use a diferent port matt_w_lambert Linux - Software 2 11-22-2005 10:38 AM
How do I set up sendmail in Mandrake 10.0? quarter_ethan Linux - Newbie 2 12-08-2004 07:13 PM
How to set up sendmail server raj_1 Linux - General 6 12-08-2004 11:20 AM
how to set up a sendmail human Debian 1 10-09-2004 11:05 PM
How to set up sendmail-8.12.10 and run? sarathmohan Linux - Newbie 0 09-22-2003 10:26 AM


All times are GMT -5. The time now is 06:28 PM.

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