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

RE: [cobalt-users] openwebmail - user@xxxxxxxxxxxxxx



> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Mike Hughes
> Sent: 10 December 2002 13:13
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] openwebmail - user@xxxxxxxxxxxxxx
>
>
> 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??
>


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.