Building sendmail.cfNext: Testing the sendmail.cf file
Up: Installing sendmail
Previous: Extracting the binary distributionBuilding sendmail.cfTo build a sendmail.cf file customized for your site, you have to
write a sendmail.m4 file, and process it with m4.
In /usr/local/lib/mail/CF, you find a sample file called
sample.m4. Copy it to yourhostname.m4, and edit
it to reflect the situation of your site.The sample file is set up for a UUCP-only site that has domainized
headers and talks to a smart host. Sites like this only need to edit
a few items.In the current section, I will only give a short overview of the
macros you have to change. For a complete description of what they do,
please refer to the earlier discussion of the sendmail.m4.To create the sendmail.cf file, execute the commandThis processes the yourhostname.m4 file and creates
yourhostname.cf from it.Next, you should test whether the configuration file you've created
does what you expect it to do. This is explained in the following two
sections.Once you're happy with its behavior, copy it into place with the
command:At this point, your sendmail system is ready for action. Put the following
line in the appropriate startup file (generally /etc/rc.inet2). You
can also execute it by hand to have the process start up now.Andrew AndersonThu Mar 7 23:22:06 EST 1996y
Wyszukiwarka
Podobne podstrony:
node245 T2YQJZD6LDQ6LP5OYUC3OHQJMT5QYEUMQNSNPTInode245node243node242 7L22GLKYOY7WCD2ENRGH2MBHLMAUTJL2GTKKYNYnode246 YIF4WCYAY6SJS2OLKTPEMD6TGPZD4BLGOW43G3Anode24 PDHWHKXXAJCE53SGAZZQAGL4RLNJ7ZXWLGOY4QYnode24node24 3ZDS5WHDJGYZQJTUOOHV6YJOOXTC2GUWSJC775Inode24node244node24 2PNVCNM2PFRUZA3ENONWT4NSN4DPLHTMPZ3FH7Ynode241node244 D3H4Q5QNKWCUAFHHJWADTRR7OS7G5JGYHSPAIMQnode249 7JYBNHKY3DEZ42ROO3VGHKZUJVB2IRUD4MHHCUYnode247node24 1node248 C33U2NRXWJ5BBSGXFIODC6MPK44O246Y7WN2G7Ywięcej podobnych podstron