[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Remove www from Openwebmail users (was Openwebmail)



on 10/4/02 1:28 PM, Jay Summers stated:

Did I miss the Raq4??

> Fix for the Raq2's
> 
> Put this in your cron.* folders and/or call it from crontab.
> 
> -=-=-=-=-=-=-
> #!/bin/sh
> # cronjob script to update sendmail virtusertable for OWM
> # Perl by Kim Schulz
> # Shell by Jay Summers inspired by William J.A. Brillinger
> 
> # Make a copy of the virtusertable to work on
> /bin/cp -f /etc/virtusertable /etc/virtusertable.owm
> 
> # remove www. from all users in virtusertable
> /usr/bin/perl -pi -e "s/www\.//g" /etc/virtusertable.owm
> 
> # All done. Just make sure that the new virtusertable is
> # referenced in the openwebmail.conf file.
> # eg. virtusertable<TAB>/etc/virtusertable.owm
> -=-=-=-=-=-=-
> 
> hth,
> j

-- 
Thanks!!
Dave Thurman
The Web Presence Group / www.webpresencegroup.net
Listonly <at> webpresencegroup.net / Spam Block 8^Q