Andreas Stollar writes:

When composing a message, the "From:" always looks like this:
From: andreas@speakeasy <andreas@webmail>

I think I know where the andreas@speakeasy comes from, that is in LDAP. But I can't figure out where andreas@webmail, specifically the 'webmail' part comes from. The word 'webmail' doesn't even exist in the configuration directory:
[root@dev-webmail root]# cd /usr/local/share/sqwebmail/
[root@dev-webmail sqwebmail]# grep webmail * |grep -v sqwebmail
[root@dev-webmail sqwebmail]# (no match)

Any ideas?
gethostname().

... which should be overriden by /usr/local/share/sqwebmail/hostname, if it exists. If you say that it doesn't, check the permissions on the hostname file. It obviously needs to be world-readable, and as root you're probably using a paranoid umask.




Reply via email to