9 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Hostname file
FromSent OnAttachments
Craig JacksonNov 2, 2006 11:22 am 
Sam VarshavchikNov 2, 2006 3:19 pm 
Brian CandlerNov 3, 2006 12:16 am 
Brian CandlerNov 4, 2006 1:10 am 
Sam VarshavchikNov 4, 2006 6:31 am 
Brian CandlerNov 5, 2006 12:24 am 
Craig JacksonNov 5, 2006 4:27 am 
Brian CandlerNov 5, 2006 2:32 pm 
Craig JacksonNov 5, 2006 5:18 pm 
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: [sqwebmail] Hostname fileActions...
From:Brian Candler (B.Ca@pobox.com)
Date:Nov 5, 2006 12:24:16 am
List:net.sourceforge.lists.courier-sqwebmail

On Sat, Nov 04, 2006 at 09:31:37AM -0500, Sam Varshavchik wrote:

Looking at the code (newmsg.c where it execs SENDITSH), I think this argument is set to login_returnaddr(). In that function, if the login name doesn't contain "@" then the configured domain is appended by calling myhostname(). Therefore, the MTA never has to add its own default domain. Or have I misread the code?

That's true, but myhostname() will return the system hostname, if all else fails.

Indeed, but that is not the *MTA* adding its own configured default domain name.

Also, the OP said that they had set sqwebmail's 'hostname' file, and that the value they had put in there was being used by sqwebmail in the RFC2822 From: header (therefore they had put the file in the right place)

Regards,

Brian.