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

RE: [cobalt-users] Please Help: Removing the www. from all users in OpenWebMail on a RaQ 550



On Mon, 6 Jan 2003 19:03:23 -0500, Alfredo Musse T. wrote
> Recopiling some ideas from other members I use this line in cron:
> 
> 59 * * * * cp /etc/mail/virtusertable /etc/mail/virtusertable.owm
> 0 * * * * perl -pi -e "s/www\.//g" /etc/mail/virtusertable.owm
> 
> Every hour on minute 59 duplicates the virtusertable file to a new 
> one virtusertable.owm and the next minute the other line removes the 
> www from the emails.
> 
> In the file openwebmail.conf.default I add this line, so open 
> webmail reads the file that not contains the www
> 
> virtusertable           /etc/mail/virtusertable.owm
> 
> The only detail is that you need to wait until the next hour before 
> use openwebmail when creating a new user 
> 
>  
> Alfredo Musse T.

Actually, OWM will pickup and use the correct @mydomain.com format as soon as 
the script runs even if you already used the program with the ugly address 
format. So after 1 hour of use, the www will dissapear automatically froma n 
active account.

- Bill B.