2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Incomplete hostna...
FromSent OnAttachments
Martin Pihl JensenJun 23, 2004 11:51 am 
Anand BuddhdevJun 23, 2004 11:56 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Incomplete hostname in SqWebmailActions...
From:Anand Buddhdev (ana@celtelplus.com)
Date:Jun 23, 2004 11:56:47 am
List:net.sourceforge.lists.courier-users

On Wed, 23 Jun 2004 20:51:09 +0200 Martin Pihl Jensen wrote:

Hi

When users are creating a new message in SqWebmail the hostname part in the "From" field is set to "afrodite" (the name of my server), but should be skydebanen.net. Hostname -f returns a FQDN.

By searching around I have found hints about setting the correct value of the hostname in /usr/local/share/sqwebmail/hostname, but there is no file called hostname with relevance to SqWebmail on my system.

This only applies to the stand-alone version of sqwebmail, which is at version
4.0.5.

I am running SqWebmail ver. 0.45.4-1 (the version number taken from the Courier-mta package) on Debian Sarge.

How can I set the hostname (or where is the correct placement of hostname file on my system)?

Right, so you appear to be using the sqwebmail that is integrated into courier. In that case, the domain name for messages created by webmail are determined by the value of /path/to/courier/etc/defaultdomain. Since this is debian, I will guess that the config files are in /etc/courier, so you need to set up /etc/courier/defaultdomain.