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