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

Re: [cobalt-users] removing the www on aliases - openwebmail



At 11:23 AM 08/10/02 -0400, you wrote:
Good day everyone,

Okay I did it, I remembered to search the archives first to see if I missed a point in last weeks threads, and I couldn't find it. Boy do I feel better now.

Removing the www in the FROM in openwebmail using the OWM-fix.0.3.pl script worked great, for the *real name*, but it did not change the aliases.

In openwebmail setup, you can click a drop-down and get a list of your email aliases so you can be a real person and not a user ID. But the aliases all show the www still

I have user ID: username who has an alias george - if I send from userrname I get username@xxxxxxxxxx from george I get george@xxxxxxxxxxxxxx

Did I mess up something running the OWM-fix.0.3.pl, or do I have to do something differently?

One other note - when you run the OWM-fix.0.3.pl it changes all the default FROM's in openwebmail back to username where I had george selected previously so I had to do another setup on each user after running it. So if I add this as a daily cron I am going to really start pissing people off. Any ideas on that one also??

Thanks,
Jale

This works for all users, and does not disrupt prefs:

fix OWM to omit 'www' from email addresses

file: /etc/cron.hourly/update_vut_owm.sh

        #!/bin/bash
        # create a current copy of the VirtUserTable for OpenWebmail
        cp /etc/mail/virtusertable /etc/mail/virtusertable.owm
        perl -pi -e "s/www\.//g"  /etc/mail/virtusertable.owm

Then Add this line to openwebmail.conf
  virtusertable           /etc/mail/virtusertable.owm

No more www and no upset users!
- Bill




---------------------------------
William J.A. Brillinger
Precision Design Co.

E-Mail:   mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net