At 1/21/2002 11:48 AM +0800, you wrote:
>I feel awkfully sorry for my stupidity.   Bear with me ok.

Hey, relax. You should have seen *me* when I started with sendmail... if it 
hadn't been so pathetic (or if it hadn't been me), it'd have been funny. :)

As long as you put forth your effort and time, you'll find that people are 
always willing to help you.

Sorry to take so long to answer this message, by the way; I just didn't see 
it go by.

>I can't sent the .mc file as I don't have one.  I have been editing the .cf
>file since day one when I started using sendmail.

Forget editing the .cf; use the .mc only. I don't have a "stock" mc to send 
you at the moment; does anyone here have one for Moke? Then again, if this 
server is very low priority, then simply get the latest sendmail, 
sendmail-cf, and sendmail-doc RPM's from Red Hat and do a "rpm -Uvh" for 
all of them on the same line. Then you'll find a sendmail.mc in /etc/mail, 
which is now where sendmail config files live.

>Can I do a reverse generation of the .mc file???

No, sorry. But see above for how to get one easily and quickly.

>As to why do I so a sendmail restart instead of makemap hash
>/etc/mail/access < /etc/mail/access/list, really sorry to say that "I'm
>super lazy to remember to command of makemap hash ... ..."  thus I used
>/sbin/service sendmail restart as I know that it will re-generate all the
>.db files.

Two tricks:

1. Put this in your .bashrc; use the full path since you could call this 
command from anywhere:

         alias makeaccess='makemap hash /etc/mail/access < /etc/mail/access'

2. Even better, go to the /etc/mail directory and type "make". The access, 
virtusertable, and other files will be rebuilt automatically. You must be 
in that directory.


--
Rodolfo J. Paiz
[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to