On Thu, Nov 02, 2006 at 01:23:13PM -0600, Craig Jackson wrote:
I have created the hostname file so that the domain on outgoing email is
correct. However, the mail from: domain continues to be the host name of
the server. Mail is being bounced by servers that perform DNS lookups.
Why would sqwebmail do this? How do I fix this?
Almost certainly this isn't sqwebmail's fault, but your MTA's. For many
MTAs, if the uid which invokes the MTA is not a "trusted" user then it will
not be able to override the return mail (MAIL FROM).
Try this yourself: login as one of your mail users (or as the virtual
mailbox user if all the mailboxes are owned by the same UID) and type:
sendmail -v -f "yo...@domain.com" some...@elsewhere.com
... type a message
.
You should see that the same problem occurs:
MAIL FROM:<ui...@hostname.domain.com>
If it doesn't, paste the full exact output of what you typed here.
If it does, then you know the problem is MTA configuration. How to change
that depends on your MTA. For example, in exim you need to look for the
"trusted_users" and/or "trusted_groups" options.
HTH,
B.