[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Web mail
- Subject: RE: [cobalt-users] Web mail
- From: "Paul Shuttleworth" <paul@xxxxxxxxxxxxxx>
- Date: Wed Oct 22 03:31:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Laszlo Bognar
> Sent: 22 October 2003 10:01
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] Web mail
>
>
> Morning everyone,
>
> just installed webmail on Raq550 and testing it now. Great
> product, however the mail settings are a bit different what we
> wish to use.
>
> Is there a way and if it is which pl script need to be modified
> where the mail account for the domain users can be modified from
> firstname.surname@xxxxxxxxxxxxxxxxxx to firstname.surname@xxxxxxxxxxxxxx?
>
> Basically I would like to remove the www from the mail account
> however webmail automatically inserts it.
>
> Any help would be appreciated.
>
> Thanks for your help.
> Regards
> Laszlo
OWM does use the user@xxxxxxxxxxxxxx as standard,the only fully automatic NO
USER INPUT solution that I have
Found, is detailed below. It is sooooo easy even I managed to set it up!!
All new users have
the www removed within 1 hour without anyone lifting a finger.
A fix which I use from Bill B (thanks Bill)
<snip>
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.
<snip>
This make a copy of the virtusertable every hour which owm then uses, simple
and it works!!
NOTE
This works fine on a RAQ4 however I am not sure about the virtusertable file
on the 550, it might be in a different place or be a completely different
file as I am sure they were on some pretty strong substances when they
decided on the directory structures for the 550 OS! My test 550 is currently
not online so I can't check it out, maybe someone else can clarify the
directory path etc.
Regards
Paul.