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

Re: [cobalt-users] Re: openwebmail - user@xxxxxxxxxxxxxx - easy fix



On Tue, 10 Dec 2002, Achieve Website Design wrote:
> > A fix which I use from Bill B (thanks Bill)
> >
> > Using an idea suggested by Kim Schulz, I have came up with this and it
> > works for all users:
> >
> > As root, Create a copy of the virtusertable for OWM:
> >    cd /etc/mail
> >    cp virtusertable virtusertable.owm
> >    perl -pi -e "s/www\.//g" virtusertable.owm
> > Set this up as a script to run hourly from cron.
> >
> > Add this line to openwebmail.conf
> >    virtusertable           /etc/mail/virtusertable.owm
> >
> > This will remove the 'www' from everyone, no need to reset any options.
> >
> > - Bill B.
> >
> > This make a copy of the virtusertable every hour which owm then uses,
> > simple and it works!!
>
> How does one set this up to run hourly from cron?
> Declan
>
as root make a crontab
#issue "crontab -e"  (no "")
# enter the following all on one line)

01 * * * * (cd /etc/mail; cp virtusertable virtusertable.owm; perl -pi -e
"s/www\.//g" virtusertable.owm)


Gerald
--
http://frontstreetnetworks.com | http://raqware.com
Front Street Networks LLC  | Phone: +1 203-785-0699
229 Front Street, Ste. C, New Haven, CT. 06513-3203