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:Craig Jackson (cjac@abbott-simses.com)
Date:Nov 5, 2006 5:18:09 pm
List:net.sourceforge.lists.courier-sqwebmail

Brian Candler wrote:

On Sun, Nov 05, 2006 at 06:28:21AM -0600, Craig Jackson wrote:

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)

Because if I add @abbott-simses.com to $1 in sendit.sh I get this error from exim in sqwebmail. So sqwebmail is adding the system hostname (serval) and disregarding the hostname file I created.

Ah, then maybe you created the hostname file in the wrong place, or it doesn't have public read permissions.

Where exactly you should install the 'hostname' file depends on the options you built sqwebmail with, or which the packager built it with.

A shortcut is to find your sqwebmaild binary, then use 'strings' on it to find the answer.

$ strings /path/to/sqwebmaild | grep hostname gethostname /etc/linnet/0.HEAD/sqwebmail/hostname <-- that's the answer (for me)

exim: bad -f address "cjackson@ser@abbott-simses.com": malformed address: @abbott-simses.com may not follow cjackson@serval

So the next thing, once you've got the right hostname file, is to ensure that exim "trusts" the sender uid (trusted_users/trusted_groups) to allow it to set the envelope sender with -f.

B. .

That did it. Thanks.