[BlueOnyx:07642] Re: Openwebmail
Ken - Precision Web Hosting, Inc
kenlists at precisionweb.net
Fri Jul 8 09:58:52 -05 2011
----- Original Message -----
From: "Robert Fitzpatrick" <robert at webtent.org>
> On 7/7/2011 3:25 PM, Gerald Waugh wrote:
>> Robert Fitzpatrick wrote:
>>> Is there any way to get Openwebmail to use the domain if it is a web
>>> alias of the site, as in domain.com, when setting up the From address
>>> automatically instead host.domain.com? This is our number one email from
>>> users that use webmail 'Why does my email send from host.domain.com?'.
>>>
>>> Thanks, Robert
>>
>> as a user edit preferences in your openwebmail screen
>> set the address
>>
>>
>
> Thanks, but yes, that is my answer to the question for users already.
> The prefs also do not show user at domain.com on the list, only
> user at host.domain.com, so they have to add the address manually. My
> question was if there is a way to have Openwebmail add the
> user at domain.com address automatically. Same thing in Squirrelmail, have
> to manually add the address to preferences.
> _______________________________________________
>
I don't use Squirrelmail, so I don't know about how to edit it.
For openwebmail, that is in the openwebmail.rc in each users home
directory.
So, you could write a perl script to check all the openwebmailrc files for
@www.
and replace with
@
Or, a perl one liner like
perl -p -i -e 's/\@www./\@/g'
/home/sites/www.*/users/*/.openwebmail/openwebmailrc
Although I did test the line above, make sure you have a backup before doing
it.
Sometimes these perl one liners will do things like, "there was no memory or
no disk space so I just blnaked out the file for you"
----
Ken M
Precision Web Hosting, Inc.
http://www.precisionweb.net
More information about the Blueonyx
mailing list