Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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
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.
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)
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 ?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.