Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Strictly speaking you're not supposed to update sendmail.cf but rather sendmail.mc then use m4 to "compile" it to the sendmail.cf.
Have a a look at /etc/mail/sendmail.mc for information on this.
From the top of /etc/mail/sendmail.mc on my FC4 workstations:
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
dnl # installed and then performing a
dnl # make -C /etc/mail
Thanks for your comment on this, I am really advised me to not to use sendmail.cf in free hand. Yes I believe that.
But I need to write my own rulesets for sendmail header rewriting and sending to given recepient via local mailer according to my own way. I need to study this mail ruleset written language because of this. Pls update me any way of learning this...
I think you missed the point in my post. The point is you create the ruleset in the sendmail.mc then use m4 to make senmail.cf file based on what you wrote in the sendmail.mc. Otherwise you risk having someone down the road running the make on you and blowing away your cf modifications.
If you really want to figure out what it does when you do the make you can have a look at the include file that it uses (grep include /etc/mail/sendmail.cf) then look at the files that the include includes then look at the source for sendmail if it still doesn't make sense. It seems it would be a lot easier to work with the way it is designed than to try to go around it.