10 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] <user>@<host> instead...
FromSent OnAttachments
Rainer SiglJul 4, 2006 12:59 pm 
Brian CandlerJul 5, 2006 5:46 am 
Rainer SiglJul 5, 2006 1:23 pm 
Brian CandlerJul 5, 2006 3:29 pm 
Brian CandlerJul 5, 2006 3:40 pm 
Rainer SiglJul 6, 2006 12:51 am 
Brian CandlerJul 6, 2006 1:04 am 
Rainer SiglJul 6, 2006 1:40 am 
Brian CandlerJul 6, 2006 1:45 am 
Rainer SiglJul 6, 2006 3:12 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: [sqwebmail] <user>@<host> instead of <user>@<domain> in envelope sending email with sqwebmail?Actions...
From:Brian Candler (B.Ca@pobox.com)
Date:Jul 6, 2006 1:04:45 am
List:net.sourceforge.lists.courier-sqwebmail

On Thu, Jul 06, 2006 at 09:51:35AM +0200, Rainer Sigl wrote:

I tried to set /usr/lib/courier/sqwebmail/etc/hostname and /etc/hostname. but both files didn't have the desired effect resp. I didn't see any effect..

Debian puts config files in places of its own choosing, so you'll have to find it.

Find your 'sqwebmaild' binary, then run 'strings <file> | grep hostname'. In my case:

$ strings /usr/linnet/0.7.0/libexec/sqwebmail/sqwebmaild | grep hostname gethostname /etc/linnet/0.7.0/sqwebmail/hostname

That shows where it's looking for the file (note that mine is also in a non-standard place). Then create it:

# echo "example.com" >/etc/linnet/0.7.0/sqwebmail/hostname

and also chmod +r <file>

Brian.