Hi all,
        Another issue from the newbie.  I have sqwebmail running pretty much the
way that I want it; however, I noticed one error that is driving me crazy.
My qmail server is set up such that all of the "local" users (e.g. on my
LAN) use it as an SMTP relay and as a POP-3 host.  So, any time a local user
sends a message (say, with Outlook), the message goes out with a FROM header
that looks like this:

FROM: [EMAIL PROTECTED]

This is fine - exactly what I want.  HOWEVER, when I use the webmail
interface, the FROM header looks like this:

FROM: [EMAIL PROTECTED]

This is a bad thing (as I found out the hard way) because my mail server and
firewall are not set up to accept mail for the domain mail.xxxx.com;
therefore, when I send a message with via sqwebmail and someone replies, the
reply gets bounced.

Now, I read the INSTALL file and found that the configuration file
/usr/local/share/sqwebmail/hostname is supposed to fix this very problem:
<snip>
   /usr/local/share/sqwebmail/hostname - when SqWebMail is installed with
   a  basic  configuration for a single domain, SqWebMail sets the domain
   in  the  return  address  for  outgoing messages to the defined system
   hostname.  If  this file exists it will be used instead of the defined
   system hostname.
<snip>

My mail server's defined hostname is "mail.xxxx.com"; that explains the FROM
header that I didn't like.

So, I created /usr/local/share/sqwebmail/hostname with one line:
xxxx.com

I notice that when I log in via sqwebmail, the banner at the top of the web
page has now changes to read [EMAIL PROTECTED] (it used to read
[EMAIL PROTECTED]), but when I compose a message, the FROM field still says
[EMAIL PROTECTED]

I tried modifying my /etc/host file to remove the mail.xxxx.com entry
(replaced it with just xxxx.com) but this did not help either.

Of course, I can edit the FROM field every time I compose an email message,
but that is cumbersome, and eventually I'd forget to do it.  So, is there
another solution?

Best Regards,

Jason Murray
Senior Design Engineer
[EMAIL PROTECTED]

Promptus Communications, Inc
207 High Point Avenue
Portsmouth, RI 02871
Tel.  +1 401 683 6100 Ext. 450
Fax. +1 401 683 6105
www.promptus.com
  _____

Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not copy or deliver this message to
anyone. In such case, you should destroy this message and kindly notify the
sender by reply email. Please advise immediately if you or your employer do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to the
official business of my firm shall be understood as neither given nor
endorsed by it.



Reply via email to