<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Roy - this might help...
<br />
<br />We use a script that creates a duplicate virtusertable file (named virtusertable.owm) for use by openwebmail. It removes the "www." from the email address, so it is just user@domain.com and not user@www.domain.com. This script needs to be run each time a user is added or when the virtusertable file is changed. It must be done <span style="text-decoration: underline;">before</span> the user logs into Openwebmail for the first time.
<br />
<br />In addition to the script, we changed the Openwebmail configuration file /var/www/cgi-bin/openwebmail/etc/openwebmail.conf
<br />so it looks like this: virtusertable /etc/mail/virtusertable.owm
<br />
<br />Here is the script we run whenever a new user is created:
<br />
<br />cp -f /etc/mail/virtusertable /etc/mail/virtusertable.owm
<br />perl -pi -e "s/\@www\./\@/g;" /etc/mail/virtusertable.owm
<br />mask='/home/sites/*/users/*/.openwebmail/webcal/calendar.book'
<br />for file in $mask;do break;done
<br />if [[ -e $file ]]
<br />then
<br />ls -1 /home/sites/*/users/*/.openwebmail/webcal/calendar.book | awk -F\/ '{ print $6 }' > /etc/mail/calendar.owm
<br />/var/www/cgi-bin/openwebmail/openwebmail-tool.pl -n -a -q -f /etc/mail/calendar.owm
<br />fi
<br />
<br />
<br />Hope that helps...
<br /><font size="2">
<br />
<br />Dan Porter
<br />
Twin Wolf Technology Group, LLC
<br />
<br /><b>---------- Original Message
-----------</b>
<br />
From: Roy Urick <rurick@usa.net>
<br />
To: BlueOnyx General Mailing List <blueonyx@mail.blueonyx.it>
<br />
Sent: Sat, 10 Mar 2012 11:13:17 -0500
<br />
Subject: [BlueOnyx:09772] Re: OpenWebmail domain aliasing?
<br />
<br />> Found that.
<br />>
<br />>
Any default system-wide config file settings so we dont have to rely on
users to pay attention to this detail? (they dont notice/don't care or assume it
will be correct when they sign in)
<br />>
<br />>
Sent from my iPhone
<br />>
<br />>
On Mar 10, 2012, at 10:11 AM, "Adam Lepp" <a@netqb.com> wrote:
<br />>
<br />>
> You can go into preferences (the "gear") and change it by
clicking the icon
<br />>
> to the right of the "From:" field under "Personal
Information"
<br />>
> ---------------------------------------------------
<br />>
>
<br />>
>
<br />>
>
<br />>
> -----Original Message-----
<br />>
> From: blueonyx-bounces@mail.blueonyx.it
<br />>
> [mailto:blueonyx-bounces@mail.blueonyx.it] On Behalf Of Roy Urick
<br />>
> Sent: Saturday, March 10, 2012 9:27 AM
<br />>
> To: BlueOnyx General Mailing List
<br />>
> Subject: [BlueOnyx:09770] OpenWebmail domain aliasing?
<br />>
>
<br />>
> We used to use openwebmail strictly as an emergency access tool when a
<br />>
> workstation was down, etc. Now we have users using it almost
<br />>
> exclusively because they are offsite at a client site and arent issued a
<br />>
> laptop, etc.
<br />>
>
<br />>
> We just noticed that when users send from webmail, the server is sending
<br />>
> as the fully qualified address, including the server name
<br />>
> (user@server.domain.com). How do we get it to send as JUST the domain?
<br />>
> (user@domain.com).
<br />>
>
<br />>
>
<br />>
>
<br />>
>
<br />>
> _______________________________________________
<br />>
> Blueonyx mailing list
<br />>
> Blueonyx@mail.blueonyx.it
<br />>
> <a target="_blank" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
<br />>
>
<br />>
> _______________________________________________
<br />>
> Blueonyx mailing list
<br />>
> Blueonyx@mail.blueonyx.it
<br />>
> <a target="_blank" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
<br />>
<br />>
_______________________________________________
<br />>
Blueonyx mailing list
<br />>
Blueonyx@mail.blueonyx.it
<br />>
<a target="_blank" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
<br /><b>------- End of Original Message
-------</b>
<br />
</font>
</BODY>
</HTML>