Newbie Sendmail Question

dps dan at
Tue Apr 27 14:16:51 PDT 2004

I have somewhat of an easy question regarding sendmail.  I'm sure the
solution is easy, but I just can't seem to figure out what is going on.

First off, I want to say that I have sendmail installed, and it works
properly.  I can send and recieve e-mail from the box no problem.

Basically, my problem has to do with outgoing mail... When I send outgoing
mail, it shows up as being from "User LOGIN" and the host is
"". is the hostname returned when typing
"hostname" from the command prompt.

Here is a partial listing for my zone file for named:

$TTL 3600
@                       SOA   (
                        MX      10
ns                      A
dps                     A
mail                    A

Also, here is:

dps# cat /etc/mail/local-host-names

As you can see,,, are all
bound to the same IP.  So basically, my questions are this:

1) When I send outgoing mail, how do I get the source address to appear as
just as opposed to

2) My user name when i login is "dps" in just all lowercase, but for some
reason, on the inbox of the person I'm sending mail to, it shows up as being
from "User DPS".  Is there a way to change this on a global basis?

Sorry if I am was unclear, I'm not used to posting to this list yet.
Hopefully I gave enough information, however if you have any more questions
or need clarification, feel free to write me back. Cheers!


More information about the freebsd-questions mailing list