Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problems sending mail using dtmail in Solaris 2.6

Posted on 1998-06-11
2
Medium Priority
?
435 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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

876 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