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 am running Redhat 8 and have two questions.
1)Does sendmail have to be running in order to send out mail?
When i restart sendmail i see two things starting sendmail and sm-client
Can i start sm-client without starting the sendmail daemon
2)i set iptables and saved the rules. I see the rules in sysconfig/iptables
they look like this
is this correct (the way it looks) if so how do i get iptables to load these rules. After i reboot i see iptables start but when i run the command iptables -L i see nothing in the rules.
1. no. you can send mail even without the sendmail daemon.
2. use 'iptables-save > /etc/sysconfig/iptables' (assuming it doesn't have any rules in there.
1)when i do "chkconfig --level 2345 sendmail off" i cant seem to send any mail after i reboot the box
but when i do "chkconfig --level 2345 sendmail on" i can send mail. Is there just something wrong with my setup
2)i have already done iptables-save >/etc/sysconfig/iptables
but when i restart the box and i do a iptables -L it shows no rules. are the rules there and it jsut doesnt show or do i need to config something to get it to load the rules from /etc/sysconfig/iptables
ok. ok. looks i missed something - you are sending out mail going out your domain/network? u do need sendmail with that. i was referring to the local mail sending (ie echo "test message" | mail -s test user1@localhost user2@localhost).
try running lokkit (or redhat-config-security?) and check if it will change /etc/sysconfig/iptables. also, make sure that iptables is run @ startup.
If your are sending an email to a remote smtp you donīt need the sendmail runing. If you are using the /usr/sbin/sendmail -t, like an example, you donīīt need the sendmail running. But if you want that your machine work like an smtp server an you want to send email using smtp server :localhost or something like that, well, you will need sendmail runing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.