Solved

Problems sending mail using dtmail in Solaris 2.6

Posted on 1998-06-11
2
422 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.

829 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