On 20/11/2007, Paweł Tęcza <pte...@uw.edu.pl> wrote:
"Peter Burden" <pete...@gmail.com> writes:
I'm sure this is simple but I haven't found the answer in the
documentation.
Using the "create message" screen the generated "From" address is quoted
as "peterb@linux ", the user name is correct but "linux" is the machine
name.
This is not very useful, I want "pet...@ptwol.net " where ptwol.net is
the
local domain. I know users can change the field but they shouldn't have
to.
How can I configure sqwebmail so that the generated from address uses
the local domain rather than the machine name?
Hi Peter,
I hope that following command helps you:
sudo sh -c 'echo "ptwol.net" > /etc/courier/defaultdomain'
If a place of your Courier configuration is different,
then fix the command, of course :)
OK - checked that, the file, on my installation is at
/usr/lib/courier/etc/defaultdomain and is already set to "ptwol.net"
So presumably "sqwebmail" isn't reading this file, so did I do
something wrong configuring "sqwebmail" or in building "sqwebmail"
[I normally compile packages from source.]
My best regards,