Solved

Problems sending mail using dtmail in Solaris 2.6

Posted on 1998-06-11
2
417 Views
Last Modified: 2013-12-16
Hello:

   When I send e-mail with dtmail my address appears  to the receiver like:
user@machine.domainname
   What I need is that it appears like:
user@domainname
   When I use the mailtool of OpenWindows or the command line "mail" command, I get the desired result (meaning that my sendmail.cf is correct, or at least is what I think). If I use dtmail it adds the name of my machine.

  Suggestions any one?
0
Comment
Question by:jlms
2 Comments
 
LVL 1

Accepted Solution

by:
zonker031798 earned 200 total points
ID: 1812140
I suspect that you're correct about your sendmail.cf file;
I agree with your reasoning that since the OpenWindows mailtool
and command-line "Mail" both yield the correct result, that
the "Dj" field in your sendmail.cf is set appropriately.

I`ll bet on this: dtmail has an option on the "advanced"
selection under the "option" menu marked "Host to send
mail from:".  Whatever you have there will take precedence
over what sendmail.cf would supply by default for several
header fields, including "From:" and "Reply-To:".  My
guess is that if you go to that field and fill it in with
user@domainname that this will solve your problem.
0
 
LVL 4

Author Comment

by:jlms
ID: 1812141
You were partially right, I noticed that after setting this field a new variable was set in the .mailrc file. After playing with it for a while I found that this variable should be set as follows:

set smtpmailserver=localhost

for this to work your sendmail.cf should be properly configured, I didin't try assigning a mailhost somewhere else, but most probably it should work.

  It looks like this dtmail does not use sendmail unless this field is set....
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now