Index: [Article Count Order] [Thread]

Date:  Fri, 22 Feb 2008 11:28:26 -0800
From:  "Michael Aronoff" <ma (at mark) ciic.com>
Subject:  [coba-e:12123] Re: openwebmail reply-to
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <023f01c87589$19ff24e0$6401a8c0@MALAPTOP>
In-Reply-To:  <00a601c87582$7a8fc5a0$6400a8c0@HPPAVILION>
X-Mail-Count: 12123

This is an issue that goes all the way back to the Raq days. You can
manually edit each account or...

You can use a script to do all the work.

I am not sure how you installed Openwebmail but many package installs for BQ
include this script by default.

If not then simply place the following in a script that runs every hour or
so:

#!/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
perl -pi -e "s/mail\.//g"  /etc/mail/virtusertable.owm

That will create a custom virtusertable just for openwebmail without the
www. Prefix or a mail. If you host any of those (I do).

Then in your openwebmail.conf look for:
virtusertable           /etc/mail/virtusertable
Change that to
virtusertable           /etc/mail/virtusertable.owm

That should do it.

___________________________________________________________
Michael Aronoff - CIIC, Inc. - ma (at mark) ciic.com - West Hills, CA