> -----Original Message----- > From: Johann Snyman > Sent: Sunday, March 09, 2003 9:02 AM > Subject: Re: Sendmail on RH8.0 from CL > > Thanks Steve, that works fine! Problem is almost solved, the only > thing left is the username. It still has me as [EMAIL PROTECTED] > instead of [EMAIL PROTECTED] > > "johann" is my login on my box. > > Sendmail is dark to me, and I saw how thick the manual is. Scary!
Sendmail can be a little scary. Took me a few years to feel comfortable editing the .mc file. Anyway, based on my understanding of your post; what your asking for is reverse mapping. In sendmail terms... feature genericstable. Use the same procedure as before - but add the following lines to sendmail.mc and recreate your sendmail.cf FEATURE(`genericstable',`hash /etc/mail/genericstable.db')dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl Then in addition to the above: 1) you will need to add your reverse mappings to the genericstable and generics-domains files. To get you started, try adding the following to genericstable. Note: you might need to create this file: johann [EMAIL PROTECTED] 2) add the canonical name (fqdn) of your sendmail host (required for MSP) to generics-domains. Note: You will probably have to create this file. To determine the canonical name to add, type: sendmail -bt -d0.1 </dev/null look for the canonical name. 3) If the genericstable{.db} is not listed in /etc/mail/Makefile, then it needs to be added so that the database can be created. On my system, its already listed in the POSSIBLE variable declaration. 4) Finally, create the genericstable database and restart sendmail. Make sure a genericstable.db file was created. # make # /etc/init.d/sendmail restart 5) test... To understand the format of the genericstable, you will need to load the redhat sendmail-cf rpm and then read the README file. Search for "genericstable". There is a boat load of sendmail config info in this file. Good Luck Steve Cowles -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list