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.