[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] how to drop the "www." on email addresses
- Subject: RE: [cobalt-users] how to drop the "www." on email addresses
- From: "Alfredo Musse T." <amusse@xxxxxxxxxxx>
- Date: Sun Mar 16 04:33:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----Mensaje original-----
De: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]En nombre de Peter Smith
Enviado el: Viernes, 14 de Marzo de 2003 08:44 a.m.
Para: cobalt-users@xxxxxxxxxxxxxxx
Asunto: [cobalt-users] how to drop the "www." on email addresses
>I provide customers with an OpenWebmail solution on a RaQ4.
>At the moment, every time a new email user is added to a domain (without
>a host, such as blah.net, rather than ming.blah.net) the email address
>that appears in Openwebmail is user@xxxxxxxxxxxxx
>In theory, this is of course, correct. In practice, it sucks, and I'm
>spending an increasing amount of time in my /var/mail/virtusertable file
>editing out "www." from email addresses.
--------------------------------------------
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.
media improvement - solutions for the digital world
Telf. (511)562-0216
amusse@xxxxxxxxxxx <mailto:amusse@xxxxxxxxxxx>
http://www.mediaim.com