Testing the sendmail.cf fileNext: Putting it all together Up: Installing sendmail
Previous: Building sendmail.cfTesting the sendmail.cf fileTo put sendmail into `test' mode, you invoke it with the -bt
flag. The default configuration file is the sendmail.cf file that is
installed on the system. You can test an alternate file by using the
-Cfilename option.In the following examples, we test vstout.cf, the configuration
file generated from the vstout.m4 file shown in
figure-.The following tests ensure that sendmail is able to deliver all
mail to users on your system. In all cases the result of the test
should be the same and point to the local system name with the
LOCAL mailer.First test how a mail to a local user would be delivered.The output shows how sendmail processes the address internally.
It is handed to various rule-sets which analyze it, invoke other
rule-sets in turn, and break it up into its components.In our example, we passed the address me to rule-sets 3 and 0
(this is the meaning of the 3,0 entered before the address).
The last line shows the parsed address as returned by rules-et 0,
containing the mailer the message would be delivered by, and the host
and user name given to the mailer.Next, test mail to a user on your system with UUCP syntax.Next, test mail addressed to a user on your system with Internet syntax
to your fully qualified hostname.You should repeat the above two tests with each of the names you
specified in the PSEUDONYMS and DEFAULT_NAME
parameters in your sendmail.m4 file.Lastly, test that you can mail to your relay host.Andrew AndersonThu Mar 7 23:22:06 EST 1996r
Wyszukiwarka
Podobne podstrony:
node245 T2YQJZD6LDQ6LP5OYUC3OHQJMT5QYEUMQNSNPTInode245node243node242 7L22GLKYOY7WCD2ENRGH2MBHLMAUTJL2GTKKYNYnode246 YIF4WCYAY6SJS2OLKTPEMD6TGPZD4BLGOW43G3Anode24 PDHWHKXXAJCE53SGAZZQAGL4RLNJ7ZXWLGOY4QYnode24node24 3ZDS5WHDJGYZQJTUOOHV6YJOOXTC2GUWSJC775Inode24node244node243 YS2T6SICTFF6CFMWRO7X5VPFRR7EJ4VCN3TKXFYnode24 2PNVCNM2PFRUZA3ENONWT4NSN4DPLHTMPZ3FH7Ynode241node249 7JYBNHKY3DEZ42ROO3VGHKZUJVB2IRUD4MHHCUYnode247node24 1node248 C33U2NRXWJ5BBSGXFIODC6MPK44O246Y7WN2G7Ywięcej podobnych podstron