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

RE: [cobalt-users] Re: openwebmail - user@xxxxxxxxxxxxxx - easy fix



> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of John D. Gorena
> Sent: 09 December 2002 19:29
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] Re: openwebmail - user@xxxxxxxxxxxxxx - easy
> fix
>
>
> Charles Teton wrote:
> >
> > Mike, Check this out...
> >
> > > Hi, on openwebmail when people send emails its always from
> > > user@xxxxxxxxxxxxxx rather than user@xxxxxxxxxxx I have tried the
> > > tutorial fix that comeswith openwebmail with no luck, how can I get it
> > > to send from user@xxxxxxxxxx??
> > >
> > > Regards,
> > > Mike Hughes.
> > > VisionHost.net
> >
> > Open 'openwebmail', open 'User Preference', open 'Edit Personal Email
> > Addresses', add email address you want i.e. 'user@xxxxxxxxxx' and 'Real
> > Name', click 'Back to User preferences', then select 'From:' field and
> > select 'user@xxxxxxxxxx', 'Save' and thats it...
> >
> > Regards,
> >
> > Charles Teton
> > http://www.makingmymovie.com
> >
>
> Charles,
>
> That is a great catch and that helps a bunch but is there a way for the
> administrator to set the default to not show the www.?
>
> John

No

I again post the only fully automatic NO USER INPUT solution that I have
Found, 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!!

Regards
Paul.