[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Re: openwebmail - user@xxxxxxxxxxxxxx - easy fix
- Subject: RE: [cobalt-users] Re: openwebmail - user@xxxxxxxxxxxxxx - easy fix
- From: "Steven Depuydt - www.BeNe.WS" <Steven@xxxxxxx>
- Date: Tue Dec 10 09:45:51 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
This works great.
I have a RAQ3i and my virtusertable is in /etc NOT in /etc/mail
So I changed it where needed.
Thanks,
Steven Depuydt
www.BeNe.WS
-----Oorspronkelijk bericht-----
Van: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] Namens Gerald Waugh
Verzonden: dinsdag 10 december 2002 17:21
Aan: cobalt-users@xxxxxxxxxxxxxxx
Onderwerp: 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
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 6/12/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 6/12/2002