LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-29-2005, 01:31 PM   #1
FISC
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Rep: Reputation: 0
Can i start SMTP server on slackware 10.2?


Can I start a SMPT server on slackware 10.2 ?
 
Old 11-29-2005, 05:32 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
do you mean an smtp server like sendmail?
 
Old 11-29-2005, 05:33 PM   #3
FISC
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Yes..
 
Old 11-29-2005, 05:40 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
in the /etc/rc.d folder there is a file called
rc.sendmail
make that file executible and it will load at boot
you can also type
./rc.sendmail start|stop|restart
depending on what you want to do
 
Old 11-29-2005, 05:57 PM   #5
FISC
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Original Poster
Rep: Reputation: 0
and the adress of this server is my IP no? what about the username and password ?
 
Old 11-29-2005, 06:01 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
yes the address will be the IP of the slackware machine.
i would recommend downloading www.webmin.com and use that interface to configure sendmail.
it isn't as simple as turning it on and go.
 
Old 11-29-2005, 06:09 PM   #7
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
By default, there is no requirement for username/password to send an email. Once you have set the /etc/rc.d/rc.sendmail to executable (chmod a+x /etc/rc.d/rc.sendmail) and or ran it manually (/etc/rc.d/rc.sendmail start) it should automatically begin accepting connections.
You would set your SMTP server to the ip address of your box, for example, 192.168.1.25
You really should set specific rules in the /etc/mail folder in the access files etc. so that people wont relay tonnes of spam off of you, there are plenty of good howto's on this everywhere as it is a pretty big problem.

Do you have two NIC's? Are you using 2 IP addresses (one internal, one external), do you want it to just send mail from the localhost (ie only from you sending from that specific mail server)
 
Old 11-29-2005, 06:11 PM   #8
FISC
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Original Poster
Rep: Reputation: 0
can i configure me slackware machine to run a SMTP server without user name or password ? because I don't need very much user name and password just to put de IP of me slackware machine ? works ?
 
Old 11-29-2005, 06:14 PM   #9
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Yes.
 
Old 11-29-2005, 06:16 PM   #10
FISC
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Original Poster
Rep: Reputation: 0
if I'n not apear to stupid but I'm a newbie ... where is the line in /etc/rc.d/rc.sendmail ho starts the SMTP ?
 
Old 11-29-2005, 06:19 PM   #11
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
type the following to enable and start sendmail:

cd /etc/rc.d/rc.sendmail
chmod a+x rc.sendmail
./rc.sendmail start
 
Old 11-29-2005, 06:22 PM   #12
FISC
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Original Poster
Rep: Reputation: 0
and I anderstand that me SMTP works now ? without user name and password just de IP of me slackware machine ???
 
Old 11-29-2005, 06:23 PM   #13
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Sendmail is called an MTA, something that handles SMTP requests on your machine.
The purpose of rc.sendmail is to start, stop or restart your SMTP services
.
If you type in ls -l /etc/rc.d/rc.sendmail you should get an output like this;
-rwxr-xr-x 1 root root 687 2002-06-04 14:09 /etc/rc.d/rc.sendmail*

if it says -rw-r--r-- instead of -rwxr-xr-x then you need to type...
chmod a+x /etc/rc.d/rc.sendmail
and then
/etc/rc.d/rc.sendmail start

And you are all set to send messages though your slackware box.
 
Old 11-29-2005, 06:24 PM   #14
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Haha, looks like we are all posting at the same time ;-)
 
Old 11-29-2005, 06:25 PM   #15
FISC
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Original Poster
Rep: Reputation: 0
thx for all the help
 
  


Reply



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
Can't start X server in slackware thorney Linux - Newbie 7 07-31-2005 09:51 PM
How to start smtp service aroop Linux - Networking 1 06-10-2004 09:30 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
how to start SMTP server under Redhat 9.0? htm Linux - Software 1 04-09-2004 12:03 PM
setup of POP3 and SMTP for slackware Nosram Linux - Newbie 3 01-22-2004 06:00 PM

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

All times are GMT -5. The time now is 04:12 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
Open Source Consulting | Domain Registration